Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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::Start