IPXV_Inst::AsyncDoAndWaitForFinish Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT AsyncDoAndWaitForFinish([in]                  IOperation*  pOp,
+
<pre class="brush:cpp;gutter:false">HRESULT AsyncDoAndWaitForFinish([in]                  IOperation*  Op,
                                 [in, defaultvalue(0)]  ULONG        nOpExecFlags);</pre>
+
                                 [in, defaultvalue(0)]  ULONG        OpExecFlags);</pre>
  
 
== Parameters ==
 
== Parameters ==
;pOp
+
;Op
 
:[in]  Pointer to [[PXV:IOperation|IOperation]] object. The [[PXV:IOperation_Do|IOperation::Do]] function will be called in background thread.
 
:[in]  Pointer to [[PXV:IOperation|IOperation]] object. The [[PXV:IOperation_Do|IOperation::Do]] function will be called in background thread.
;nOpExecFlags
+
;OpExecFlags
 
:[in, defaultvalue(0)]  The set of [[PXV:OpExecFlags|OpExecFlags]]. This parameter is optional and can be <tt>0</tt>.
 
:[in, defaultvalue(0)]  The set of [[PXV:OpExecFlags|OpExecFlags]]. This parameter is optional and can be <tt>0</tt>.
  

Revision as of 07:31, 12 June 2015


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*  Op,
                                [in, defaultvalue(0)]  ULONG        OpExecFlags);

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.

Return Value

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

See Also

IPXV_Inst, IPXV_Inst::AsyncDo