WDF_DRIVER_INIT_FLAGS enumeration (wdfdriver.h)

[Applies to KMDF and UMDF]

The WDF_DRIVER_INIT_FLAGS enumeration specifies driver initialization flags.

Syntax

typedef enum _WDF_DRIVER_INIT_FLAGS {
  WdfDriverInitNonPnpDriver,
  WdfDriverInitNoDispatchOverride,
  WdfVerifyOn,
  WdfVerifierOn,
  WdfDriverInitCompanion
} WDF_DRIVER_INIT_FLAGS;

Constants

 
WdfDriverInitNonPnpDriver
The driver does not support Plug and Play (PnP). If this value is set, the driver must not supply an EvtDriverDeviceAdd callback function. For more information about non-PnP drivers, see Using Kernel-Mode Driver Framework with Non-PnP Drivers.
WdfDriverInitNoDispatchOverride
The driver is a miniport driver and, therefore, the framework must not provide dispatch routines for the driver. In other words, the framework must not intercept I/O request packets (IRPs) that the I/O manager has directed to the driver. In addition, the driver must call WdfDriverMiniportUnload when the port driver informs the miniport driver that it is about to be unloaded. For more information about this flag and how to write framework-based miniport drivers, see Using Kernel-Mode Driver Framework with Miniport Drivers.
WdfVerifyOn
Reserved for system use. Drivers must not use this flag.
WdfVerifierOn
Reserved for system use. Drivers must not use this flag.
WdfDriverInitCompanion

Remarks

The WDF_DRIVER_INIT_FLAGS enumeration is used to specify the value for the DriverInitFlags member of the WDF_DRIVER_CONFIG structure.

Requirements

   
Minimum KMDF version 1.0
Minimum UMDF version 2.0
Header wdfdriver.h (include Wdf.h)

See also

EvtDriverDeviceAdd

WDF_DRIVER_CONFIG

WdfDriverMiniportUnload