Ignore:
Timestamp:
Oct 5, 2000, 3:47:06 PM (25 years ago)
Author:
sandervl
Message:

GetWindow & EnumDisplaySettingsA fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/HOOK.CPP

    r3525 r4430  
    1 /* $Id: HOOK.CPP,v 1.14 2000-05-12 18:09:39 sandervl Exp $ */
     1/* $Id: HOOK.CPP,v 1.15 2000-10-05 13:47:06 sandervl Exp $ */
    22
    33/*
     
    269269    }
    270270
    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 ));
    273272
    274273#ifndef __WIN32OS2__
     
    646645BOOL WINAPI UnhookWindowsHookEx( HHOOK hhook )
    647646{
    648     if (CHECK_MAGIC(hhook) == FALSE)
     647    if (CHECK_MAGIC(hhook) == FALSE) {
     648        dprintf(("ERROR: UnhookWindowsHookEx invalid hook %x", hhook));
    649649        return FALSE;
     650    }
    650651
    651652    return HOOK_RemoveHook( (HOOKDATA *)hhook );
     
    664665    HOOKDATA *oldhook;
    665666
    666     if (CHECK_MAGIC(hhook) == FALSE)
     667    if (CHECK_MAGIC(hhook) == FALSE) {
     668        dprintf(("ERROR: CallNextHookEx invalid hook %x", hhook));
    667669        return FALSE;
    668 
     670    }
    669671    if (!(next = HOOK_GetNextHook( hhook ))) return 0;
    670672
Note: See TracChangeset for help on using the changeset viewer.