Changeset 1733 for trunk/src/user32/windowclass.cpp
- Timestamp:
- Nov 14, 1999, 2:07:03 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/windowclass.cpp
r1540 r1733 1 /* $Id: windowclass.cpp,v 1. 4 1999-11-01 19:11:46sandervl Exp $ */1 /* $Id: windowclass.cpp,v 1.5 1999-11-14 13:07:03 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Class Code for OS/2 … … 266 266 { 267 267 Win32BaseWindow *wnd; 268 269 dprintf(("USER32: GetClassNameA\n")); 268 int rc; 269 270 270 wnd = Win32BaseWindow::GetWindowFromHandle(hwnd); 271 271 if(!wnd) { … … 273 273 return(0); 274 274 } 275 *lpszClassName = 0; 276 rc = (wnd->getClass())->getClassName(lpszClassName, cchClassName); 277 dprintf(("USER32: GetClassNameA %x %s (%d)", hwnd, lpszClassName, rc)); 278 return rc; 279 } 280 //****************************************************************************** 281 //****************************************************************************** 282 int WIN32API GetClassNameW(HWND hwnd, LPWSTR lpszClassName, int cchClassName) 283 { 284 Win32BaseWindow *wnd; 285 286 dprintf(("USER32: GetClassNameW\n")); 287 wnd = Win32BaseWindow::GetWindowFromHandle(hwnd); 288 if(!wnd) { 289 dprintf(("GetClassNameA wnd == NULL")); 290 return(0); 291 } 275 292 return (wnd->getClass())->getClassName(lpszClassName, cchClassName); 276 293 } 277 294 //****************************************************************************** 278 295 //****************************************************************************** 279 int WIN32API GetClassNameW(HWND hwnd, LPWSTR lpszClassName, int cchClassName)280 {281 Win32BaseWindow *wnd;282 283 dprintf(("USER32: GetClassNameW\n"));284 wnd = Win32BaseWindow::GetWindowFromHandle(hwnd);285 if(!wnd) {286 dprintf(("GetClassNameA wnd == NULL"));287 return(0);288 }289 return (wnd->getClass())->getClassName(lpszClassName, cchClassName);290 }291 //******************************************************************************292 //******************************************************************************293 296 LONG WIN32API SetClassLongA(HWND hwnd, int nIndex, LONG lNewVal) 294 297 {
Note:
See TracChangeset
for help on using the changeset viewer.