Alex,Looking in the Control Panel, we see: United States 101
In the registry, doing a search for - United States 101
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\keyboard layouts\00000409
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\keyboard layouts\00002009
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\keyboard layouts\00002409
We find - 00000409 under:
HKEY_CURRENT_USER\keyboard layout\preload\1
If we did a READVALUE ON -
$Locale = READVALUE("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Nls\Locale","")
If we did an ENUMVALUE on: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Nls\Locale we could determine what Locales are available on the system.
If we look at - C:\WINDOWS\INF\KEYBOARD.INF
We see toward the bottom, it touches the SYSTEM.INI, which we can get to via SYSEDIT or NOTEPAD... READPROFILESTRING or WRITEPROFILESTRING.
System.ini contains...
[keyboard]
keyboard.dll=
oemansi.bin=
However, I have a USB Keyboard and the registry has -
code:
REGEDIT4[HKEY_LOCAL_MACHINE\Enum\HID\VID_413C&PID_2001&MI_00\0000USB&VID_413C&PID_2001&MI_00&0000USB&VID_413C&PID_2001&INST_0]
"Capabilities"=hex:e0,00,00,00
"Serial"=hex:0c,00,00,00,00,00,00,00
"HardwareID"="HID\\VID_413C&PID_2001&REV_0001&MI_00,HID\\VID_413C&PID_2001&MI_00,HID_DEVICE_SYSTEM_KEYBOARD,HID_DEVICE_UP:0001_U:0006,HID_DEVICE"
"ClassGUID"="{4d36e96b-e325-11ce-bfc1-08002be10318}"
"Class"="Keyboard"
"Driver"="Keyboard\\0000"
"Mfg"="(Standard keyboards)"
"DeviceDesc"="HID-compliant keyboard"
"ConfigFlags"=hex:00,00,00,00
Does this get you any closer?
- Kent