---
name: "_SHGlobalCounterCreate"
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/_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"**.
