Bewerken

Delen via


wdfdriver.h header

This header is used by wdf. For more information, see:

wdfdriver.h contains the following programming interfaces:

Functions

 
WDF_DRIVER_CONFIG_INIT

The WDF_DRIVER_CONFIG_INIT function initializes a driver's WDF_DRIVER_CONFIG structure.
WDF_DRIVER_VERSION_AVAILABLE_PARAMS_INIT

The WDF_DRIVER_VERSION_AVAILABLE_PARAMS_INIT function initializes a WDF_DRIVER_VERSION_AVAILABLE_PARAMS structure.
WdfDriverCreate

The WdfDriverCreate method creates a framework driver object for the calling driver.
WdfDriverErrorReportApiMissing

Learn more about: WdfDriverErrorReportApiMissing function
WdfDriverGetRegistryPath

The WdfDriverGetRegistryPath method retrieves the path to the driver's registry key in the registry's Services tree.
WdfDriverIsVersionAvailable

The WdfDriverIsVersionAvailable method returns a Boolean value that indicates whether the driver is running with a specified version of the Kernel-Mode Driver Framework library.
WdfDriverOpenParametersRegistryKey

The WdfDriverOpenParametersRegistryKey method opens the driver's Parameters registry key and retrieves a handle to a framework registry-key object that represents the key.
WdfDriverOpenPersistentStateRegistryKey

Learn more about: WdfDriverOpenPersistentStateRegistryKey
WdfDriverRegisterTraceInfo

The WdfDriverRegisterTraceInfo method is reserved for internal use only.
WdfDriverRetrieveDriverDataDirectoryString

Learn more about: WdfDriverRetrieveDriverDataDirectoryString function
WdfDriverRetrieveVersionString

The WdfDriverRetrieveVersionString method retrieves a Unicode string that identifies the version of the Kernel-Mode Driver Framework that the driver is running with.
WdfDriverWdmGetDriverObject

The WdfDriverWdmGetDriverObject method retrieves a pointer to the Windows Driver Model (WDM) driver object that is associated with a specified framework driver object.
WdfGetDriver

The WdfGetDriver method returns a handle to the framework driver object that represents the calling driver.
WdfWdmDriverGetWdfDriverHandle

The WdfWdmDriverGetWdfDriverHandle method returns a handle to the framework driver object that is associated with a specified Windows Driver Model (WDM) driver object.

Callback functions

 
EVT_WDF_DRIVER_DEVICE_ADD

A driver's EvtDriverDeviceAdd event callback function performs device initialization operations when the Plug and Play (PnP) manager reports the existence of a device.
EVT_WDF_DRIVER_UNLOAD

A driver's EvtDriverUnload event callback function performs operations that must take place before the driver is unloaded.

Structures

 
WDF_DRIVER_CONFIG

The WDF_DRIVER_CONFIG structure is an input parameter to WdfDriverCreate.
WDF_DRIVER_VERSION_AVAILABLE_PARAMS

The WDF_DRIVER_VERSION_AVAILABLE_PARAMS structure specifies major and minor version numbers for the Kernel-Mode Driver Framework's library.

Enumerations

 
WDF_DRIVER_INIT_FLAGS

The WDF_DRIVER_INIT_FLAGS enumeration specifies driver initialization flags.