From 109877a3c75cb290c55755dcfc88794d2453669d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 30 Mar 2013 17:32:39 +0000 Subject: MS_DB_EVENT_* services remained, but their calls removed git-svn-id: http://svn.miranda-ng.org/main/trunk@4255 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/StatusChange/src/main.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'plugins/StatusChange/src') diff --git a/plugins/StatusChange/src/main.cpp b/plugins/StatusChange/src/main.cpp index 1b28339f68..012dabeeaa 100644 --- a/plugins/StatusChange/src/main.cpp +++ b/plugins/StatusChange/src/main.cpp @@ -46,13 +46,11 @@ void LoadOptions() static int StatusChangeGetMessage(WPARAM wParam, LPARAM lParam) { HANDLE hDbEvent = (HANDLE)lParam; - DBEVENTINFO dbe; int status; BOOL read, send, change_status; - dbe.cbSize = sizeof(dbe); - dbe.cbBlob = 0; - CallService(MS_DB_EVENT_GET, (WPARAM)hDbEvent, (LPARAM)&dbe); + DBEVENTINFO dbe = { sizeof(dbe) }; + db_event_get(hDbEvent, &dbe); status = (int)CallProtoService(dbe.szModule, PS_GETSTATUS, 0, 0); if(!status) -- cgit v1.2.3