IPrinterQueue interface (printerextension.h)

Represents a single printer queue.

Inheritance

The IPrinterQueue interface inherits from the IDispatch interface.

Methods

The IPrinterQueue interface has these methods.

 
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.

Remarks

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.

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.

Requirements

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

See also

IConnectionPoint

IPrinterQueueEvent