Changeset 2483 for trunk/src/user32/window.cpp
- Timestamp:
- Jan 20, 2000, 5:48:58 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/window.cpp
r2469 r2483 1 /* $Id: window.cpp,v 1. 49 2000-01-18 20:11:08 sandervlExp $ */1 /* $Id: window.cpp,v 1.50 2000-01-20 16:48:58 cbratschi Exp $ */ 2 2 /* 3 3 * Win32 window apis for OS/2 … … 640 640 { 641 641 Win32BaseWindow *window; 642 BOOL rc;643 642 644 643 window = Win32BaseWindow::GetWindowFromHandle(hwnd); … … 646 645 dprintf(("GetWindowRect, window %x not found", hwnd)); 647 646 SetLastError(ERROR_INVALID_WINDOW_HANDLE); 648 return 0;647 return FALSE; 649 648 } 650 649 if(pRect == NULL) { 651 650 SetLastError(ERROR_INVALID_PARAMETER); 652 return 0;651 return FALSE; 653 652 } 654 653 *pRect = *window->getWindowRect(); 655 654 dprintf(("GetWindowRect %x (%d,%d) (%d,%d)", hwnd, pRect->left, pRect->top, pRect->right, pRect->bottom)); 656 return rc;655 return TRUE; 657 656 } 658 657 //****************************************************************************** … … 767 766 BOOL WIN32API GetClientRect( HWND hwnd, PRECT pRect) 768 767 { 769 BOOL rc;770 768 HWND hwndWin32 = hwnd; 771 772 769 Win32BaseWindow *window; 773 770
Note:
See TracChangeset
for help on using the changeset viewer.