WDFMEMORY_OFFSET structure
[Applies to KMDF and UMDF]
The WDFMEMORY_OFFSET structure identifies a subsection of a memory object's buffer.
Syntax
typedef struct _WDFMEMORY_OFFSET { size_t BufferOffset; size_t BufferLength; } WDFMEMORY_OFFSET, *PWDFMEMORY_OFFSET;
Members
- BufferOffset
- 
A byte offset from the beginning of the memory object's buffer. This offset identifies the location of the buffer's subsection. A value of zero represents the beginning of the buffer. 
- BufferLength
- 
The length, in bytes, of the buffer's subsection. A value of zero represents the entire buffer. 
Remarks
The WDFMEMORY_OFFSET structure is used as a member of the WDF_MEMORY_DESCRIPTOR structure and as an input parameter to various I/O target object methods.
Requirements
| Minimum KMDF version | 1.0 | 
|---|---|
| Minimum UMDF version | 2.0 | 
| Header | 
 | 
See also
        Show:
        
        
    

