[DllImport("user32.dll")]
static extern int ToAscii(uint uVirtKey, uint uScanCode, byte [] lpKeyState,
[Out] StringBuilder lpChar, uint uFlags);
<DllImport("user32")> _
Public Function ToAscii( _
ByVal uVirtKey As Integer, _
ByVal uScanCode As Integer, _
ByVal lpKeyState() As Byte, _
ByVal lpChar As StringBuilder, _
ByVal uFlags As Integer)
End Function
'or..
Public Declare Function ToAscii Lib "user32" (ByVal uVirtKey As Win32CONST.KeyEvent, ByVal uScanCode As Integer, ByVal lpKeyState() As Byte, ByRef lpChar As Integer, ByVal uFlags As Win32CONST.ToAsciiFlags) As Integer
Public Enum ToAsciiFlags As Integer
MENU_IS_ACTIVE = 1
MENU_IS_INACTIVE = 0
End Enum
None.
Please add some!
Please add some!
Do you know one? Please contribute it!