IPXV_Inst::AsyncDoAndWaitForFinish Method

From PDF XChange PDF SDK
Revision as of 14:34, 24 May 2015 by Pifagor (Talk | contribs)

Jump to: navigation, search


This method executes the specified operation in background thread and waits(with UI-messages pumping) in caller's thread for finish of work.

Syntax

HRESULT AsyncDoAndWaitForFinish([in]                   IOperation*  pOp,
                                [in, defaultvalue(0)]  ULONG        nOpExecFlags);

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.

Return Value

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

See Also

IPXV_Inst, IPXV_Inst::AsyncDo