---
name: "_SHGlobalCounterDecrement"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "0.9.25-2.1"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/_SHGlobalCounterDecrement"
---

# \_SHGlobalCounterDecrement(3w)

## NAME

**\_SHGlobalCounterDecrement** (SHLWAPI.424)

## SYNOPSIS

DWORD \_SHGlobalCounterDecrement\
  (\
   HANDLE *hSem*\
  )

## DESCRIPTION

Release a semaphore.

## PARAMS

*hSem* **\[In\]**  Semaphore handle.

## RETURNS

The new count of the semaphore.

## IMPLEMENTATION

Exported by ordinal only. Use **[GetProcAddress(3w)](/GetProcAddress/3w.md)** to obtain a pointer to the function.

Implemented in **"dlls/shlwapi/thread.c"**.

Debug channel **"shell"**.
