IPXV_Inst::ThreadSafeCall Method

From PDF XChange PDF SDK
Revision as of 19:25, 26 May 2015 by Pifagor (Talk | contribs)

Jump to: navigation, search


Executes the method OnThreadSafeCall of passed IPXV_ThreadSafeCallback object and ensures it will be called in the 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 OnThreadSafeCall will be finished.

Return Value

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

See Also

IPXV_Inst