UnpackKeyCodeUnicode
int UnpackKeyCodeUnicode (KeyCodeUnicode packedKeyCodeUnicode, int *unicodeCharCode, int *virtualKey, int *modifiers);
Purpose
Unpacks a Unicode key code into a Unicode code point, a virtual key, and a modifier key.
Parameters
Input | ||
Name | Type | Description |
packedKeyCodeUnicode | KeyCodeUnicode | Unicode key code to unpack. |
Output | ||
Name | Type | Description |
unicodeCharCode | int | The value representing the Unicode code point of the key. The Unicode code point can represent any character. |
virtualKey | int | The value representing the virtual key. Virtual keys are non-ASCII keys represented by the following key codes: VAL_FWD_DELETE_VKEY |
modifiers | int | The value representing a modifier key. A modifier key is a <Shift> key, <Alt> key, or <Ctrl> key. The following constants represent the modifier key: VAL_SHIFT_MODIFIER |
Return Value
Name | Type | Description |
success | int | Return value indicating whether the function was successful. A negative number indicates that an error occurred. |
Additional Information
Library: Utility Library
Include file: utility.h
LabWindows/CVI compatibility: LabWindows/CVI 2020 and later