25#if FX_CORE_MODE==FX_CORE_KERNEL_MODE
27#else if ((FX_CORE_MODE)==(FX_CORE_USER_MODE))
32#include "fxdynamics.h"
37#define FX_ENHANCED_VERIFIER_SECTION_NAME WDF_FX_VF_SECTION_NAME
39#define GET_CONTEXT(_objectHandle, _type) \
40 (_type *)VfWdfObjectGetTypedContext(_objectHandle, WDF_GET_CONTEXT_TYPE_INFO(_type));
42#define SET_HOOK_IF_CALLBACK_PRESENT(Source, Target, Name) \
43 if ((Source)-> ## Name != NULL) { \
44 (Target)-> ## Name = Vf ## Name; \
__in WDFOBJECT __in PCWDF_OBJECT_CONTEXT_TYPE_INFO TypeInfo
#define _Must_inspect_result_
VF_COMMON_CONTEXT_HEADER CommonHeader
WDF_PNPPOWER_EVENT_CALLBACKS PnpPowerEventCallbacksOriginal
VF_COMMON_CONTEXT_HEADER CommonHeader
WDF_IO_QUEUE_CONFIG IoQueueConfigOriginal
struct _VF_HOOK_PROCESS_INFO * PVF_HOOK_PROCESS_INFO
struct _VF_HOOK_PROCESS_INFO VF_HOOK_PROCESS_INFO
_Must_inspect_result_ NTSTATUS AddEventHooksWdfIoQueueCreate(__inout PVF_HOOK_PROCESS_INFO HookProcessInfo, __in PWDF_DRIVER_GLOBALS DriverGlobals, __in WDFDEVICE Device, __in PWDF_IO_QUEUE_CONFIG Config, __in PWDF_OBJECT_ATTRIBUTES QueueAttributes, __out WDFQUEUE *Queue)
_Must_inspect_result_ NTSTATUS AddEventHooksWdfDeviceCreate(__inout PVF_HOOK_PROCESS_INFO HookProcessInfo, __in PWDF_DRIVER_GLOBALS DriverGlobals, __in PWDFDEVICE_INIT *DeviceInit, __in PWDF_OBJECT_ATTRIBUTES DeviceAttributes, __out WDFDEVICE *Device)
struct _VF_WDFIOQUEUECREATE_CONTEXT VF_WDFIOQUEUECREATE_CONTEXT
struct _VF_COMMON_CONTEXT_HEADER VF_COMMON_CONTEXT_HEADER
_Must_inspect_result_ NTSTATUS VfAllocateContext(__in PWDF_DRIVER_GLOBALS DriverGlobals, __in PWDF_OBJECT_ATTRIBUTES Attributes, __out PVOID *ContextHeader)
struct _VF_WDFIOQUEUECREATE_CONTEXT * PVF_WDFIOQUEUECREATE_CONTEXT
struct _VF_WDFDEVICECREATE_CONTEXT * PVF_WDFDEVICECREATE_CONTEXT
struct _VF_WDFDEVICECREATE_CONTEXT VF_WDFDEVICECREATE_CONTEXT
_Must_inspect_result_ NTSTATUS VfAddContextToHandle(__in PVOID ContextHeader, __in PWDF_OBJECT_ATTRIBUTES Attributes, __in WDFOBJECT Handle, __out_opt PVOID *Context)
_Must_inspect_result_ PVOID FASTCALL VfWdfObjectGetTypedContext(__in WDFOBJECT Handle, __in PCWDF_OBJECT_CONTEXT_TYPE_INFO TypeInfo)
struct _VF_COMMON_CONTEXT_HEADER * PVF_COMMON_CONTEXT_HEADER
_Must_inspect_result_ _In_ WDFDEVICE Device
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_CHILD_LIST_CONFIG Config
_Must_inspect_result_ _In_ WDFDMAENABLER _In_ _In_opt_ PWDF_OBJECT_ATTRIBUTES Attributes
_In_ PWDFDEVICE_INIT DeviceInit
_Must_inspect_result_ _In_ WDFDEVICE _In_ PIRP _In_ WDFQUEUE Queue
_Must_inspect_result_ _Inout_ PWDFDEVICE_INIT _In_opt_ PWDF_OBJECT_ATTRIBUTES DeviceAttributes
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_IO_QUEUE_CONFIG _In_opt_ PWDF_OBJECT_ATTRIBUTES QueueAttributes
#define WDF_DECLARE_CONTEXT_TYPE(_contexttype)