• WinAPI: 菜单函数汇总


    function LoadMenu(
      hInstance: HINST; {}
      lpMenuName: PChar {}
    ): HMENU;           {}
    
    function LoadMenuIndirect( lpMenuTemplate: Pointer {} ): HMENU; {}
    function GetMenu( hWnd: HWND {} ): HMENU; {}
    function SetMenu( hWnd: HWND; {} hMenu: HMENU {} ): BOOL; {}
    function ChangeMenu( hMenu: HMENU; {} cmd: UINT; {} lpszNewItem: PChar; {} cmdInsert: UINT; {} flags: UINT {} ): BOOL; {}
    function HiliteMenuItem( hWnd: HWND; {} hMenu: HMENU; {} uIDHiliteItem: UINT; {} uHilite: UINT {} ): BOOL; {}
    function GetMenuString( hMenu: HMENU; {} uIDItem: UINT; {} lpString: PChar; {} nMaxCount: Integer; {} uFlag: UINT {} ): Integer; {}
    function GetMenuState( hMenu: HMENU; {} uId, uFlags: UINT {} ): UINT; {}
    function DrawMenuBar( hWnd: HWND {} ): BOOL; {}
    function GetSystemMenu( hWnd: HWND; {} bRevert: BOOL {} ): HMENU; {}
    function CreateMenu: HMENU; {}
    function CreatePopupMenu: HMENU; {}
    function DestroyMenu( hMenu: HMENU {} ): BOOL; {}
    function CheckMenuItem( hMenu: HMENU; {} uIDCheckItem, uCheck: UINT {} ): DWORD; {}
    function EnableMenuItem( hMenu: HMENU; {} uIDEnableItem, uEnable: UINT {} ): BOOL; {}
    function GetSubMenu( hMenu: HMENU; {} nPos: Integer {} ): HMENU; {}
    function GetMenuItemID( hMenu: HMENU; {} nPos: Integer {} ): UINT; {}
    function GetMenuItemCount( hMenu: HMENU {} ): Integer; {}
    function InsertMenu( hMenu: HMENU; {} uPosition, uFlags, uIDNewItem: UINT; {} lpNewItem: PChar {} ): BOOL; {}
    function AppendMenu( hMenu: HMENU; {} uFlags, uIDNewItem: UINT; {} lpNewItem: PChar {} ): BOOL; {}
    function ModifyMenu( hMnu: HMENU; {} uPosition, uFlags, uIDNewItem: UINT; {} lpNewItem: PChar {} ): BOOL; {}
    function RemoveMenu( hMenu: HMENU; {} uPosition, uFlags: UINT {} ): BOOL; {}
    function DeleteMenu( hMenu: HMENU; {} uPosition, uFlags: UINT {} ): BOOL; {}
    function SetMenuItemBitmaps( hMenu: HMENU; {} uPosition, uFlags: UINT; {} hBitmapUnchecked: HBITMAP; {} hBitmapChecked: HBITMAP {} ): BOOL; {}
    function GetMenuCheckMarkDimensions: Longint; {}
    function TrackPopupMenu( hMenu: HMENU; {} uFlags: UINT; {} x, y, nReserved: Integer; {} hWnd: HWND; {} prcRect: PRect {} ): BOOL; {}
    function TrackPopupMenuEx( hMenu: HMENU; {} Flags: UINT; {} x, y: Integer; {} Wnd: HWND; {} TPMParams: PTPMParams {} ): BOOL; {}
    function GetMenuInfo( hMenu: HMENU; {} var lpmi: TMenuInfo {} ): BOOL; {}
    function SetMenuInfo( hMenu: HMENU; {} const lpcmi: TMenuInfo {} ): BOOL; {}
    function EndMenu: BOOL; {}
    function InsertMenuItem( p1: HMENU; {} p2: UINT; {} p3: BOOL; {} const p4: TMenuItemInfo {} ): BOOL; {}
    function GetMenuItemInfo( p1: HMENU; {} p2: UINT; {} p3: BOOL; {} var p4: TMenuItemInfo {} ): BOOL; {}
    function SetMenuItemInfo( p1: HMENU; {} p2: UINT; {} p3: BOOL; {} const p4: TMenuItemInfo {} ): BOOL; {}
    function GetMenuDefaultItem( hMenu: HMENU; {} fByPos, gmdiFlags: UINT {} ): UINT; {}
    function SetMenuDefaultItem( hMenu: HMENU; {} uItem, fByPos: UINT {} ): BOOL; {}
    function GetMenuItemRect( hWnd: HWND; {} hMenu: HMENU; {} uItem: UINT; {} var lprcItem: TRect {} ): BOOL; {}
    function MenuItemFromPoint( hWnd: HWND; {} hMenu: HMENU; {} ptScreen: TPoint {} ): BOOL; {}
    function IsMenu( hMenu: HMENU {} ): BOOL; {}
  • 相关阅读:
    ollydbg设置断点经验总结
    proxifier 设置代理转发 对于IP地址的转发 也可以指定 这下C2裸IP的伪造可以做了
    畅捷通0day勒索攻击事件 几个IOC都只是漏洞的 勒索病毒本身没有看到ioc
    使用NSP机制解决windows7 dns溯源问题
    WMI后门技术的攻击与检测
    使用Windbg OllyDbg从头调试windows服务
    “漏洞利用之王”HolesWarm挖矿木马——非常典型的代理挖矿
    Proxychains.exe Proxychains for Windows ——通过给动态链接的程序注入一个 DLL,对 Ws2_32.dll 的 Winsock 函数挂钩子的方式来将应用程序的连接重定向到 SOCKS5 代理
    Lua 面向对象(实现类的创建和实例化、封装、继承、多态)
    lua ngx shared——Nginx本地缓存用法
  • 原文地址:https://www.cnblogs.com/del/p/1136463.html
Copyright © 2020-2023  润新知