NAME

GetWindowPlacement  (USER32.@)

SYNOPSIS

 BOOL GetWindowPlacement
 (
  HWND             hwnd,
  WINDOWPLACEMENT* wndpl
 )

DESCRIPTION

Retrieves the show state and the restored, minimized, and maximized positions of the window.

PARAMS

hwnd [ I] handle to the window
wndpl [ I] pointer to the structure that receives the info.

RETURNS

TRUE if succeeds FALSE if failed (FIXME: use GetLastError for get extended error info).

NOTES

set length field in the WINDOWPLACEMENT before calling the function Win95: Fails if wndpl->length of Win95 (!) applications is invalid.

TODO

WPF_RESTORETOMAXIMIZED only with SW_SHOWMINIMIZED? check with WS_VISIBLE, WS_HIDE

IMPLEMENTATION

Defined in "winuser.h".

Implemented in "dlls/user32/winpos.c". source.winehq.org/source/dlls/user32/winpos.c

Debug channel "win".


Copyright © 2008 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jul 2008.