The VkKeyScan function is obsolete. New keyboard drivers should support the VkKeyScan function by calling the VkKeyScanEx function with the layout identifier set to the system locale layout identifier.
OEMKeyScan, VkKeyScanEx