Fonction SHGlobalCounterGetValue (shlwapi.h)

Obtient la valeur actuelle d’un compteur global.

Syntaxe

long SHGlobalCounterGetValue(
  [in] const SHGLOBALCOUNTER id
);

Paramètres

[in] id

Type : const SHGLOBALCOUNTER

SHGLOBALCOUNTER pour lequel récupérer la valeur actuelle.

Valeur retournée

Type : long

Valeur actuelle du compteur.

Configuration requise

Condition requise Valeur
Client minimal pris en charge Windows 7 [applications de bureau uniquement]
Serveur minimal pris en charge Windows Server 2008 R2 [applications de bureau uniquement]
Plateforme cible Windows
En-tête shlwapi.h
DLL Shlwapi.dll

Voir aussi

SHGLOBALCOUNTER

SHGlobalCounterDecrement

SHGlobalCounterIncrement