Gets a value that indicates whether the specified thread has been suspended as a result of the debugger stopping this process.
HRESULT IsOSSuspended( [in] DWORD threadID, [out] BOOL *pbSuspended);
[in] The ID of thread in question.
[out] A pointer to a Boolean value that is
true if the specified thread has been suspended; otherwise *
When the specified thread has been suspended as a result of the debugger stopping this process, the specified thread's Win32 suspend count is incremented by one. The debugger user interface (UI) may want to take this information into account if it displays the operating system (OS) suspend count of the thread to the user.
IsOSSuspended method makes sense only in the context of unmanaged debugging. During managed debugging, threads are cooperatively suspended rather than OS-suspended.
Platforms: See System Requirements.
Header: CorDebug.idl, CorDebug.h
.NET Framework Versions: Available since 1.0