mirror of
https://github.com/x64dbg/x64dbg
synced 2026-08-11 18:23:06 -04:00
1.1 KiB
1.1 KiB
GuiMenuSetEntryIcon
Sets an icon for a specified menu entry.
void GuiMenuSetEntryIcon(int hEntry, const ICONDATA* icon)
Parameters
hEntry Parameter description.
icon
Return Value
This function does not return a value.
Example
ICONDATA rocket;
rocket.data = icon_rocket;
rocket.size = sizeof(icon_rocket);
hNewMenuEntry = GuiMenuAddEntry(hMenu, &szMenuEntryText);
GuiMenuSetEntryIcon(hNewMenuEntry,&rocket);
Related functions
Note: Plugin developers should make use of the plugin functions provided: