WDF_MEMORY_DESCRIPTOR_TYPE enumeration (wdfmemory.h)
[Applies to KMDF and UMDF]
The WDF_MEMORY_DESCRIPTOR_TYPE enumeration identifies the types of memory descriptions that a WDF_MEMORY_DESCRIPTOR structure can specify.
Syntax
typedef enum _WDF_MEMORY_DESCRIPTOR_TYPE {
WdfMemoryDescriptorTypeInvalid = 0,
WdfMemoryDescriptorTypeBuffer,
WdfMemoryDescriptorTypeMdl,
WdfMemoryDescriptorTypeHandle
} WDF_MEMORY_DESCRIPTOR_TYPE;
Constants
WdfMemoryDescriptorTypeInvalid Value: 0 Reserved for internal use only. |
WdfMemoryDescriptorTypeBuffer The WDF_MEMORY_DESCRIPTOR structure contains a buffer description. |
WdfMemoryDescriptorTypeMdl The WDF_MEMORY_DESCRIPTOR structure contains a memory descriptor list (MDL). |
WdfMemoryDescriptorTypeHandle The WDF_MEMORY_DESCRIPTOR structure contains a handle to a memory object. |
Requirements
Requirement | Value |
---|---|
Minimum KMDF version | 1.0 |
Minimum UMDF version | 2.0 |
Header | wdfmemory.h (include Wdf.h) |