KeInitializeDeviceQueue - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdm.h

VOID KeInitializeDeviceQueue(
  [out] PKDEVICE_QUEUE DeviceQueue
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdm-keinitializedevicequeue)

KeInitializeDeviceQueue function

Description

The KeInitializeDeviceQueue routine initializes a device queue object to a not-busy state.

Parameters

DeviceQueue [out]

Pointer to a device queue object for which the caller provides the storage.

Remarks

KeInitializeDeviceQueue initializes the specified device queue and sets its state to not-busy.

A driver should call KeInitializeDeviceQueue from its AddDevice routine after creating the device object for the associated device. 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