This function initializes the virtual key state and driver specific state.
BOOL KeybdDriverInitStates( INT iKeybdId, KEY_STATE KeyState,
void *pKeybdDeviceToUnicodeState );
After calling the KeybdDriverGetInfo function and allocating its required memory, the input system calls this function to enable the driver to initialize the memory.
The pKeybdDriverToUnicodeState parameter is a pointer to a block of memory of at least cbToUnicodeState bytes, as reported by the KeybdDriverGetInfo function in the KBDI_VKEY_TO_UNICODE_INFO structure. If cbToUnicodeState is reported as 0, this parameter may be NULL.
This function must be re-entrant, since it is exposed by the input system through the KeybdInitStates function and may be called by multiple threads.
This function is defined in the Keybdmdd.cpp file.