R
Rob
Hi,
I am trying to dectect insertion/removal of devices under XP.
I read : http://www.codeproject.com/KB/system/HwDetect.aspx?display=PrintAll
Things like : DBT_DEVTYP_PORT are NOT received when I plugin my serial2USB
device (a CDC device, having the comport class GUID) Only device-interface
notifications are received.
The dbcc_classguid which is received in my DEV_BROADCAST_DEVICEINTERFACE is
a class-guid (I think), so it does not refer to a specific device. (when I
pugin my keyboard I get a HIDCLASS guid).
I need to know what type of device I plugin, and it's devicename (COM1:, or
KBD1
I tested a lot and did not succeed yet.
Nothing in the Device Management Functions seems to be able to get this
information. The classguid on it's own is too little info I think (2
keyboards would have the same CLASSGUID). What am I missing here ?
Greetings,
Rob.
I am trying to dectect insertion/removal of devices under XP.
I read : http://www.codeproject.com/KB/system/HwDetect.aspx?display=PrintAll
Things like : DBT_DEVTYP_PORT are NOT received when I plugin my serial2USB
device (a CDC device, having the comport class GUID) Only device-interface
notifications are received.
The dbcc_classguid which is received in my DEV_BROADCAST_DEVICEINTERFACE is
a class-guid (I think), so it does not refer to a specific device. (when I
pugin my keyboard I get a HIDCLASS guid).
I need to know what type of device I plugin, and it's devicename (COM1:, or
KBD1
I tested a lot and did not succeed yet.
Nothing in the Device Management Functions seems to be able to get this
information. The classguid on it's own is too little info I think (2
keyboards would have the same CLASSGUID). What am I missing here ?
Greetings,
Rob.