IDebugProviderProgramNode2::UnmarshalDebuggeeInterface
Obtains a specified interface across process boundaries.
HRESULT UnmarshalDebuggeeInterface(
REFIID riid,
void** ppvObject
);
int UnmarshalDebuggeeInterface(
ref Guid riid,
out IntPtr ppvObject
);
Parameters
riid
[in] GUID of the interface to obtain.ppvObject
[out] Returns the object implementing the desired interface. [C++] this can be cast directly to the desired interface type. [C#] use the GetObjectForIUnknown method to get the desired interface.
Return Value
If successful, returns S_OK; otherwise, returns an error code.
Remarks
This method is used when the debug engine is running in the Visual Studio process space and the program being debugged is running in its own process space.