From 18448e7014c32235db05465f1bf76b30f9954029 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 10 Jan 2014 23:33:35 +0000 Subject: GCDEST::pszModule and GCDEST::ptszID must be constant git-svn-id: http://svn.miranda-ng.org/main/trunk@7586 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/m_chat.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/m_chat.h b/include/m_chat.h index d679e43706..13b0561ede 100644 --- a/include/m_chat.h +++ b/include/m_chat.h @@ -439,9 +439,9 @@ struct GCSESSION // The GCDEST structure. It is passed to Chat inside GCEVENT. struct GCDEST { - LPSTR pszModule; // Name of the protocol (same as you registered with) - LPTSTR ptszID; // Unique identifier of the session, or NULL to broadcast to all sessions as specified above - int iType; // Use GC_EVENT_* as defined above. Only one event per service call. + LPCSTR pszModule; // Name of the protocol (same as you registered with) + LPCTSTR ptszID; // Unique identifier of the session, or NULL to broadcast to all sessions as specified above + int iType; // Use GC_EVENT_* as defined above. Only one event per service call. }; // The GCEVENT structure @@ -548,8 +548,8 @@ struct GC_INFO struct GCHOOK { GCDEST *pDest; // pointer to a GCDEST structure which specifies from which session the hook was triggered - TCHAR *ptszText; // usage depends on type of event - TCHAR *ptszUID; // unique identifier, usage depends on type of event + LPTSTR ptszText; // usage depends on type of event + LPTSTR ptszUID; // unique identifier, usage depends on type of event INT_PTR dwData; // user defined data, usage depends on type of event }; -- cgit v1.2.3