Changeset 5496 for trunk/src/user32/window.cpp
- Timestamp:
- Apr 12, 2001, 4:04:54 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/window.cpp
r5409 r5496 1 /* $Id: window.cpp,v 1.9 2 2001-03-30 23:59:47sandervl Exp $ */1 /* $Id: window.cpp,v 1.93 2001-04-12 14:04:33 sandervl Exp $ */ 2 2 /* 3 3 * Win32 window apis for OS/2 … … 798 798 window = Win32BaseWindow::GetWindowFromHandle(hwnd); 799 799 if(!window) { 800 dprintf(("GetWindowTextLength , window %x not found", hwnd));801 SetLastError(ERROR_INVALID_WINDOW_HANDLE); 802 return 0; 803 } 804 dprintf(("GetWindowTextLength %x", hwnd));805 return window->GetWindowTextLength ();800 dprintf(("GetWindowTextLengthA, window %x not found", hwnd)); 801 SetLastError(ERROR_INVALID_WINDOW_HANDLE); 802 return 0; 803 } 804 dprintf(("GetWindowTextLengthA %x", hwnd)); 805 return window->GetWindowTextLengthA(); 806 806 } 807 807 //****************************************************************************** … … 826 826 int WIN32API GetWindowTextLengthW( HWND hwnd) 827 827 { 828 dprintf(("USER32: GetWindowTextLengthW\n")); 829 return GetWindowTextLengthA(hwnd); 828 Win32BaseWindow *window; 829 830 window = Win32BaseWindow::GetWindowFromHandle(hwnd); 831 if(!window) { 832 dprintf(("GetWindowTextLengthW, window %x not found", hwnd)); 833 SetLastError(ERROR_INVALID_WINDOW_HANDLE); 834 return 0; 835 } 836 dprintf(("GetWindowTextLengthW %x", hwnd)); 837 return window->GetWindowTextLengthW(); 830 838 } 831 839 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.