Is there a way to request the number of threads that are currently running for a specific process using the standard Windows C / C ++ APIs?
I have already made my way through MSDN docs, but the only thing approaching is
BOOL WINAPI GetProcessHandleCount( __in HANDLE hProcess, __inout PDWORD pdwHandleCount );
which requests the number of system descriptors currently used by this process, which will include thread handles, but will not be limited to them.
Any ideas would be appreciated.
Thanks in advance.
Bjorn
c ++ c winapi
Bjoern
source share