Partager via


ICLRDataTarget::GetCurrentThreadID, méthode

Mise à jour : novembre 2007

Obtient l'identificateur de système d'exploitation pour le thread actuel.

HRESULT GetCurrentThreadID (
    [out] ULONG32    *threadID
);

Paramètres

  • threadID
    [out] Pointeur vers l'identificateur de système d'exploitation du thread actuel du processus cible.

Notes

S'il n'existe aucun thread actuel pour le processus cible, la méthode GetCurrentThreadID peut échouer.

Configuration requise

Plateformes : consultez Configuration requise du .NET Framework.

En-tête : ClrData.idl

Bibliothèque : CorGuids.lib

Versions du .NET Framework : 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

Voir aussi

Référence

ICLRDataTarget