Changeset 4430 for trunk/src/user32/HOOK.CPP
- Timestamp:
- Oct 5, 2000, 3:47:06 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/HOOK.CPP
r3525 r4430 1 /* $Id: HOOK.CPP,v 1.1 4 2000-05-12 18:09:39sandervl Exp $ */1 /* $Id: HOOK.CPP,v 1.15 2000-10-05 13:47:06 sandervl Exp $ */ 2 2 3 3 /* … … 269 269 } 270 270 271 dprintf(("Setting hook %d: %08x %04x %08lx\n", 272 id, (UINT)proc, hModule, dwThreadId )); 271 dprintf(("Setting hook %d: %08x %04x %08lx\n", id, (UINT)proc, hModule, dwThreadId )); 273 272 274 273 #ifndef __WIN32OS2__ … … 646 645 BOOL WINAPI UnhookWindowsHookEx( HHOOK hhook ) 647 646 { 648 if (CHECK_MAGIC(hhook) == FALSE) 647 if (CHECK_MAGIC(hhook) == FALSE) { 648 dprintf(("ERROR: UnhookWindowsHookEx invalid hook %x", hhook)); 649 649 return FALSE; 650 } 650 651 651 652 return HOOK_RemoveHook( (HOOKDATA *)hhook ); … … 664 665 HOOKDATA *oldhook; 665 666 666 if (CHECK_MAGIC(hhook) == FALSE) 667 if (CHECK_MAGIC(hhook) == FALSE) { 668 dprintf(("ERROR: CallNextHookEx invalid hook %x", hhook)); 667 669 return FALSE; 668 670 } 669 671 if (!(next = HOOK_GetNextHook( hhook ))) return 0; 670 672
Note:
See TracChangeset
for help on using the changeset viewer.