menu_item_getinfo

Syntax

native menu_item_getinfo(menu, item, &access, info[], infolen, name[]="", namelen=0, &callback);

Usage

menu
Menu resource identifier.
item
Item identifier.
access
Variable to store access value.
info
Buffer to store item info.
infolen
Item info buffer length.
name
Buffer to store item display text.
namelen
Item name buffer length.
callback
Callback ID.

Description

Retrieves info about a menu item.

Return

1 on success, 0 on failure.

Error

Invalid menu resource.