native

menu_item_getinfo

Syntax

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

Description

Retrieves info about a menu item.

Parameters

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.

Error

Invalid menu resource.