The IsMenu function determines whether a handle is a menu handle.
BOOL IsMenu(
HMENU hMenu // handle to test
);
If hMenu is a menu handle, the return value is nonzero.
If hMenu is not a menu handle, the return value is zero.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in winuser.h.
Import Library: Use user32.lib.
Menus Overview, Menu Functions