Gets an asynchronous PrintTicket commit operation context.
HRESULT CommitAsync( [in] IPrintSchemaTicket *pPrintTicketCommit, [out] IPrintSchemaAsyncOperation **ppAsyncOperation );
- pPrintTicketCommit [in]
The print ticket to commit.
- ppAsyncOperation [out]
The asynchronous commit operation context.
This method returns an HRESULT value.
To perform the commit operation, call the IPrintSchemaAsyncOperation::Start method to validate the given pPrintTicketCommit and then apply the validated PrintTicket settings to the current PrintTicket object. When the commit operation is completed or if an error occurs during the commit operation, the IPrintSchemaAsyncOperationEvent::Completed event is fired.