WDF_DRIVER_INIT_FLAGS enumeration

[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
} 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.

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

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft