IPrintSchemaAsyncOperation interface (printerextension.h)

Represents an asynchronous operation context for validation, merge or commit operations.

Inheritance

The IPrintSchemaAsyncOperation interface inherits from the IDispatch interface.

Methods

The IPrintSchemaAsyncOperation interface has these methods.

 
IPrintSchemaAsyncOperation::Cancel

Cancels the asynchronous PrintSchema operation.
IPrintSchemaAsyncOperation::Start

Starts the asynchronous PrintSchema operation.

Remarks

Any event sink that implements IPrintSchemaAsyncOperationEvent is connected to the associated event source, IPrintSchemaAsyncOperation, 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

IPrintSchemaAsyncOperationEvent