diff options
Diffstat (limited to 'plugins/AutoShutdown/src/watcher.cpp')
-rw-r--r-- | plugins/AutoShutdown/src/watcher.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/AutoShutdown/src/watcher.cpp b/plugins/AutoShutdown/src/watcher.cpp index 0c8a22397e..bce511ce8f 100644 --- a/plugins/AutoShutdown/src/watcher.cpp +++ b/plugins/AutoShutdown/src/watcher.cpp @@ -89,10 +89,8 @@ static TCHAR* GetMessageText(BYTE **ppBlob,DWORD *pcbBlob) return (WCHAR*)buf;
}
-static int MsgEventAdded(WPARAM wParam,LPARAM lParam)
+static int MsgEventAdded(WPARAM wParam,LPARAM hDbEvent)
{
- HANDLE hDbEvent = (HANDLE)lParam;
-
if (currentWatcherType & SDWTF_MESSAGE) {
DBEVENTINFO dbe = { sizeof(dbe) };
dbe.cbBlob = db_event_getBlobSize(hDbEvent);
|