34 #define WDF_EXTERN_C extern "C"
35 #define WDF_EXTERN_C_START extern "C" {
36 #define WDF_EXTERN_C_END }
39 #define WDF_EXTERN_C_START
40 #define WDF_EXTERN_C_END
48#if (NTDDI_VERSION >= NTDDI_WIN2K)
59#define WDF_TRACE_ID ('TRAC')
71EVT_WDF_DRIVER_DEVICE_ADD(
103EVT_WDF_TRACE_CALLBACK(
156 Config->EvtDriverDeviceAdd = EvtDriverDeviceAdd;
251(
STDCALL *PFN_WDFDRIVERGETREGISTRYPATH)(
261WdfDriverGetRegistryPath(
276(
STDCALL *PFN_WDFDRIVERWDMGETDRIVEROBJECT)(
286WdfDriverWdmGetDriverObject(
302(
STDCALL *PFN_WDFDRIVEROPENPARAMETERSREGISTRYKEY)(
319WdfDriverOpenParametersRegistryKey(
340(
STDCALL *PFN_WDFWDMDRIVERGETWDFDRIVERHANDLE)(
350WdfWdmDriverGetWdfDriverHandle(
366(
STDCALL *PFN_WDFDRIVERREGISTERTRACEINFO)(
381WdfDriverRegisterTraceInfo(
401(
STDCALL *PFN_WDFDRIVERRETRIEVEVERSIONSTRING)(
414WdfDriverRetrieveVersionString(
432(
STDCALL *PFN_WDFDRIVERISVERSIONAVAILABLE)(
445WdfDriverIsVersionAvailable(
#define _IRQL_requires_same_
#define _Function_class_(x)
#define _Must_inspect_result_
PFN_WDF_DRIVER_DEVICE_ADD EvtDriverDeviceAdd
PFN_WDF_DRIVER_UNLOAD EvtDriverUnload
#define RtlZeroMemory(Destination, Length)
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_CHILD_LIST_CONFIG Config
_Must_inspect_result_ _In_ WDFDRIVER Driver
_In_ PWDFDEVICE_INIT DeviceInit
_Must_inspect_result_ _In_ WDFDEVICE _In_ ULONG _In_ ACCESS_MASK _In_opt_ PWDF_OBJECT_ATTRIBUTES KeyAttributes
_Must_inspect_result_ _In_ WDFDEVICE _In_ ULONG _In_ ACCESS_MASK DesiredAccess
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
_Must_inspect_result_ _In_ PDRIVER_OBJECT _In_ PCUNICODE_STRING _In_opt_ PWDF_OBJECT_ATTRIBUTES DriverAttributes
_In_opt_ PVOID _In_ ULONG _Inout_updates_bytes_(bufferLength) PVOID buffer
struct _WDF_DRIVER_CONFIG * PWDF_DRIVER_CONFIG
_Must_inspect_result_ _In_ PDRIVER_OBJECT _In_ PFN_WDF_TRACE_CALLBACK _In_ PVOID ControlBlock
struct _WDF_DRIVER_CONFIG WDF_DRIVER_CONFIG
WDF_EXTERN_C_START enum _WDF_DRIVER_INIT_FLAGS WDF_DRIVER_INIT_FLAGS
EVT_WDF_DRIVER_DEVICE_ADD * PFN_WDF_DRIVER_DEVICE_ADD
_Must_inspect_result_ _In_ PDRIVER_OBJECT _In_ PCUNICODE_STRING RegistryPath
struct _WDF_DRIVER_VERSION_AVAILABLE_PARAMS * PWDF_DRIVER_VERSION_AVAILABLE_PARAMS
_Must_inspect_result_ _In_ WDFDRIVER _In_ ACCESS_MASK _In_opt_ PWDF_OBJECT_ATTRIBUTES KeyAttributes
struct _WDF_DRIVER_VERSION_AVAILABLE_PARAMS WDF_DRIVER_VERSION_AVAILABLE_PARAMS
_Must_inspect_result_ _In_ PDRIVER_OBJECT _In_ PCUNICODE_STRING _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ PWDF_DRIVER_CONFIG DriverConfig
FORCEINLINE WDFDRIVER WdfGetDriver(VOID)
_Must_inspect_result_ _In_ WDFDRIVER _In_ PWDF_DRIVER_VERSION_AVAILABLE_PARAMS VersionAvailableParams
_Must_inspect_result_ _IRQL_requires_max_(PASSIVE_LEVEL) WDFAPI NTSTATUS(STDCALL *PFN_WDFDRIVERCREATE)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals
EVT_WDF_TRACE_CALLBACK * PFN_WDF_TRACE_CALLBACK
#define WDF_EXTERN_C_START
EVT_WDF_DRIVER_UNLOAD * PFN_WDF_DRIVER_UNLOAD
_Must_inspect_result_ _In_ WDFDRIVER _In_ ACCESS_MASK DesiredAccess
@ WdfDriverInitNonPnpDriver
@ WdfDriverInitNoDispatchOverride
FORCEINLINE VOID WDF_DRIVER_VERSION_AVAILABLE_PARAMS_INIT(_Out_ PWDF_DRIVER_VERSION_AVAILABLE_PARAMS Params, _In_ ULONG MajorVersion, _In_ ULONG MinorVersion)
_Must_inspect_result_ _In_ WDFDRIVER _In_ WDFSTRING String
_Must_inspect_result_ _In_ PDRIVER_OBJECT _In_ PFN_WDF_TRACE_CALLBACK EvtTraceCallback
_Must_inspect_result_ _In_ PDRIVER_OBJECT DriverObject
_Must_inspect_result_ _In_ WDFDRIVER _In_ ACCESS_MASK _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFKEY * Key
_In_opt_ PVOID _In_ ULONG bufferLength
_Must_inspect_result_ _In_ PDRIVER_OBJECT _In_ PCUNICODE_STRING _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ PWDF_DRIVER_CONFIG _Out_opt_ WDFDRIVER * Driver
FORCEINLINE VOID WDF_DRIVER_CONFIG_INIT(_Out_ PWDF_DRIVER_CONFIG Config, _In_opt_ PFN_WDF_DRIVER_DEVICE_ADD EvtDriverDeviceAdd)
PWDF_DRIVER_GLOBALS WdfDriverGlobals
@ WdfDriverGetRegistryPathTableIndex
@ WdfDriverOpenParametersRegistryKeyTableIndex
@ WdfDriverIsVersionAvailableTableIndex
@ WdfWdmDriverGetWdfDriverHandleTableIndex
@ WdfDriverWdmGetDriverObjectTableIndex
@ WdfDriverRetrieveVersionStringTableIndex
@ WdfDriverCreateTableIndex
@ WdfDriverRegisterTraceInfoTableIndex
_In_ WDFIOTARGET _In_ PWDF_REQUEST_COMPLETION_PARAMS Params
struct _DRIVER_OBJECT * PDRIVER_OBJECT