Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
The GetNumberThreads method returns the number of threads in the current process.
Syntax
HRESULT GetNumberThreads(
[out] PULONG Number
);
Parameters
[out] Number
Receives the number of threads in the current process.
Return value
This method may also return error values. See Return Values for more details.
| Return code | Description |
|---|---|
|
The method was successful. |
Remarks
In kernel-mode debugging, there is a virtual thread representing each processor.
In user-mode debugging, the number of threads changes with the IDebugEventCallbacks::CreateThread and IDebugEventCallbacks::ExitThread events.
For more information about threads, see Threads and Processes.
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Desktop |
| Header | dbgeng.h (include Dbgeng.h) |