From 2be5844edd93ab3490b4689cad33d75b4c77f3a8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 28 Mar 2017 15:38:49 +0300 Subject: and finally MS_MSG_GETWINDOWDATA has gone, zihrono levraha --- plugins/Scriver/src/msgs.cpp | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'plugins/Scriver/src/msgs.cpp') diff --git a/plugins/Scriver/src/msgs.cpp b/plugins/Scriver/src/msgs.cpp index 7f15fcaff5..2be9a2c810 100644 --- a/plugins/Scriver/src/msgs.cpp +++ b/plugins/Scriver/src/msgs.cpp @@ -283,22 +283,6 @@ static void RestoreUnreadMessageAlerts(void) } } -static INT_PTR GetWindowData(WPARAM hContact, LPARAM lParam) -{ - if (hContact == 0) - return 1; - - MessageWindowData *mwd = (MessageWindowData*)lParam; - if (mwd == nullptr) - return 1; - - HWND hwnd = WindowList_Find(pci->hWindowList, hContact); - mwd->hwndWindow = hwnd; - mwd->local = 0; - mwd->uState = SendMessage(hwnd, DM_GETWINDOWSTATE, 0, 0); - return 0; -} - static INT_PTR SetStatusText(WPARAM hContact, LPARAM lParam) { StatusTextData *st = (StatusTextData*)lParam; @@ -679,7 +663,6 @@ int OnLoadModule(void) CreateServiceFunction(MS_MSG_SENDMESSAGE, SendMessageCommand); CreateServiceFunction(MS_MSG_SENDMESSAGEW, SendMessageCommandW); - CreateServiceFunction(MS_MSG_GETWINDOWDATA, GetWindowData); CreateServiceFunction(MS_MSG_SETSTATUSTEXT, SetStatusText); CreateServiceFunction("SRMsg/ReadMessage", ReadMessageCommand); CreateServiceFunction("SRMsg/TypingMessage", TypingMessageCommand); -- cgit v1.2.3