IPrinterQueue interface

Represents a single printer queue.


The IPrinterQueue interface has these methods.

Method Description
IPrinterQueue::get_Handle Gets the underlying native handle for this print queue.
IPrinterQueue::get_Name Gets the name of the printer for this print queue.
IPrinterQueue::GetProperties Gets the properties in the property bag for the queue.
IPrinterQueue::SendBidiQuery Performs an asynchronous refresh operation with the specified query, and invokes the IPrinterQueueEvent::OnBidiResponseReceived method.


Any event sink that implements IPrinterQueueEvent is connected to the associated event source, IPrinterQueue, via the IConnectionPoint mechanism. You must retrieve a pointer to the IConnectionPoint interface by invoking QueryInterface on the IPrinterQueue object.

Note  It is mandatory to implement IDispatch::Invoke on the event sink that implements IPrinterQueueEvent, since that is the mechanism via which events are raised. It is sufficient to provide stub implementations of the other methods on the IDispatch interface.


Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Windows
Header printerextension.h

See Also