WinQueryTaskSizePos: Difference between revisions
Appearance
m formatting |
No edit summary |
||
Line 48: | Line 48: | ||
=== OS Version Introduced === | === OS Version Introduced === | ||
[[OS2_API | Back to OS/2 API]] | |||
[[Category:The OS/2 API Project]] |
Revision as of 15:23, 1 November 2011
WinQueryTaskSizePos
- WinQueryTaskSizePos(anchorBlockHndl, sessionId, swpStruct)
- Get the size and position of the next window to be created.
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.
Constants
None
Returns
Function returns BOOL of:
Possible returns from WinGetLastError:
Module
Define (C/C++)
INCL_WINSWITCHLIST or INCL_PM or INCL_WIN
Export name/Ordinal
Calling conversion
Example Code
HAB anchorBlockHndl; ULONG sessionId; SWP swpStruct; BOOL rc; ... rc = WinQueryTaskSizePos(anchorBlockHndl, sessionId, swpStruct); ...
Related Functions
WinCreateStdWindow WinRestoreWindowPos WinSetWindowPos WinStoreWindowPos