- Implement UnregisterUserApiHook
- Fix a warning

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52651
This commit is contained in:
Giannis Adamopoulos 2011-07-12 09:14:24 +00:00
parent 7950b8eb63
commit aeebfa7e0e

View file

@ -259,7 +259,7 @@ InitUserApiHook(HINSTANCE hInstance, USERAPIHOOKPROC pfn)
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 RegisterUserApiHook(PUSERAPIHOOKINFO puah)
*/
BOOL WINAPI UnregisterUserApiHook(VOID)
{
// Direct call to Win32k! Here only as a prototype.....
UNIMPLEMENTED;
return FALSE;
return NtUserUnregisterUserApiHook();
}