36 #define WDF_EXTERN_C extern "C"
37 #define WDF_EXTERN_C_START extern "C" {
38 #define WDF_EXTERN_C_END }
41 #define WDF_EXTERN_C_START
42 #define WDF_EXTERN_C_END
50#if (NTDDI_VERSION >= NTDDI_WIN2K)
207(
STDCALL *PFN_WDFMEMORYCREATEPREALLOCATED)(
225WdfMemoryCreatePreallocated(
247(
STDCALL *PFN_WDFMEMORYGETBUFFER)(
277(
STDCALL *PFN_WDFMEMORYASSIGNBUFFER)(
293WdfMemoryAssignBuffer(
314(
STDCALL *PFN_WDFMEMORYCOPYTOBUFFER)(
325 size_t NumBytesToCopyTo
332WdfMemoryCopyToBuffer(
341 size_t NumBytesToCopyTo
355(
STDCALL *PFN_WDFMEMORYCOPYFROMBUFFER)(
366 size_t NumBytesToCopyFrom
373WdfMemoryCopyFromBuffer(
382 size_t NumBytesToCopyFrom
397(
STDCALL *PFN_WDFLOOKASIDELISTCREATE)(
421WdfLookasideListCreate(
449(
STDCALL *PFN_WDFMEMORYCREATEFROMLOOKASIDE)(
462WdfMemoryCreateFromLookaside(
#define __drv_reportError(why)
#define _Must_inspect_result_
#define _Strict_type_match_
PWDFMEMORY_OFFSET Offsets
WDF_MEMORY_DESCRIPTOR_TYPE Type
struct _WDF_MEMORY_DESCRIPTOR::@3869::@3872 HandleType
struct _WDF_MEMORY_DESCRIPTOR::@3869::@3871 MdlType
struct _WDF_MEMORY_DESCRIPTOR::@3869::@3870 BufferType
union _WDF_MEMORY_DESCRIPTOR::@3869 u
#define RtlZeroMemory(Destination, Length)
_Must_inspect_result_ _In_ WDFDMAENABLER _In_ _In_opt_ PWDF_OBJECT_ATTRIBUTES Attributes
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ _Strict_type_match_ POOL_TYPE PoolType
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG BufferLength
_In_ WDFDEVICE _In_ PVOID _In_opt_ PMDL Mdl
PWDF_DRIVER_GLOBALS WdfDriverGlobals
@ WdfMemoryCopyToBufferTableIndex
@ WdfMemoryGetBufferTableIndex
@ WdfMemoryCopyFromBufferTableIndex
@ WdfMemoryCreateFromLookasideTableIndex
@ WdfMemoryAssignBufferTableIndex
@ WdfMemoryCreateTableIndex
@ WdfMemoryCreatePreallocatedTableIndex
@ WdfLookasideListCreateTableIndex
FORCEINLINE VOID WDF_MEMORY_DESCRIPTOR_INIT_BUFFER(_Out_ PWDF_MEMORY_DESCRIPTOR Descriptor, _In_ PVOID Buffer, _In_ ULONG BufferLength)
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ __drv_aliasesMem PVOID Buffer
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ _In_ _Strict_type_match_ POOL_TYPE _In_opt_ PWDF_OBJECT_ATTRIBUTES MemoryAttributes
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES Attributes
_Must_inspect_result_ _In_ WDFMEMORY SourceMemory
FORCEINLINE VOID WDF_MEMORY_DESCRIPTOR_INIT_MDL(_Out_ PWDF_MEMORY_DESCRIPTOR Descriptor, _In_ PMDL Mdl, _In_ ULONG BufferLength)
struct _WDF_MEMORY_DESCRIPTOR * PWDF_MEMORY_DESCRIPTOR
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ _Strict_type_match_ POOL_TYPE _In_opt_ ULONG _In_ _Out_ WDFMEMORY * Memory
_In_ WDFMEMORY _Out_opt_ size_t * BufferSize
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ _Strict_type_match_ POOL_TYPE _In_opt_ ULONG _In_ _Out_ WDFMEMORY _Outptr_opt_result_bytebuffer_(BufferSize) PVOID *Buffer)
_Must_inspect_result_ _In_ WDFMEMORY _In_ size_t SourceOffset
#define WDF_EXTERN_C_START
_Must_inspect_result_ _In_ WDFMEMORY _Pre_notnull_ _Pre_writable_byte_size_(BufferSize) PVOID Buffer
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ _Strict_type_match_ POOL_TYPE PoolType
struct _WDFMEMORY_OFFSET * PWDFMEMORY_OFFSET
struct _WDFMEMORY_OFFSET WDFMEMORY_OFFSET
_Must_inspect_result_ _In_ WDFMEMORY _In_ size_t DestinationOffset
_Must_inspect_result_ _In_ WDFMEMORY DestinationMemory
_Must_inspect_result_ _In_ WDFMEMORY _In_ size_t _Out_writes_bytes_(NumBytesToCopyTo) PVOID Buffer
_WDF_MEMORY_DESCRIPTOR_TYPE
@ WdfMemoryDescriptorTypeInvalid
@ WdfMemoryDescriptorTypeBuffer
@ WdfMemoryDescriptorTypeHandle
@ WdfMemoryDescriptorTypeMdl
FORCEINLINE VOID WDF_MEMORY_DESCRIPTOR_INIT_HANDLE(_Out_ PWDF_MEMORY_DESCRIPTOR Descriptor, _In_ WDFMEMORY Memory, _In_opt_ PWDFMEMORY_OFFSET Offsets)
_Must_inspect_result_ _When_(PoolType==1||PoolType==257, _IRQL_requires_max_(APC_LEVEL)) _When_(PoolType
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ _In_ _Strict_type_match_ POOL_TYPE _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_opt_ ULONG _Out_ WDFLOOKASIDE * Lookaside
struct _WDF_MEMORY_DESCRIPTOR WDF_MEMORY_DESCRIPTOR
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ _Strict_type_match_ POOL_TYPE _In_opt_ ULONG PoolTag
WDF_EXTERN_C_START enum _WDF_MEMORY_DESCRIPTOR_TYPE WDF_MEMORY_DESCRIPTOR_TYPE
_Must_inspect_result_ _IRQL_requires_max_(DISPATCH_LEVEL)) WDFAPI NTSTATUS(STDCALL *PFN_WDFMEMORYCREATE)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES LookasideAttributes
_Must_inspect_result_ _In_ WDFIORESLIST _In_ PIO_RESOURCE_DESCRIPTOR Descriptor