Note
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier les répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de changer de répertoire.
Returns an operating-system-dependent identifier associated with the thread.
Syntax
HRESULT GetSystemThreadId(
DWORD* dwThreadId
);
Parameters
dwThreadId
[out] An operating-system-dependent identifier associated with the thread.
Return Value
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. |
Remarks
The value of dwThreadId does not need to be unique across machines.