Table of Contents

menu_InsertItemEx

This function has been deprecated. Please use menu_InsertItem2 instead.

Description

Add an item to the menu in L3DT, which is optionally callable in its own thread.

Function prototype

bool CExtAPI::menu_InsertItemEx(const char* lpFnName, const char* lpOptionName, bool IsThreaded);

Arguments

Name Type Comment
lpFnName const char* A pointer to a C-style string containing the name of the ZeoFunc to be activated by this menu option.
lpOptionName const char* A pointer to a C-style string containing the display name of the menu option.
IsThreaded bool A flag to state whether the function should be called in its own thread (true) or not (false). False is default.

Return value

False if an error occurred, and true otherwise.

Comments

None.