Hardware Dev Center

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:
© 2015 Microsoft