CoSwitchCallContext3w
Usage
HRESULT CoSwitchCallContext
(
IUnknown* pObject,
IUnknown** ppOldObject
)
Overview
Switches the context of the currently executing server call in the current thread.
Params
pObject [In] Pointer to new context object.
ppOldObject [Out] Pointer to memory that will receive old context object pointer.
Returns
Success: S_OK.
Failure: HRESULT code.
Implementation
Declared in "objbase.h".
Implemented in "dlls/ole32/compobj.c".
Debug channel "ole".