IPrintSchemaTicket::ValidateAsync method

Gets an asynchronous PrintTicket validation operation context.

Syntax

HRESULT ValidateAsync(
  IPrintSchemaAsyncOperation **ppAsyncOperation
);

Parameters

ppAsyncOperation

The asynchronous validation operation context.

Return Value

This method returns an HRESULT value.

Remarks

To perform the validation operation, call the IPrintSchemaAsyncOperation::Start method to validate the settings of the current PrintTicket object and to pass the resulting PrintTicket to the IPrintSchemaAsyncOperationEvent::Completed event. When the validation operation is completed, or if an error occurs during the validation operation, the IPrintSchemaAsyncOperationEvent::Completed event is fired. This method will not change the settings of the current PrintTicket object.

Requirements

   
Target Platform Desktop
Header printerextension.h

See Also

IPrintSchemaAsyncOperation

IPrintSchemaAsyncOperation::Start

IPrintSchemaAsyncOperationEvent::Completed

IPrintSchemaTicket