ReactOS 0.4.16-dev-974-g5022a45
|
#include "fxsupportpch.hpp"
Go to the source code of this file.
Functions | |
_Must_inspect_result_ | __drv_maxIRQL (PASSIVE_LEVEL) NTSTATUS STDCALL WDFEXPORT(WdfStringCreate)(__in PWDF_DRIVER_GLOBALS DriverGlobals |
if (NT_SUCCESS(FxValidateObjectAttributesForParentHandle(pFxDriverGlobals, StringAttributes))) | |
FxPointerNotNull (pFxDriverGlobals, String) | |
if (!NT_SUCCESS(status)) | |
if (UnicodeString !=NULL) | |
if (pString !=NULL) | |
DoTraceLevelMessage (pFxDriverGlobals, TRACE_LEVEL_ERROR, TRACINGERROR, "Could not allocate WDFSTRING handle, %!STATUS!", status) | |
FxObjectHandleGetPtrAndGlobals (GetFxDriverGlobals(DriverGlobals), String, FX_TYPE_STRING,(PVOID *) &pString, &pFxDriverGlobals) | |
FxPointerNotNull (pFxDriverGlobals, UnicodeString) | |
RtlCopyMemory (UnicodeString, pString->GetUnicodeString(), sizeof(UNICODE_STRING)) | |
_Must_inspect_result_ __drv_maxIRQL | ( | PASSIVE_LEVEL | ) |
DoTraceLevelMessage | ( | pFxDriverGlobals | , |
TRACE_LEVEL_ERROR | , | ||
TRACINGERROR | , | ||
"Could not allocate WDFSTRING | handle, | ||
%!STATUS!" | , | ||
status | |||
) |
FxObjectHandleGetPtrAndGlobals | ( | GetFxDriverGlobals(DriverGlobals) | , |
String | , | ||
FX_TYPE_STRING | , | ||
(PVOID *) & | pString, | ||
& | pFxDriverGlobals | ||
) |
Referenced by if().
FxPointerNotNull | ( | pFxDriverGlobals | , |
String | |||
) |
FxPointerNotNull | ( | pFxDriverGlobals | , |
UnicodeString | |||
) |
if | ( | ! | NT_SUCCESSstatus | ) |
Definition at line 75 of file fxstringapi.cpp.
Definition at line 59 of file fxstringapi.cpp.
Definition at line 93 of file fxstringapi.cpp.
if | ( | UnicodeString ! | = NULL | ) |
Definition at line 84 of file fxstringapi.cpp.
RtlCopyMemory | ( | UnicodeString | , |
pString-> | GetUnicodeString(), | ||
sizeof(UNICODE_STRING) | |||
) |
else |
Definition at line 107 of file fxstringapi.cpp.
PFX_DRIVER_GLOBALS pFxDriverGlobals = GetFxDriverGlobals(DriverGlobals) |
Definition at line 50 of file fxstringapi.cpp.
Referenced by if().
FxString* pString = new (pFxDriverGlobals, StringAttributes) FxString(pFxDriverGlobals) |
Definition at line 51 of file fxstringapi.cpp.
Referenced by if().
Definition at line 52 of file fxstringapi.cpp.
Referenced by if().
Definition at line 45 of file fxstringapi.cpp.
Referenced by if().
_Must_inspect_result_ __in_opt PCUNICODE_STRING __in_opt PWDF_OBJECT_ATTRIBUTES StringAttributes |
Definition at line 43 of file fxstringapi.cpp.
Referenced by if().
__in WDFSTRING __out PUNICODE_STRING UnicodeString |
Definition at line 41 of file fxstringapi.cpp.