IPrintSchemaTicket::CommitAsync method (printerextension.h)
Gets an asynchronous PrintTicket commit operation context.
Syntax
HRESULT CommitAsync(
[in] IPrintSchemaTicket *pPrintTicketCommit,
[out] IPrintSchemaAsyncOperation **ppAsyncOperation
);
Parameters
[in] pPrintTicketCommit
The print ticket to commit.
[out] ppAsyncOperation
The asynchronous commit operation context.
Return value
This method returns an HRESULT value.
Remarks
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.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | printerextension.h |
See also
IPrintSchemaAsyncOperation::Start
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for