WinQueryTaskTitle: Difference between revisions
Appearance
m Martini moved page OS2 API:WinQueryTaskTitle to OS2 API:PMI:WinQueryTaskTitle |
No edit summary |
||
Line 1: | Line 1: | ||
== WinQueryTaskTitle == | == WinQueryTaskTitle == | ||
; WinQueryTaskTitle(sessionId, titleReceived, titleLngth) : Get the task list entry. | ; WinQueryTaskTitle(sessionId, titleReceived, titleLngth) : Get the task list entry. | ||
=== Parameters === | === Parameters === | ||
Line 55: | Line 54: | ||
=== OS Version Introduced === | === OS Version Introduced === | ||
[[Category:The OS/2 API Project]] | [[Category:The OS/2 API Project]] |
Revision as of 00:40, 23 May 2016
WinQueryTaskTitle
- WinQueryTaskTitle(sessionId, titleReceived, titleLngth)
- Get the task list entry.
Parameters
- sessionId - ULONG - input
- The session identifier or zero for the caller's session.
- titleReceived - PSZ- output
- Title of the application as specified with the session identifier.
- titleLength - ULONG - input
- Maximum length of title, in bytes.
Constants
None
Returns
APIRET with values of:
- Zero
- Success
- Nonzero
- Error.
WinGetLastError possible returns:
Module
Define (C/C++)
INCL_WINSWITCHLIST or INCL_PM or INCL_WIN
Export name/Ordinal
Calling conversion
Example Code
ULONG sessionId; PSZ titleReceived; ULONG titleLngth; APIRET rc; ... rc = WinQueryTaskTitle(sessionId, titleReceived, titleLngth); ...
Related Functions
WinAddSwitchEntry WinChangeSwitchEntry WinCreateSwitchEntry WinQuerySessionTitle WinQuerySwitchEntry WinQuerySwitchHandle WinQuerySwitchList WinTaskSizePos WinRemoveSwitchEntry WinSwitchToProgram
Notes
WinQuerySessionTitle is the preferred API call.