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) |