Ignore:
Timestamp:
Feb 11, 2004, 4:37:39 PM (22 years ago)
Author:
sandervl
Message:

HODIN_PREWINDOWCREATEDA extension added|

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/window.cpp

    r10329 r10450  
    1 /* $Id: window.cpp,v 1.138 2003-11-15 18:03:50 sandervl Exp $ */
     1/* $Id: window.cpp,v 1.139 2004-02-11 15:37:39 sandervl Exp $ */
    22/*
    33 * Win32 window apis for OS/2
     
    4545#include "hook.h"
    4646#include <wprocess.h>
     47#include <custombuild.h>
    4748
    4849#define DBG_LOCALLOG    DBG_window
     
    108109    cs.lpszClass      = className;
    109110    cs.dwExStyle      = exStyle;
     111
     112    HOOK_CallOdinHookA(HODIN_PREWINDOWCREATEDA, 0, (DWORD)&cs);
     113
    110114    if(HIWORD(className)) {
    111115         dprintf(("CreateWindowExA: class %s parent %x (%d,%d) (%d,%d), %x %x menu=%x", className, parent, x, y, width, height, style, exStyle, menu));
     
    21922196    }
    21932197    lpfnWindowProc = (WNDPROC)GetWindowLongA(hwnd, GWL_WNDPROC);
    2194 //    return GetProcModuleFileNameA((ULONG)lpfnWindowProc, lpszFileName, cchFileNameMax);
    2195     return 0;
     2198    return GetProcModuleFileNameA((ULONG)lpfnWindowProc, lpszFileName, cchFileNameMax);
    21962199}
    21972200//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.