Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IPrintSchemaTicket::CommitAsync method

Gets an asynchronous PrintTicket commit operation context.

Syntax


HRESULT CommitAsync(
  [in]  IPrintSchemaTicket         *pPrintTicketCommit,
  [out] IPrintSchemaAsyncOperation **ppAsyncOperation
);

Parameters

pPrintTicketCommit [in]

The print ticket to commit.

ppAsyncOperation [out]

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.

See also

IPrintSchemaTicket
IPrintSchemaAsyncOperation::Start
IPrintSchemaAsyncOperationEvent::Completed

 

 

Send comments about this topic to Microsoft

Show:
© 2017 Microsoft