Reference

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) to obtain a pointer to the function.

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

Debug channel "shell".

History