UniUpdateShiftState

Update the effective and actual shift state and LED status.

Syntax
UniUpdateShiftState(keyboardHndl, shiftState, vScan, makeBreak);

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.
 * vScan - VSCAN - input : Presentation Manager scan code.
 * makeBreak - BYTE - input : Key make, break, repeat indicator.

Constants
None

Returns
An integer with values of:
 * ULS_BADHANDLE
 * ULS_SUCCESS

Calling Convention
Cdecl32

Bindings
KHAND      keyboardHndl; USHIFTSTATE shiftState; VSCAN      vScan; BYTE       makeBreak; integer    rc; ... rc = UniUpdateShiftState(keyboardHndl, shiftState, vScan, makeBreak); ...

Related Functions

 * UniResetShiftState

OS Version Introduced
OS/2 Warp