ToAscii function user32
Translates the specified virtual-key code and keyboard state to the corresponding character or characters. The function translates the code using the input language and physical keyboard layout identified by the keyboard layout handle.
int ToAscii(
UINT uVirtKey,
UINT uScanCode,
const BYTE *lpKeyState,
LPWORD lpChar,
UINT uFlags
);
Implementation
int ToAscii(int uVirtKey, int uScanCode, Pointer<Uint8> lpKeyState,
Pointer<Uint16> lpChar, int uFlags) =>
_ToAscii(uVirtKey, uScanCode, lpKeyState, lpChar, uFlags);