◄Function Group► ◄Overview► ◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── #define INCL_WINFRAMEMGR BOOL WinGetMaxPosition(hwnd, pswp); HWND hwnd; /* handle of the window */ PSWP pswp; /* address of structure for maximum window size and position */ The WinGetMaxPosition function fills an SWP structure with the maximized-window size and position. On return, the SWP_SIZE and SWP_MOVE flags will have been combined using the OR operator into the fs field of the SWP structure. Parameter Description ──────────────────────────────────────────────────────────────────────────── hwnd Identifies the window whose maximum size will be retrieved. pswp Points to the SWP structure that retrieves the size and position of a maximized window. Return Value The return value is TRUE if the function is successful or FALSE if an error occurs. See Also WinGetMinPosition, SWP ♦