WDFMEMORY_OFFSET structure (wudfddi_types.h)
[Warning: UMDF 2 is the latest version of UMDF and supersedes UMDF 1. All new UMDF drivers should be written using UMDF 2. No new features are being added to UMDF 1 and there is limited support for UMDF 1 on newer versions of Windows 10. Universal Windows drivers must use UMDF 2. For more info, see Getting Started with UMDF.]
The WDFMEMORY_OFFSET structure describes the location and size of information that is accessed within a memory block.
Syntax
typedef struct _WDFMEMORY_OFFSET {
ULONG_PTR BufferOffset;
ULONG_PTR BufferLength;
} WDFMEMORY_OFFSET, *PWDFMEMORY_OFFSET;
Members
BufferOffset
The offset, in bytes, into the memory block where information is first accessed.
BufferLength
The size, in bytes, of the information that is accessed in the memory block.
Remarks
A UMDF driver supplies a pointer to a WDFMEMORY_OFFSET structure to the IWDFMemory::CopyFromMemory method to describe information to copy from a memory block.
Requirements
Requirement | Value |
---|---|
Header | wudfddi_types.h (include Wudfddi.h) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for