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

# SHCheckMenuItem(3w)

## NAME

**SHCheckMenuItem** (SHLWAPI.182)

## SYNOPSIS

DWORD SHCheckMenuItem\
  (\
   HMENU *hMenu*,\
   UINT  *uID*,\
   BOOL  *bCheck*\
  )

## DESCRIPTION

Check or uncheck a menu item.

## PARAMS

*hMenu* **\[In\]**  Menu holding menu item.

*uID* **\[In\]**  Id of menu item to check/uncheck.

*bCheck* **\[In\]**  Whether to check (**TRUE**) or uncheck (**FALSE**) the item.

## RETURNS

The return code from CheckMenuItem.

## IMPLEMENTATION

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

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

Debug channel **"shell"**.
