IPXV_Inst::AsyncDoAndWaitForFinish Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXV_Inst::AsyncDoAndWaitForFinish Method}}
 
{{#customTitle:IPXV_Inst::AsyncDoAndWaitForFinish Method}}
{{#parentPage:PXV:IPXV_Inst|method}}
+
{{#parentPage:PXV:IPXV_Inst#Methods|AsyncDoAndWaitForFinish|method}}
{{ToWrite}}
+
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
This method executes the specified operation in background thread and waits(with UI-messages pumping) in caller's thread for finish of work.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT AsyncDoAndWaitForFinish([in] IOperation* pOp, [in, defaultvalue(0)] ULONG nOpExecFlags);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT AsyncDoAndWaitForFinish([in]                   IOperation* pOp,
 +
                                [in, defaultvalue(0)] ULONG       nOpExecFlags);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pOp''
+
;pOp
:[in]  Pointer to [[PXV:IOperation|IOperation]].
+
:[in]  Pointer to [[PXV:IOperation|IOperation]] object. The [[PXV:IOperation_Do|IOperation::Do]] function will be called in background thread.
;''nOpExecFlags''
+
;nOpExecFlags
:[in, defaultvalue(0)]  Value of ULONG.
+
:[in, defaultvalue(0)]  The set of [[PXV:OpExecFlags|OpExecFlags]]. This parameter is optional and can be <tt>0</tt>.
  
 
== Return Value ==
 
== Return Value ==
Line 20: Line 21:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IPXV_Inst|IPXV_Inst]].
+
[[PXV:IPXV_Inst|IPXV_Inst]], [[PXV:IPXV_Inst_AsyncDo|IPXV_Inst::AsyncDo]]

Latest revision as of 03:55, 15 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*  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