Author: gadamopoulos
Date: Tue Jul 12 09:14:24 2011
New Revision: 52651
URL:
http://svn.reactos.org/svn/reactos?rev=52651&view=rev
Log:
[user32]
- Implement UnregisterUserApiHook
- Fix a warning
Modified:
branches/GSoC_2011/ThemesSupport/dll/win32/user32/misc/usrapihk.c
Modified: branches/GSoC_2011/ThemesSupport/dll/win32/user32/misc/usrapihk.c
URL:
http://svn.reactos.org/svn/reactos/branches/GSoC_2011/ThemesSupport/dll/win…
==============================================================================
--- branches/GSoC_2011/ThemesSupport/dll/win32/user32/misc/usrapihk.c [iso-8859-1]
(original)
+++ branches/GSoC_2011/ThemesSupport/dll/win32/user32/misc/usrapihk.c [iso-8859-1] Tue Jul
12 09:14:24 2011
@@ -259,7 +259,7 @@
RtlEnterCriticalSection(&gcsUserApiHook);
- if (!pfn(uahLoadInit,(ULONG_PTR)&uah) || // Swap data, User32 to and Uxtheme
from!
+ if (!pfn(uahLoadInit,&uah) || // Swap data, User32 to and Uxtheme from!
uah.ForceResetUserApiHook != (FARPROC)ForceResetUserApiHook ||
uah.size <= 0 )
{
@@ -391,7 +391,5 @@
*/
BOOL WINAPI UnregisterUserApiHook(VOID)
{
- // Direct call to Win32k! Here only as a prototype.....
- UNIMPLEMENTED;
- return FALSE;
-}
+ return NtUserUnregisterUserApiHook();
+}