menu_item_getinfo

Синтаксис

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

Употреба

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.

Описание

Retrieves info about a menu item.

Връщаща стойност

1 on success, 0 on failure.

Грешка

Invalid menu resource.