Expand Minimize

IPrinterQueue interface

Represents a single printer queue.

Members

The IPrinterQueue interface inherits from the IDispatch interface. IPrinterQueue also has these types of members:

Methods

The IPrinterQueue interface has these methods.

MethodDescription
GetProperties

Gets the properties in the property bag for the queue.

SendBidiQuery

Performs an asynchronous refresh operation with the specified query, and invokes the IPrinterQueueEvent::OnBidiResponseReceived method.

 

Properties

The IPrinterQueue interface has these properties.

PropertyAccess typeDescription

Handle

Read-only

Gets the underlying native handle for this print queue.

Name

Read-only

Gets the name of the printer for this print queue.

 

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

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Printerextension.h

See also

IConnectionPoint
IPrinterQueueEvent

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft