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

# SHGetMenuFromID(3w)

## NAME

**SHGetMenuFromID** (SHLWAPI.192)

## SYNOPSIS

HMENU SHGetMenuFromID\
  (\
   HMENU *hMenu*,\
   UINT  *uID*\
  )

## DESCRIPTION

Get a sub-menu from a menu item.

## PARAMS

*hMenu* **\[In\]**  Menu to get sub-menu from.

*uID* **\[In\]**  Id of menu item containing sub-menu.

## RETURNS

The sub-menu of the item, or a **NULL** handle if any parameters are invalid.

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