Jump to content

WinQuerySwitchEntry: Difference between revisions

From EDM2
Ak120 (talk | contribs)
Line 23: Line 23:
INCL_WINSWITCHLIST or INCL_WIN or INCL_PM
INCL_WINSWITCHLIST or INCL_WIN or INCL_PM


=== Calling conversion ===
=== Calling Convention ===
[[Cdecl32]]
[[Cdecl32]]



Revision as of 04:40, 17 January 2017

WinQuerySwitchEntry(switchHndl, switchControl)
Get information on a task list entry.

Parameters

switchHndl - HSWITCH - input
The task list switch handle that was returned by WinAddSwitchEntry, WinCreateSwitchEntry, WinQuerySwitchList, or WinQuerySwitchEntry.
switchControl - SWCNTRL - output
The switch control data. Information about the task list entry. Using the field for the program handle, it can be used to invoke the task.

Returns

ULONG with values of:

Zero
success
Non-zero
not successful

WinGetLastError could return:

Define (C/C++)

INCL_WINSWITCHLIST or INCL_WIN or INCL_PM

Calling Convention

Cdecl32

Example Code

HSWITCH switchHndl;
SWCNTRL switchControl;
ULONG   rc;
...
rc = WinQuerySwitchEntry(switchHndle, switchControl);
...

Related Functions