Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than user32, prefix the name with the module name and a period.
Public Declare Function ToUnicodeEx Lib "user32" (
wVirtKey As UInteger,
wScanCode As UInteger,
lpKeyState As Byte(),
<Out()>
<MarshalAs(UnmanagedType.LPWStr, SizeConst:=64)>
ByVal lpChar As System.Text.StringBuilder,
cchBuff As Integer,
wFlags As UInteger,
dwhkl As IntPtr) As Integer
User-Defined Types:
None.
Notes:
Convert a ASCI Character into Unicode Character with the Keyboard Layout
Tips & Tricks:
I've had managed heap corruption when calling this, even when the appropriate StringBuilder.Capacity is provided as the cchBuff parameter, unless the SizeConst is also specified on the MarshalAs attribute. If someone more knowledgeable can provide additional information, please edit this.
helpful tips or sample code to share for using this API in managed code?
corrections to the existing content?
variations of the signature you want to share?
additional languages you want to include?
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).