win12.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
WinGetMaxPosition (1.2)
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