- Timestamp:
- Jul 7, 2009, 9:06:23 PM (16 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/USER32.DEF
r21320 r21334 728 728 _selectClientArea@4 @2025 NONAME 729 729 730 _CreateFakeWindowEx@8 @2028 NONAME 731 _DestroyFakeWindow@4 @2035 NONAME 730 _CreateFakeWindowEx@8 = _CreateFakeWindowEx@8 @2028 731 _DestroyFakeWindow@4 = _DestroyFakeWindow@4 @2035 732 732 733 _checkOrigin@4 @2029 NONAME 733 734 … … 753 754 754 755 _GetOS2Icon@4 @2045 NONAME 756 757 ; used for Flash plugin 758 GetWindowInfo = _GetWindowInfo@8 @2046 -
trunk/src/user32/user32dbg.def
r21320 r21334 726 726 _selectClientArea@4 @2025 NONAME 727 727 728 _CreateFakeWindowEx@8 @2028 NONAME729 _DestroyFakeWindow@4 @2035 NONAME728 _CreateFakeWindowEx@8 = _CreateFakeWindowEx@8 @2028 729 _DestroyFakeWindow@4 = _DestroyFakeWindow@4 @2035 730 730 _checkOrigin@4 @2029 NONAME 731 731 … … 750 750 751 751 _GetOS2Icon@4 @2045 NONAME 752 753 ; used for Flash plugin 754 GetWindowInfo = _GetWindowInfo@8 @2046 -
trunk/src/user32/window.cpp
r21303 r21334 437 437 return hwndRelated; 438 438 } 439 440 /****************************************************************************** 441 * GetWindowInfo (USER32.@) 442 * 443 * Note: tests show that Windows doesn't check cbSize of the structure. 444 */ 445 BOOL WINAPI GetWindowInfo( HWND hwnd, PWINDOWINFO pwi) 446 { 447 if (!pwi) return FALSE; 448 if (!IsWindow(hwnd)) return FALSE; 449 450 GetWindowRect(hwnd, &pwi->rcWindow); 451 GetClientRect(hwnd, &pwi->rcClient); 452 /* translate to screen coordinates */ 453 MapWindowPoints(hwnd, 0, (LPPOINT)&pwi->rcClient, 2); 454 455 pwi->dwStyle = GetWindowLongW(hwnd, GWL_STYLE); 456 pwi->dwExStyle = GetWindowLongW(hwnd, GWL_EXSTYLE); 457 pwi->dwWindowStatus = ((GetActiveWindow() == hwnd) ? WS_ACTIVECAPTION : 0); 458 459 pwi->cxWindowBorders = pwi->rcClient.left - pwi->rcWindow.left; 460 pwi->cyWindowBorders = pwi->rcWindow.bottom - pwi->rcClient.bottom; 461 462 pwi->atomWindowType = GetClassLongW( hwnd, GCW_ATOM ); 463 pwi->wCreatorVersion = 0x0400; 464 465 return TRUE; 466 } 467 439 468 //****************************************************************************** 440 469 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.