Imports key definitions from an XML file or string for the selected embedded or attached keyboard.
[C#] public static void ImportKeys( byte keyboard, string str, bool additive );
keyboard
Indicates the keyboard to be affected by this operation:
str
Name of an existing XML key definition file or string containing an XML segment. If str points to an existing file, that file is imported. If str does not point to a file, an attempt is made to parse the string as an XML element.
additive
Boolean. Set to true if new keys are to be added to existing keys, or set to false if new keys replace all existing keys.
If more than one external keyboard is attached to the computer, call GetKeyboardID to return the unique identifier for each attached keyboard.