menu_item_getinfo

Retrieves info about a menu item.

Syntax

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

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.

Return

1 — on success, 0 on failure.

Errors

Invalid menu resource.

Defined in newmenus.inc at line 225 . This documentation was automatically generated from source.