ReactOS 0.4.16-dev-334-g4d9f67c
|
Go to the source code of this file.
Functions | |
_Must_inspect_result_ | __drv_maxIRQL (DISPATCH_LEVEL) WDFAPI NTSTATUS STDCALL WDFEXPORT(WdfMemoryCreatePreallocated)(__in PWDF_DRIVER_GLOBALS DriverGlobals |
_Must_inspect_result_ __in_opt PWDF_OBJECT_ATTRIBUTES __in PVOID __in | __drv_when (BufferSize==0, __drv_reportError(BufferSize cannot be zero)) size_t BufferSize |
if (NT_SUCCESS(FxValidateObjectAttributesForParentHandle(pFxDriverGlobals, Attributes))) | |
FxPointerNotNull (pFxDriverGlobals, Buffer) | |
FxPointerNotNull (pFxDriverGlobals, PMemory) | |
if (BufferSize==0) | |
if (!NT_SUCCESS(status)) | |
if (pBuffer==NULL) | |
if (NT_SUCCESS(status)) | |
_Must_inspect_result_ _In_ WDFMEMORY _Pre_notnull_ | _Pre_writable_byte_size_ (BufferSize) PVOID Buffer |
_Must_inspect_result_ __drv_maxIRQL | ( | DISPATCH_LEVEL | ) |
_Must_inspect_result_ __in_opt PWDF_OBJECT_ATTRIBUTES __in PVOID __in __drv_when | ( | BufferSize | = = 0 , |
__drv_reportError(BufferSize cannot be zero) | |||
) |
Definition at line 149 of file fxmemorybufferpreallocatedapi.cpp.
_Must_inspect_result_ _In_ WDFMEMORY _Pre_notnull_ _Pre_writable_byte_size_ | ( | BufferSize | ) |
FxPointerNotNull | ( | pFxDriverGlobals | , |
Buffer | |||
) |
FxPointerNotNull | ( | pFxDriverGlobals | , |
PMemory | |||
) |
if | ( | ! | NT_SUCCESSstatus | ) |
Definition at line 113 of file fxmemorybufferpreallocatedapi.cpp.
if | ( | BufferSize | = = 0 | ) |
Definition at line 105 of file fxmemorybufferpreallocatedapi.cpp.
Definition at line 89 of file fxmemorybufferpreallocatedapi.cpp.
if | ( | NT_SUCCESS(status) | ) |
Definition at line 126 of file fxmemorybufferpreallocatedapi.cpp.
Definition at line 120 of file fxmemorybufferpreallocatedapi.cpp.
Definition at line 42 of file fxmemorybufferpreallocatedapi.cpp.
Definition at line 44 of file fxmemorybufferpreallocatedapi.cpp.
else |
Definition at line 129 of file fxmemorybufferpreallocatedapi.cpp.
WDFMEMORY hMemory |
Definition at line 81 of file fxmemorybufferpreallocatedapi.cpp.
Referenced by if().
_Must_inspect_result_ _In_ WDFMEMORY Memory |
Definition at line 145 of file fxmemorybufferpreallocatedapi.cpp.
pBuffer |
Definition at line 80 of file fxmemorybufferpreallocatedapi.cpp.
pFxDriverGlobals = GetFxDriverGlobals(DriverGlobals) |
Definition at line 79 of file fxmemorybufferpreallocatedapi.cpp.
Referenced by __drv_when(), and if().
* PMemory |
Definition at line 49 of file fxmemorybufferpreallocatedapi.cpp.
Referenced by if().
Definition at line 82 of file fxmemorybufferpreallocatedapi.cpp.
Referenced by __drv_when(), and if().