SHGlobalCounterGetValue function (shlwapi.h)

Gets the current value of a global counter.

Syntax

long SHGlobalCounterGetValue(
  [in] const SHGLOBALCOUNTER id
);

Parameters

[in] id

Type: const SHGLOBALCOUNTER

The SHGLOBALCOUNTER for which to retrieve the current value.

Return value

Type: long

The current value of the counter.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header shlwapi.h
DLL Shlwapi.dll

See also

SHGLOBALCOUNTER

SHGlobalCounterDecrement

SHGlobalCounterIncrement