Dear all,
I would like to know whether i can get the drive information using the:
SP_DEVICE_INTERFACE_DETAIL_DATA's DevicePath
My device path looks like below:
"\?\usb#vid_04f2&pid_0111#5&39fe81e&0&2#{a5dcbf10-6530-11d2-901f-00c04fb951ed}"
Also please tell me in the winapi they say "To determine whether a drive is a USB-type drive, call SetupDiGetDeviceRegistryProperty and specify the SPDRP_REMOVAL_POLICY property."
I too use SetupDiGetDeviceRegistryProperty like below:
while ( !SetupDiGetDeviceRegistryProperty( hDevInfo,&DeviceInfoData, SPDRP_REMOVAL_POLICY,&DataT,( PBYTE )buffer,buffersize,&buffersize ))
But I don't know how can I get the drive type using the above.
there are lots of c++ gurus here.
please help me to solve my problem.
i have been searching for long days
if any clarification in my question i am ready to explain
so please do me favour