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

# SHEnableMenuItem(3w)

## NAME

**SHEnableMenuItem** (SHLWAPI.181)

## SYNOPSIS

UINT SHEnableMenuItem\
  (\
   HMENU *hMenu*,\
   UINT  *wItemID*,\
   BOOL  *bEnable*\
  )

## DESCRIPTION

Enable or disable a menu item.

## PARAMS

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

uID **\[In\]**  Id of menu item to enable/disable.

*bEnable* **\[In\]**  Whether to enable (**TRUE**) or disable (**FALSE**) the item.

## RETURNS

The return code from EnableMenuItem.

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