IPrinterQueue interface

Represents a single printer queue.

Methods

The IPrinterQueue interface has these methods.

Method Description
printerextension.IPrinterQueue.get_Handle Gets the underlying native handle for this print queue.
printerextension.IPrinterQueue.get_Name Gets the name of the printer for this print queue.
printerextension.IPrinterQueue.GetProperties Gets the properties in the property bag for the queue.
printerextension.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.

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.

Requirements

   
Windows version Windows 8 Windows 8
Target Platform Windows
Header printerextension.h

See Also

IPrinterQueueEvent

IConnectionPoint

Send comments about this topic to Microsoft