Ignore:
Timestamp:
Jan 2, 2001, 7:14:59 PM (25 years ago)
Author:
sandervl
Message:

more logging, rewrote window handle management, don't export odin external functions by name

File:
1 edited

Legend:

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

    r4517 r4866  
    1 /* $Id: windowclass.cpp,v 1.13 2000-10-22 19:53:25 sandervl Exp $ */
     1/* $Id: windowclass.cpp,v 1.14 2001-01-02 18:14:59 sandervl Exp $ */
    22/*
    33 * Win32 Window Class Code for OS/2
     
    400400{
    401401 Win32BaseWindow *wnd;
    402 
    403     dprintf(("USER32: GetClassLongA %x %d", hwnd, nIndex));
    404     wnd = Win32BaseWindow::GetWindowFromHandle(hwnd);
    405     if(!wnd) {
    406         dprintf(("GetClassLongA wnd == NULL"));
    407         return(0);
    408     }
    409     return (wnd->getClass())->getClassLongA(nIndex);
     402 LONG ret;
     403
     404    wnd = Win32BaseWindow::GetWindowFromHandle(hwnd);
     405    if(!wnd) {
     406        dprintf(("GetClassLongA %x %d wnd == NULL", hwnd, nIndex));
     407        return(0);
     408    }
     409    ret = (wnd->getClass())->getClassLongA(nIndex);
     410    dprintf(("USER32: GetClassLongA %x %d returned %x", hwnd, nIndex, ret));
     411    return ret;
    410412}
    411413//******************************************************************************
     
    414416{
    415417 Win32BaseWindow *wnd;
    416 
    417     dprintf(("USER32: GetClassLongW\n"));
    418     wnd = Win32BaseWindow::GetWindowFromHandle(hwnd);
    419     if(!wnd) {
    420         dprintf(("GetClassLongW wnd == NULL"));
    421         return(0);
    422     }
    423     return (wnd->getClass())->getClassLongW(nIndex);
    424 }
    425 //******************************************************************************
    426 //******************************************************************************
     418 LONG ret;
     419
     420    wnd = Win32BaseWindow::GetWindowFromHandle(hwnd);
     421    if(!wnd) {
     422        dprintf(("GetClassLongW %x %d wnd == NULL", hwnd, nIndex));
     423        return(0);
     424    }
     425    ret = (wnd->getClass())->getClassLongW(nIndex);
     426    dprintf(("USER32: GetClassLongW %x %d returned %x", hwnd, nIndex, ret));
     427    return ret;
     428}
     429//******************************************************************************
     430//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.