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 = 0x00000001,
  WdfDriverInitNoDispatchOverride = 0x00000002,
  WdfVerifyOn = 0x00000004,
  WdfVerifierOn = 0x00000008,
  WdfDriverInitCompanion = 0x00000010
} WDF_DRIVER_INIT_FLAGS;

Constants

 
WdfDriverInitNonPnpDriver
Value: 0x00000001
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
Value: 0x00000002
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
Value: 0x00000004
Reserved for system use. Drivers must not use this flag.
WdfVerifierOn
Value: 0x00000008
Reserved for system use. Drivers must not use this flag.
WdfDriverInitCompanion
Value: 0x00000010

Remarks

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

Requirements

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

See also

EvtDriverDeviceAdd

WDF_DRIVER_CONFIG

WdfDriverMiniportUnload