Retrieves the suspend count of the thread.
Syntax
HRESULT GetSuspendCount( DWORD *pdwCount );
Parameters
- pdwCount
- [out] Address of an unsigned long integer value that contains the suspend count of the thread.
Return Value
Returns S_OK if successful, or an error code otherwise.