Bewerken

Delen via


IPrintSchemaTicket::ValidateAsync method (printerextension.h)

Gets an asynchronous PrintTicket validation operation context.

Syntax

HRESULT ValidateAsync(
  [out] IPrintSchemaAsyncOperation **ppAsyncOperation
);

Parameters

[out] 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

Requirement Value
Target Platform Desktop
Header printerextension.h

See also

IPrintSchemaAsyncOperation

IPrintSchemaAsyncOperation::Start

IPrintSchemaAsyncOperationEvent::Completed

IPrintSchemaTicket