GetInfofunction
Gets information for a specified menu.
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.
Syntax
FUNCTION GetInfo (BYVAL hMenu AS HMENU, BYVAL pmi AS MENUINFO PTR) AS BOOLEAN
FUNCTION GetInfo (BYVAL hMenu AS HMENU, BYREF mi AS MENUINFO) AS BOOLEAN
Parameters
| Name | Description | |
|---|---|---|
hWin | A handle to the window or dialog whose menu handle is to be retrieved. | |
pmi | A pointer to a MENUINFO structure containing information for the menu. | |
mi | A pointer to a MENUINFO structure containing information for the menu. |
Return value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
The third overloaded function returns a MENUINFO directly.
Description
Gets information for a specified menu.
Reference
- Documented in Windows/WIndows Controls/CMenu Class.md
- Topic: About Menus