diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-28 14:55:06 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-28 14:55:06 +0300 |
commit | 1e49d6b2cb3812d8e80051cbb3d44891e6532825 (patch) | |
tree | 2ffb8e36641e063d625faece1d380f4ce833d1a6 /plugins/NewEventNotify | |
parent | eccbb5307a048e70ac4adb0d3fd333be28245fa8 (diff) |
funny, but without cbSize we have no need in MessageWindowInputData at all
Diffstat (limited to 'plugins/NewEventNotify')
-rw-r--r-- | plugins/NewEventNotify/src/main.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/plugins/NewEventNotify/src/main.cpp b/plugins/NewEventNotify/src/main.cpp index 5161e03586..81a8e51d63 100644 --- a/plugins/NewEventNotify/src/main.cpp +++ b/plugins/NewEventNotify/src/main.cpp @@ -170,13 +170,8 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD, LPVOID) int CheckMsgWnd(MCONTACT hContact)
{
if (g_IsSrmmWindowAPI) {
- MessageWindowInputData mwid;
- mwid.hContact = hContact;
- mwid.uFlags = MSG_WINDOW_UFLAG_MSG_BOTH;
-
MessageWindowData mwd;
- mwd.hContact = hContact;
- if (!CallService(MS_MSG_GETWINDOWDATA, (WPARAM) &mwid, (LPARAM) &mwd))
+ if (!CallService(MS_MSG_GETWINDOWDATA, hContact, (LPARAM)&mwd))
if (mwd.hwndWindow != NULL && (mwd.uState & MSG_WINDOW_STATE_EXISTS))
return 1;
}
|