diff options
Diffstat (limited to 'include/m_protosvc.h')
-rw-r--r-- | include/m_protosvc.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/include/m_protosvc.h b/include/m_protosvc.h index d083caf1ec..1a5dd3d817 100644 --- a/include/m_protosvc.h +++ b/include/m_protosvc.h @@ -450,19 +450,19 @@ typedef struct { #define PS_FILERESUMEW "/FileResumeW"
//Asks a protocol to join the chatroom from contact v0.8.0+
-//wParam = (WPARAM)(HANDLE)hContact
-//lParam = (LPARAM)0
+//wParam = (MCONTACT)hContact
+//lParam = 0
//Returns 0 on success, nonzero on failure
#define PS_JOINCHAT "/JoinChat"
//Asks a protocol to leave the chatroom from contact v0.8.0+
-//wParam = (WPARAM)(HANDLE)hContact
-//lParam = (LPARAM)0
+//wParam = (MCONTACT)hContact
+//lParam = 0
//Returns 0 on success, nonzero on failure
#define PS_LEAVECHAT "/LeaveChat"
//Asks a protocol to read contact information and translate them (for a lookup fields) v0.8.0+
-//wParam = (WPARAM)(HANDLE)hContact
+//wParam = (MCONTACT)hContact
//lParam = (LPARAM)(DBCONTACTGETSETTING*)&dbcgs
//The flag PF4_INFOSETTINGSVC indicates that a protocol supports this. Basically it should
//do the same as MS_DB_CONTACT_GETSETTING_STR, except that for a lookup settings (e.g. Language)
@@ -506,8 +506,8 @@ typedef struct { // Get the max allowed length for the user nickname
// Optional, default value is 1024
-// wParam = (WPARAM)0
-// lParam = (LPARAM)0
+// wParam = 0
+// lParam = 0
// return = <= 0 for error, >0 the max length of the nick
#define PS_GETMYNICKNAMEMAXLENGTH "/GetMyNicknameMaxLength"
@@ -521,7 +521,7 @@ typedef struct { // Get the WAYD message for the user
// wParam = (WPARAM)WAYD_xxx
-// lParam = (LPARAM)0
+// lParam = 0
// Returns the text or NULL if there is none. Remember to mir_free the return value.
#define PS_GETMYWAYD "/GetMyWAYD"
@@ -533,14 +533,14 @@ typedef struct { // Get the max allowed length that a WAYD message can have
// Optional, default value is 1024
-// wParam = (WPARAM)0
-// lParam = (LPARAM)0
+// wParam = 0
+// lParam = 0
// Returns the max length
#define PS_GETMYWAYDMAXLENGTH "/GetMyWAYDMaxLength"
// Get the unread email message count, optional
-// wParam = (WPARAM)0
-// lParam = (LPARAM)0
+// wParam = 0
+// lParam = 0
// Returns the number of unread emails
#define PS_GETUNREADEMAILCOUNT "/GetUnreadEmailCount"
@@ -666,7 +666,7 @@ typedef struct { #define PSS_AUTHREQUESTW "/AuthRequestW"
// Send "User is Typing" (user is typing a message to the user) v0.3.3+
-// wParam = (WPARAM)(HANDLE)hContact
+// wParam = (MCONTACT)hContact
// lParam = (LPARAM)(int)typing type - see PROTOTYPE_SELFTYPING_X defines in m_protocols.h
#define PSS_USERISTYPING "/UserIsTyping"
|