---
name: "SHGlobalCounterCreate"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/SHGlobalCounterCreate"
---

# SHGlobalCounterCreate(3w)

## NAME

**SHGlobalCounterCreate** (SHLWAPI.222)

## SYNOPSIS

HANDLE SHGlobalCounterCreate\
  (\
   REFGUID *guid*\
  )

## DESCRIPTION

Create a semaphore using the name of a **GUID**.

## PARAMS

*guid* **\[In\]**  **GUID** to use as semaphore name.

## RETURNS

A handle to the semaphore.

## NOTES

The initial count of the semaphore is set to **0.**

## 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"**.
