这是我的键盘:
-----------------------------------
Win32_Keyboard instance
-----------------------------------
Availability:
Caption: Enhanced (101- or 102-key)
ConfigManagerErrorCode: 0
ConfigManagerUserConfig: False
CreationClassName: Win32_Keyboard
Description: Standard PS/2 Keyboard
DeviceID: ACPI\PNP0303\4&844A824&0
ErrorCleared:
ErrorDescription:
InstallDate:
IsLocked:
LastErrorCode:
Layout: 00000409
Name: Enhanced (101- or 102-key)
NumberOfFunctionKeys: 12
Password:
PNPDeviceID: ACPI\PNP0303\4&844A824&0
PowerManagementCapabilities:
PowerManagementSupported: False
Status: OK
StatusInfo:
SystemCreationClassName: Win32_ComputerSystem
我试图使用" CreateFile"适用于磁盘,也适用于键盘。 到目前为止没有运气。 有线索吗?
答案 0 :(得分:0)
Private Sub TextBox1_KeyDown(sender As Object,e As KeyEventArgs)处理TextBox1.KeyDown
Dim hnd As IntPtr = sender.handle()
End Sub