WDFMEMORY_OFFSET structure

[Applies to UMDF 1.x only]

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

Header

Wudfddi.h (include Wudfddi.h)

See also

IWDFMemory::CopyFromMemory

 

 

Send comments about this topic to Microsoft

Show: