27#include "FxRequestApiUm.tmh"
87 "ImpersonationLevel is not a valid level, %!STATUS!",
96 "EvtRequestImpersonate must not be NULL, %!STATUS!",
105 "Enter: WDFREQUEST 0x%p",
Request);
118WDFEXPORT(WdfRequestGetRequestorProcessId)(
159 "Enter: WDFREQUEST 0x%p",
Request);
166 "WDFREQUEST is already completed 0x%p, %!STATUS!",
172 return irp->GetRequestorProcessId();
178WDFEXPORT(WdfRequestIsFromUserModeDriver)(
201 "Enter: WDFREQUEST 0x%p",
Request);
208 "WDFREQUEST is already completed 0x%p, %!STATUS!",
220WDFEXPORT(WdfRequestSetUserModeDriverInitiatedIo)(
245 "Enter: WDFREQUEST 0x%p",
Request);
252 "WDFREQUEST is already completed 0x%p, %!STATUS!",
266WDFEXPORT(WdfRequestGetUserModeDriverInitiatedIo)(
289 "Enter: WDFREQUEST 0x%p",
Request);
296 "WDFREQUEST is already completed 0x%p, %!STATUS!",
334 "Enter: WDFREQUEST 0x%p",
Request);
341 "WDFREQUEST is already completed 0x%p, %!STATUS!",
380 "Enter: WDFREQUEST 0x%p",
Request);
387 "WDFREQUEST is already completed 0x%p, %!STATUS!",
396 "WDFREQUEST 0x%p Activity ID is not set for the "
433 "Enter: WDFREQUEST 0x%p",
Request);
440 "WDFREQUEST is already completed 0x%p, %!STATUS!",
IWudfIoIrp * GetIoIrp(VOID)
_Must_inspect_result_ NTSTATUS GetIrp(__deref_out MdIrp *ppIrp)
_Must_inspect_result_ NTSTATUS Impersonate(_In_ SECURITY_IMPERSONATION_LEVEL ImpersonationLevel, _In_ PFN_WDF_REQUEST_IMPERSONATE EvtRequestImpersonate, _In_opt_ PVOID Context)
#define NT_SUCCESS(StatCode)
#define _IRQL_requires_max_(irql)
DoTraceLevelMessage(pFxDriverGlobals, TRACE_LEVEL_VERBOSE, TRACINGPNP, "Enter, WDFDEVICE %p", Device)
PFX_DRIVER_GLOBALS pFxDriverGlobals
FxVerifierDbgBreakPoint(pFxDriverGlobals)
__inline PFX_DRIVER_GLOBALS GetFxDriverGlobals(__in PWDF_DRIVER_GLOBALS DriverGlobals)
#define FxPointerNotNull(FxDriverGlobals, Ptr)
_Must_inspect_result_ _In_ WDFREQUEST Request
_In_ WDFREQUEST _In_ LPGUID ActivityId
FxObjectHandleGetPtrAndGlobals(GetFxDriverGlobals(DriverGlobals), Request, FX_TYPE_REQUEST,(PVOID *)&pRequest, &pFxDriverGlobals)
_Must_inspect_result_ _In_ WDFREQUEST _In_ SECURITY_IMPERSONATION_LEVEL ImpersonationLevel
_Must_inspect_result_ _In_ WDFREQUEST _In_ SECURITY_IMPERSONATION_LEVEL _In_ PFN_WDF_REQUEST_IMPERSONATE _In_opt_ PVOID Context
_Must_inspect_result_ _In_ WDFREQUEST _In_ SECURITY_IMPERSONATION_LEVEL _In_ PFN_WDF_REQUEST_IMPERSONATE EvtRequestImpersonate
_In_ WDFREQUEST _In_ BOOLEAN IsUserModeDriverInitiated
enum _SECURITY_IMPERSONATION_LEVEL SECURITY_IMPERSONATION_LEVEL
#define _Must_inspect_result_
#define TRACE_LEVEL_VERBOSE
#define TRACE_LEVEL_ERROR
#define STATUS_INVALID_DEVICE_REQUEST
#define STATUS_INVALID_PARAMETER
enum _WDF_DEVICE_IO_TYPE WDF_DEVICE_IO_TYPE
#define VALID_IMPERSONATION_LEVEL(Level)