UniResetShiftState

Reset the effective and actual shift state and LED status.

Syntax
UniResetShiftState(keyboardHndl, shiftState, type)

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:
 * KEYEV_RELEASE
 * KEYEV_SET
 * KEYEV_ZERO

Constants
None

Returns
An integer with values of:
 * ULS_BADHANDLE
 * ULS_SUCCESS

Calling Convention
Cdecl32

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

Related Functions

 * UniUpdateShiftState

OS Version Introduced
OS/2 Warp