78 "WDFDEVICE %p, WDF_QUERY_INTERFACE_CONFIG Size %d, expected %d, "
93 "SendQueryToParentStack TRUE, but WDFDEVICE %p not a PDO, %!STATUS!",
116 "WDFDEVICE %p, SendQueryToParentStack is FALSE and "
117 "InterfaceConfig->ImportInterface is FALSE, %!STATUS!",
134 "WDFDEVICE %p, ImportInterface is TRUE and "
135 "EvtDeviceProcessQueryInterfaceRequest is NULL, %!STATUS!",
150 "WDFDEVICE %p, Interface size %d < sizeof(INTERFACE) (%d), "
170 "WDFDEVICE %p, object creation failed, %!STATUS!",
Device,
status);
187 "WDFDEVICE %p, interface allocation failed, %!STATUS!",
static VOID STDCALL _InterfaceDereferenceNoOp(__in_opt PVOID Context)
__inline BOOLEAN IsPdo(VOID)
static VOID STDCALL _InterfaceReferenceNoOp(__in_opt PVOID Context)
VOID AddQueryInterface(__in FxQueryInterface *QI, __in BOOLEAN Lock)
#define NT_SUCCESS(StatCode)
#define __drv_maxIRQL(irql)
DoTraceLevelMessage(pFxDriverGlobals, TRACE_LEVEL_VERBOSE, TRACINGPNP, "Enter, WDFDEVICE %p", Device)
PFX_DRIVER_GLOBALS pFxDriverGlobals
__inline PFX_DRIVER_GLOBALS GetFxDriverGlobals(__in PWDF_DRIVER_GLOBALS DriverGlobals)
#define FxPointerNotNull(FxDriverGlobals, Ptr)
FxQueryInterface * pQueryInterface
_Must_inspect_result_ __in WDFDEVICE __in PWDF_QUERY_INTERFACE_CONFIG InterfaceConfig
FxObjectHandleGetPtrAndGlobals(GetFxDriverGlobals(DriverGlobals), Device, FX_TYPE_DEVICE,(PVOID *) &pDevice, &pFxDriverGlobals)
_Must_inspect_result_ __in WDFDEVICE Device
__inline NTSTATUS FxVerifierCheckIrqlLevel(__in PFX_DRIVER_GLOBALS FxDriverGlobals, __in KIRQL Irql)
#define _Must_inspect_result_
struct _INTERFACE * PINTERFACE
#define TRACE_LEVEL_ERROR
PINTERFACE_REFERENCE InterfaceReference
PINTERFACE_DEREFERENCE InterfaceDereference
#define RtlCopyMemory(Destination, Source, Length)
#define STATUS_INVALID_PARAMETER
#define STATUS_INFO_LENGTH_MISMATCH
#define STATUS_INSUFFICIENT_RESOURCES
_Must_inspect_result_ _In_ WDFDEVICE Device
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_QUERY_INTERFACE_CONFIG InterfaceConfig