Jump to content

WinQueryTaskSizePos

From EDM2
Revision as of 07:39, 21 February 2006 by Daniel.lee.kruse (talk | contribs) (WinQueryTaskSizePos created)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

TRUE on success or FALSE on failure. Possible returns from WinGetLastError:

Module

Define (C/C++)

INCL_WINSWITCHLIST or INCL_PM or INCL_WIN

Export name/Ordinal

Calling conversion

Cdecl32

Example Code

HAB   anchorBlockHndl;
ULONG sessionId;
SWP   swpStruct;
BOOL rc;
...
rc = WinQueryTaskSizePos(anchorBlockHndl, sessionId, swpStruct);
...

Related Functions

WinCreateStdWindow WinRestoreWindowPos WinSetWindowPos WinStoreWindowPos

Notes

OS Version Introduced