Click here to Skip to main content
15,886,724 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
The system broadcasts the DBT_DEVNODES_CHANGED device event when a device(a tablet PC) has been added to or removed from the system.To broadcast this device event, the system uses the WM_DEVICECHANGE message with wParam set to DBT_DEVNODES_CHANGED and lParam set to zero.How can I know additional information about which device has been added to or removed from the system.
Posted

1 solution

You can work with the WMI it should provide Devicename, ID ...

Look in the WMI with "SELECT * FROM Win32_USBControllerDevice" it should have your device in the collection and basicly all parameter windows knows about it.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900