UniResetShiftState: Difference between revisions
Appearance
No edit summary |
mNo edit summary |
||
Line 40: | Line 40: | ||
=== Notes === | === Notes === | ||
[[OS2_API:UniResetShiftState|UniResetShiftState]] is used to change the shift state not through the normal keying sequence. | [[OS2_API:UniResetShiftState|UniResetShiftState]] is used to change the shift state not through the normal keying sequence. The LED status is maintained based on the shift state. | ||
=== OS Version Introduced === | === OS Version Introduced === | ||
OS/2 Warp | OS/2 Warp | ||
[[Category:The OS/2 API Project]] | [[Category:The OS/2 API Project]] |
Revision as of 22:52, 16 April 2016
UniResetShiftState
- UniResetShiftState(keyboardHndl, shiftState, type)
- Reset the effective and actual shift state and LED status.
Parameters
- keyboardHndl - KHAND - input
- The key board handle received from UniCreateKeyboard.
- shiftState - USHIFTSTATE - input
- The shift state consists of 3 32-bit values. These bit definitions define the actual, effective, and LED shift states.
- type - ULONG - input
- The type of reset of:
Constants
None
Returns
An integer with values of:
Module
Define (C/C++)
Export name/Ordinal
Calling conversion
Example Code
KHAND keyboardHndl; USHIFTSTATE shiftState; ULONG type; integer rc; ... rc = UniResetShiftState(keyboardHndl, shiftState, type); ...
Related Functions
Notes
UniResetShiftState is used to change the shift state not through the normal keying sequence. The LED status is maintained based on the shift state.
OS Version Introduced
OS/2 Warp