The IPrinterExtensionManager interface is retrieved by CoCreating the PrinterExtensionManager class.
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.|
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.