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.
| Method | Description |
|---|---|
| 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.
| Property | Description |
|---|---|
|
Gets the underlying native handle for this print queue. | |
|
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 |
|
See also
Send comments about this topic to Microsoft
Build date: 11/28/2012
