I have some c code with me which detects the usb cable removal and insertion.
I found one structure DEV_BROADCAST_DEVICEINTERFACE
which is having dbcc_name
as member. but I don't know which pointer to type cast to this structure to access dbcc_name
.
How can I get the device name of the inserted device.