SHGlobalCounterIncrement function (shlwapi.h)

Increments a global counter.

Syntax

long SHGlobalCounterIncrement(
  [in] const SHGLOBALCOUNTER id
);

Parameters

[in] id

Type: const SHGLOBALCOUNTER

The SHGLOBALCOUNTER to increment.

Return value

Type: long

The value of the counter after the increment.

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

SHGlobalCounterGetValue