diff options
Diffstat (limited to 'protocols/Skype/src/skype_utils.cpp')
-rw-r--r-- | protocols/Skype/src/skype_utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Skype/src/skype_utils.cpp b/protocols/Skype/src/skype_utils.cpp index 2bd14e00a5..4ad81024b3 100644 --- a/protocols/Skype/src/skype_utils.cpp +++ b/protocols/Skype/src/skype_utils.cpp @@ -278,9 +278,9 @@ HANDLE CSkypeProto::CreateEvent(const char* szService) return ::CreateHookableEvent(moduleName);
}
-void CSkypeProto::HookEvent(const char* szEvent, SkypeEventFunc handler)
+HANDLE CSkypeProto::HookEvent(const char* szEvent, SkypeEventFunc handler)
{
- ::HookEventObj(szEvent, (MIRANDAHOOKOBJ)*( void**)&handler, this);
+ return ::HookEventObj(szEvent, (MIRANDAHOOKOBJ)*( void**)&handler, this);
}
void CSkypeProto::FakeAsync(void *param)
|