WinQueryTaskSizePos
From EDM2
Get the size and position of the next window to be created.
Contents
Syntax
WinQueryTaskSizePos(anchorBlockHndl, sessionId, swpStruct)
Parameters
- anchorBlockHndl - HAB - input
- The anchor block handle.
- sessionId - ULONG - input
- The session identifier or zero for the current session.
- swpStruct - SWP - output
- Window size and positioning data.
Returns
Function returns BOOL of:
Possible returns from WinGetLastError:
Define (C/C++)
INCL_WINSWITCHLIST or INCL_PM or INCL_WIN
Calling Convention
Example Code
HAB anchorBlockHndl; ULONG sessionId; SWP swpStruct; BOOL rc; ... rc = WinQueryTaskSizePos(anchorBlockHndl, sessionId, swpStruct); ...