mirror of
https://github.com/reactos/reactos.git
synced 2024-08-19 09:59:44 +00:00
[user32]
- Implement UnregisterUserApiHook - Fix a warning svn path=/branches/GSoC_2011/ThemesSupport/; revision=52651
This commit is contained in:
parent
7950b8eb63
commit
aeebfa7e0e
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue