diff options
Diffstat (limited to 'include/m_chat.h')
-rw-r--r-- | include/m_chat.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/m_chat.h b/include/m_chat.h index 6188353d45..c241b7675c 100644 --- a/include/m_chat.h +++ b/include/m_chat.h @@ -538,13 +538,14 @@ typedef struct { LPWSTR pszID; // The unique identifier of the session that triggered the hook, do NOT change.
LPWSTR pszUID; // Contains the unique identifier if Type = MENU_ON_NICKLIST. do NOT change.
int Type; // Type of menu. MENU_ON_* flags used. do NOT change.
- int nItems; // Set this to the number of menu items you want to add
- gc_item *Item; // pointer to the first in the array of gc_item's
+ HMENU hMenu; // pass this handle to a call of Srmm_AddMenuItems
}
GCMENUITEMS;
#define ME_GC_BUILDMENU "GChat/BuildMenu"
+EXTERN_C MIR_APP_DLL(void) Chat_AddMenuItems(HMENU hMenu, int nItems, const gc_item *Item);
+
//////////////////////////////////////////////////////////////////////////
// Get Chat ToolTip Text for buddy
// wParam = (WPARAM)(wchar_t*) roomID parentdat->ptszID
|