IPXV_Inst::ThreadSafeCall Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
Line 3: | Line 3: | ||
{{#customTitle:IPXV_Inst::ThreadSafeCall Method}} | {{#customTitle:IPXV_Inst::ThreadSafeCall Method}} | ||
{{#parentPage:PXV:IPXV_Inst#Methods|ThreadSafeCall|method}} | {{#parentPage:PXV:IPXV_Inst#Methods|ThreadSafeCall|method}} | ||
− | |||
{{ToReview}} | {{ToReview}} | ||
− | + | Executes the [[PXV:IPXV_ThreadSafeCallback_OnThreadSafeCall|IPXV_ThreadSafeCallback::OnThreadSafeCall]] in main thread. | |
== Syntax == | == Syntax == | ||
Line 14: | Line 13: | ||
== Parameters == | == Parameters == | ||
;pCb | ;pCb | ||
− | :[in] Pointer to [[PXV:IPXV_ThreadSafeCallback|IPXV_ThreadSafeCallback]]. | + | :[in] Pointer to [[PXV:IPXV_ThreadSafeCallback|IPXV_ThreadSafeCallback]] interface. |
;bWaitWithMsgLoop | ;bWaitWithMsgLoop | ||
− | :[in, defaultvalue(0)] | + | :[in, defaultvalue(0)] Specify <tt>true</tt> value to make call asynchronous but with message-loop inside caller's thread until method [[PXV:IPXV_ThreadSafeCallback_OnThreadSafeCall|IPXV_ThreadSafeCallback::OnThreadSafeCall]] will be finished. |
== Return Value == | == Return Value == |
Revision as of 18:16, 26 May 2015
Executes the IPXV_ThreadSafeCallback::OnThreadSafeCall in main thread.
Syntax
HRESULT ThreadSafeCall([in] IPXV_ThreadSafeCallback* pCb, [in, defaultvalue(0)] VARIANT_BOOL bWaitWithMsgLoop);
Parameters
- pCb
- [in] Pointer to IPXV_ThreadSafeCallback interface.
- bWaitWithMsgLoop
- [in, defaultvalue(0)] Specify true value to make call asynchronous but with message-loop inside caller's thread until method IPXV_ThreadSafeCallback::OnThreadSafeCall will be finished.
Return Value
Returns S_OK if operation was successful or error code in other cases.