OS2 API:UniResetShiftState

From EDM2

Jump to: navigation, search

Contents

[edit] UniResetShiftState

UniResetShiftState(keyboardHndl, shiftState, type) 
Reset the effective and actual shift state and LED status.

[edit] 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:

[edit] Constants

None

[edit] Returns

An integer with values of:

[edit] Module

[edit] Define (C/C++)

[edit] Export name/Ordinal

[edit] Calling conversion

Cdecl32

[edit] Example Code

KHAND       keyboardHndl;
USHIFTSTATE shiftState;
ULONG       type;
integer     rc;
...
rc = UniResetShiftState(keyboardHndl, shiftState, type);
...

[edit] Related Functions

UniUpdateShiftState

[edit] 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.

[edit] OS Version Introduced

OS/2 Warp

Personal tools