G
Guest
In XP, I used these functions to get a usb device volume to compare, but it
cannot work in Vista
SetupDiGetClassDev ==> get GUID_DEVINTERFACE_VOLUME device
SetupDiEnumDeviceInterface ==> get all volume device
CM_Get_Parent twice ==> get device id for USB
GetVolumeNameForVolumeMountPoint ==> compare
Might anybody help me?
Thx,
cannot work in Vista
SetupDiGetClassDev ==> get GUID_DEVINTERFACE_VOLUME device
SetupDiEnumDeviceInterface ==> get all volume device
CM_Get_Parent twice ==> get device id for USB
GetVolumeNameForVolumeMountPoint ==> compare
Might anybody help me?
Thx,