BOOL IsMenu(hmenu) | ||||
HMENU hmenu; | /* handle of menu, */ |
The IsMenu function determines whether the given handle is a menu handle.
hmenu
Identifies the handle to be tested.
The return value is zero if the handle is definitely not a menu handle. A nonzero return value does not guarantee that the handle is a menu handle, however; for nonzero return values, the application should conduct further tests to verify the handle.
An application should use this function only to ensure that a given handle is not a menu handle.