参阅:MapVirtualKeyThe MapVirtualKey function translates (maps) a virtual-key code into a scan code or character value, or translates a scan code into a virtual-key code. To specify a handle to the keyboard layout to use for translating the specified code, use the MapVirtualKeyEx function. UINT MapVirtualKey( UINT uCode, // virtual-key code or scan code UINT uMapType // translation to perform );
UINT uCode, // virtual-key code or scan code
UINT uMapType // translation to perform
);