IPrinterExtensionManager Interface

The IPrinterExtensionManager interface is retrieved by CoCreating the PrinterExtensionManager class.

This interface has two methods:

DisableEvents

EnableEvents

Remarks

Any event sink that implements IPrinterExtensionEvent is connected to the associated event source, IPrinterExtensionManager, via the IConnectionPoint mechanism. You must retrieve a pointer to the IConnectionPoint interface by invoking QueryInterface on the IPrinterExtensionManager object.

Note  It is mandatory to implement IDispatch::Invoke on the event sink that implements IPrinterExtensionEvent, 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.

Related topics

IConnectionPoint
IPrinterExtensionEvent

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft