Provides a mechanism for the caller to run code in the application thread.
HRESULT SynchronousCallIntoThread( IDebugThreadCall* pstcb, DWORD_PTR dwParam1, DWORD_PTR dwParam2, DWORD_PTR dwParam3 );
- pstcb
[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. |
This method provides a mechanism for the caller to run code in the debugger thread. Language engines and hosts typically use this method to implement free-threaded objects on top of their single threaded implementations.