IPrintSchemaAsyncOperationEvent interface (printerextension.h)

Exposes a validation, merge, or commit completion event delegate.

Inheritance

The IPrintSchemaAsyncOperationEvent interface inherits from the IDispatch interface.

Methods

The IPrintSchemaAsyncOperationEvent interface has these methods.

 
IPrintSchemaAsyncOperationEvent::Completed

Is called when asynchronous PrintSchema operation that is represented by an IPrintSchemaAsyncOperation context is completed.

Remarks

An event sink that implements IPrintSchemaAsyncOperationEvent and the event source, IPrintSchemaAsyncOperation 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

See also

IConnectionPoint

IPrintSchemaAsyncOperation