// wudfddi_types.h
typedef enum _WDF_CALLBACK_CONSTRAINT {
None,
WdfDeviceLevel,
WdfLevelReserved,
WdfLevelMaximum
} WDF_CALLBACK_CONSTRAINT;
View the official Windows Driver Kit DDI referenceNo description available.
NoneNo callback functions into the driver are synchronized. The driver must handle all synchronization.
WdfDeviceLevelAll callback functions into the driver that are associated with the device are synchronized, including all callback functions that are associated with I/O queues. Only one event handler that is associated with the device can run at any given time.
WdfLevelReservedReserved.
WdfLevelMaximumNote that the above locking models apply only for I/O (that is, open, read, write, and device I/O control) operations and not for Plug and Play (PnP) and power management notifications.