ToUnicodeEx function user32
Translates the specified virtual-key code and keyboard state to the corresponding Unicode character or characters.
To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-tounicodeex.
Implementation
@pragma('vm:prefer-inline')
int ToUnicodeEx(
int wVirtKey,
int wScanCode,
Pointer<Uint8> lpKeyState,
PWSTR pwszBuff,
int cchBuff,
int wFlags,
HKL? dwhkl,
) => _ToUnicodeEx(
wVirtKey,
wScanCode,
lpKeyState,
pwszBuff,
cchBuff,
wFlags,
dwhkl ?? nullptr,
);