IPXV_Inst::AsyncDo Method

From PDF XChange PDF SDK
Jump to: navigation, search
Line 24: Line 24:
  
 
== See Also ==
 
== See Also ==
[[PXV:IPXV_Inst|IPXV_Inst]]
+
[[PXV:IPXV_Inst|IPXV_Inst]], [[PXV:IPXV_Inst_AsyncDoAndWaitForFinish|IPXV_Inst::AsyncDoAndWaitForFinish]]

Revision as of 14:27, 24 May 2015


This method executes operation in background thread.

Syntax

HRESULT AsyncDo([in]                      IOperation*            pOp,
                [in, defaultvalue(0)]     ULONG                  nOpExecFlags,
                [in, defaultvalue(NULL)]  IPXV_AsyncDoCallback*  pAsyncDoCb);

Parameters

pOp
[in] Pointer to IOperation object. The IOperation::Do function will be called in background thread.
nOpExecFlags
[in, defaultvalue(0)] The set of OpExecFlags. This parameter is optional and can be 0.
pAsyncDoCb
[in, defaultvalue(NULL)] Pointer to IPXV_AsyncDoCallback. You may implement object with this callback interface and pass there to catch moment when your specified operation is started/finished in the background thread. This parameter is optional and can be NULL.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IPXV_Inst, IPXV_Inst::AsyncDoAndWaitForFinish