VOID
KeInitializeDeviceQueue(
IN PKDEVICE_QUEUE DeviceQueue
);
KeInitializeDeviceQueue initializes a device queue object to a Not-Busy state.
Parameters
DeviceQueue
Points to a device queue object for which the caller provides the storage.
Comments
The device queue object is initialized and the state of the device queue is set to Not-Busy.
Device drivers should initialize their kernel-defined objects within their respective DriverEntry routines at IRQL PASSIVE_LEVEL. Storage for the device queue object must be resident: in the device extension of a driver-created device object, in the controller extension of a driver-created controller object, or in nonpaged pool allocated by the caller.
See Also
KeInsertByKeyDeviceQueue, KeInsertDeviceQueue, KeRemoveDeviceQueue, KeRemoveEntryDeviceQueue