网站首页  词典首页

请输入您要查询的函数:

 

术语 getmenuinfo
释义 GetMenuInfo
语法:
BOOL GetMenuInfo( HMENU hmenu,
LPCMENUINFO lpcmi
);
GetMenuInfo功能
该GetMenuInfo函数获得一个指定的菜单信息。
参数
hmenu
[in] Handle on a menu.
lpcmi
[out]指向1 MENUINFO结构载有菜单的信息。请注意,您必须设置这个结构的cbSize成员为sizeof在调用这个函数(MENUINFO)。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。
功能信息
最低DLL版本 user32.dll
在Winuser.h中HeaderDeclared,头文件:winuser.h
import libraryUser32.lib
最低经营systemsWindows 98时,Windows 2000
参见
菜单
==英文原文==GetMenuInfo Function
The GetMenuInfo function gets information about a specified menu.
Syntax
BOOL GetMenuInfo( HMENU hmenu,
LPCMENUINFO lpcmi
);
Parameters
hmenu
[in] Handle on a menu.
lpcmi
[out] Pointer to a MENUINFO structure containing information for the menu. Note that you must set the cbSize member of this structure to sizeof(MENUINFO) before calling this function.
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 .
Function Information
Minimum DLL Versionuser32.dll
HeaderDeclared in Winuser.h, include Windows.h
Import libraryUser32.lib
Minimum operating systemsWindows 98, Windows 2000
See Also
Menus
==原始网址==http://msdn.microsoft.com/en-us/library/ms647977(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 13:19:43