Provides a mechanism for the caller to run code in the debugger thread.
HRESULT SynchronousCallInDebuggerThread( IDebugThreadCall* pptc, DWORD_PTR dwParam1, DWORD_PTR dwParam2, DWORD_PTR dwParam3 );
- pptc
[in] The object to call.
- dwParam1
[in] First parameter to pass to the IDebugThreadCall::ThreadCallHandler method.
- dwParam2
[in] Second parameter to pass to the IDebugThreadCall::ThreadCallHandler method.
- dwParam3
[in] Third parameter to pass to the IDebugThreadCall::ThreadCallHandler method.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Value | Description |
---|---|
S_OK | The method succeeded. |
Language engines and hosts typically use this method to implement free-threaded objects on top of their single threaded implementations.