Reference

SHRemoveAllSubMenus(3w)

NAME

SHRemoveAllSubMenus (SHLWAPI.180)

SYNOPSIS

DWORD SHRemoveAllSubMenus
(
HMENU hMenu
)

DESCRIPTION

Remove all sub-menus from a menu.

PARAMS

hMenu [In] Menu to remove sub-menus from.

RETURNS

Success: 0. All sub-menus under hMenu are removed

Failure: -1, if any parameter is invalid

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