ReactOS
0.4.15-dev-2329-g3ad573f
|
Go to the source code of this file.
Classes | |
struct | _WDFMEMORY_OFFSET |
struct | _WDF_MEMORY_DESCRIPTOR |
Macros | |
#define | WDF_EXTERN_C |
#define | WDF_EXTERN_C_START |
#define | WDF_EXTERN_C_END |
Enumerations | |
enum | _WDF_MEMORY_DESCRIPTOR_TYPE { WdfMemoryDescriptorTypeInvalid = 0, WdfMemoryDescriptorTypeBuffer, WdfMemoryDescriptorTypeMdl, WdfMemoryDescriptorTypeHandle } |
#define WDF_EXTERN_C |
Definition at line 40 of file wdfmemory.h.
#define WDF_EXTERN_C_END |
Definition at line 42 of file wdfmemory.h.
#define WDF_EXTERN_C_START |
Definition at line 41 of file wdfmemory.h.
typedef _Must_inspect_result_ _IRQL_requires_max_(DISPATCH_LEVEL) WDFAPI NTSTATUS(STDCALL *PFN_WDFMEMORYCREATEFROMLOOKASIDE)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals |
Definition at line 152 of file wdfmemory.h.
typedef _Must_inspect_result_ _In_ WDFMEMORY _In_ size_t _Out_writes_bytes_(NumBytesToCopyTo) PVOID Buffer |
Definition at line 321 of file wdfmemory.h.
typedef _Must_inspect_result_ _In_ WDFUSBDEVICE _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ ULONG _Out_ WDFMEMORY _Outptr_opt_result_bytebuffer_(GET_ISO_URB_SIZE(NumberOfIsochPackets)) PURB *Urb) |
Definition at line 170 of file wdfmemory.h.
typedef _Must_inspect_result_ _In_ WDFMEMORY _Pre_notnull_ _Pre_writable_byte_size_(BufferSize) PVOID Buffer |
Definition at line 282 of file wdfmemory.h.
typedef _Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ _When_(BufferSize==0, __drv_reportError(BufferSize cannot be zero)) size_t BufferSize == 0 || PoolType == 256 |
Definition at line 151 of file wdfmemory.h.
Definition at line 159 of file wdfmemory.h.
Definition at line 211 of file wdfmemory.h.
Definition at line 251 of file wdfmemory.h.
typedef _Must_inspect_result_ _In_ WDFMEMORY DestinationMemory |
Definition at line 359 of file wdfmemory.h.
Definition at line 359 of file wdfmemory.h.
_Must_inspect_result_ _In_ WDFLOOKASIDE Lookaside |
Definition at line 407 of file wdfmemory.h.
Definition at line 401 of file wdfmemory.h.
_Must_inspect_result_ _In_ WDFUSBDEVICE _In_ WDFREQUEST _In_ WDFMEMORY Memory |
Definition at line 169 of file wdfmemory.h.
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _In_ _Strict_type_match_ POOL_TYPE _In_opt_ PWDF_OBJECT_ATTRIBUTES MemoryAttributes |
Definition at line 407 of file wdfmemory.h.
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ _In_ _Strict_type_match_ POOL_TYPE _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_opt_ ULONG PoolTag |
Definition at line 159 of file wdfmemory.h.
Definition at line 159 of file wdfmemory.h.
typedef struct _WDFMEMORY_OFFSET * PWDFMEMORY_OFFSET |
typedef _Must_inspect_result_ _In_ WDFMEMORY SourceMemory |
Definition at line 318 of file wdfmemory.h.
Definition at line 318 of file wdfmemory.h.
typedef struct _WDFMEMORY_OFFSET WDFMEMORY_OFFSET |
Enumerator | |
---|---|
WdfMemoryDescriptorTypeInvalid | |
WdfMemoryDescriptorTypeBuffer | |
WdfMemoryDescriptorTypeMdl | |
WdfMemoryDescriptorTypeHandle |
Definition at line 52 of file wdfmemory.h.
_Must_inspect_result_ _IRQL_requires_max_ | ( | DISPATCH_LEVEL | ) |
Definition at line 3557 of file common.c.
_Must_inspect_result_ _In_ size_t _Out_writes_bytes_ | ( | NumBytesToCopyTo | ) |
_Must_inspect_result_ _In_ _Strict_type_match_ POOL_TYPE _In_opt_ ULONG _In_ _Out_ WDFMEMORY _Outptr_opt_result_bytebuffer_ | ( | BufferSize | ) |
Definition at line 192 of file wdfmemory.h.
_Must_inspect_result_ _Pre_notnull_ _Pre_writable_byte_size_ | ( | BufferSize | ) |
_Must_inspect_result_ _When_ | ( | PoolType | = = 1 || PoolType == 257 , |
_IRQL_requires_max_(APC_LEVEL) | |||
) |
_Must_inspect_result_ _In_ _Strict_type_match_ POOL_TYPE _In_opt_ ULONG _In_ _When_ | ( | BufferSize | = = 0 , |
__drv_reportError(BufferSize cannot be zero) | |||
) |
Definition at line 299 of file wdfmemory.h.
_Must_inspect_result_ _In_ size_t _In_ _When_ | ( | NumBytesToCopyTo | = = 0 , |
__drv_reportError(NumBytesToCopyTo cannot be zero) | |||
) |
Definition at line 340 of file wdfmemory.h.
_Must_inspect_result_ _In_ size_t _In_ PVOID _In_ _When_ | ( | NumBytesToCopyFrom | = = 0 , |
__drv_reportError(NumBytesToCopyFrom cannot be zero) | |||
) |
Definition at line 381 of file wdfmemory.h.
FORCEINLINE VOID WDF_MEMORY_DESCRIPTOR_INIT_BUFFER | ( | _Out_ PWDF_MEMORY_DESCRIPTOR | Descriptor, |
_In_ PVOID | Buffer, | ||
_In_ ULONG | BufferLength | ||
) |
Definition at line 102 of file wdfmemory.h.
Referenced by _IRQL_requires_max_().
FORCEINLINE VOID WDF_MEMORY_DESCRIPTOR_INIT_HANDLE | ( | _Out_ PWDF_MEMORY_DESCRIPTOR | Descriptor, |
_In_ WDFMEMORY | Memory, | ||
_In_opt_ PWDFMEMORY_OFFSET | Offsets | ||
) |
Definition at line 117 of file wdfmemory.h.
FORCEINLINE VOID WDF_MEMORY_DESCRIPTOR_INIT_MDL | ( | _Out_ PWDF_MEMORY_DESCRIPTOR | Descriptor, |
_In_ PMDL | Mdl, | ||
_In_ ULONG | BufferLength | ||
) |
Definition at line 133 of file wdfmemory.h.