IPXV_Inst::AsyncDo Method

From PDF XChange PDF SDK
Revision as of 07:31, 12 June 2015 by Dsbot (Talk | contribs) (Automatic page editing by robot)

Jump to: navigation, search


This method executes the specified operation in background thread.

Syntax

HRESULT AsyncDo([in]                      IOperation*            Op,
                [in, defaultvalue(0)]     ULONG                  OpExecFlags,
                [in, defaultvalue(NULL)]  IPXV_AsyncDoCallback*  AsyncDoCb);

Parameters

Op
[in] Pointer to IOperation object. The IOperation::Do function will be called in background thread.
OpExecFlags
[in, defaultvalue(0)] The set of OpExecFlags. This parameter is optional and can be 0.
AsyncDoCb
[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