IPrinterExtensionManager interface (printerextension.h)

The IPrinterExtensionManager interface is retrieved by CoCreating the PrinterExtensionManager class.

Inheritance

The IPrinterExtensionManager interface inherits from the IUnknown interface.

Methods

The IPrinterExtensionManager interface has these methods.

 
IPrinterExtensionManager::DisableEvents

Disallows events to be generated.
IPrinterExtensionManager::EnableEvents

The EnableEvents method allows events to be generated for the specified printer driver until DisableEvents is called.

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.

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.

Requirements

Requirement Value
Target Platform Windows
Header printerextension.h