Changeset 4866 for trunk/src/user32/windowclass.cpp
- Timestamp:
- Jan 2, 2001, 7:14:59 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/windowclass.cpp
r4517 r4866 1 /* $Id: windowclass.cpp,v 1.1 3 2000-10-22 19:53:25sandervl Exp $ */1 /* $Id: windowclass.cpp,v 1.14 2001-01-02 18:14:59 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Class Code for OS/2 … … 400 400 { 401 401 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; 410 412 } 411 413 //****************************************************************************** … … 414 416 { 415 417 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.