Add an item to the menu in L3DT, which is optionally callable in its own thread.
bool CExtAPI::menu_InsertItemEx(const char* lpFnName, const char* lpOptionName, bool IsThreaded);
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. |
False if an error occurred, and true otherwise.
None.