SOFTKBDDATA Structure

typedef struct tagSOFTKBDDATA {
    UINT  uCount;
    WORD  wCode[][256]
} SOFTKBDDATA;
 
uCount
Number of 256-word virtual key mapping to the internal code array.
wCode[][256]
This is the 256-word virtual key mapping to the internal code array. There may be more than one 256-word array.

A soft keyboard can use two 256-word arrays: one for the nonshift state and the other for the shift state. The soft keyboard can use two internal codes for displaying one virtual key.