Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IPrintSchemaTicket::ValidateAsync method

Gets an asynchronous PrintTicket validation operation context.

Syntax


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

Parameters

ppAsyncOperation [out]

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.

See also

IPrintSchemaTicket
IPrintSchemaAsyncOperation
IPrintSchemaAsyncOperation::Start
IPrintSchemaAsyncOperationEvent::Completed

 

 

Send comments about this topic to Microsoft

Show:
© 2017 Microsoft