IPrinterQueueEvent interface (printerextension.h)
Provides the event delegate for printer queue events.
Inheritance
The IPrinterQueueEvent interface inherits from the IDispatch interface.
Methods
The IPrinterQueueEvent interface has these methods.
IPrinterQueueEvent::OnBidiResponseReceived Called when a bidi response is received. |
Remarks
An event sink that implements IPrinterQueueEvent and the event source, IPrinterQueue are connected 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 |