Edit

Share via


MN_GETHMENU message

Retrieves the menu handle for the current window.

#define MN_GETHMENU                     0x01E1

Parameters

wParam

This parameter is not used.

lParam

This parameter is not used.

Return value

Type: HMENU

If successful, the return value is the HMENU for the current window. If it fails, the return value is NULL.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Winuser.h (include Windows.h)