Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
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