PC Review


Reply
Thread Tools Rate Thread

How to detect a USB flash disk ?

 
 
forum
Guest
Posts: n/a
 
      16th Oct 2003


Hello to all,

I would like to automatically detect if a USB Flah disk is plugged or
not on my PC .

with the function GetDriveType( ) I can't know which kind of removable
drive it is, with the types defined .... :
DRIVE_UNKNOWN
DRIVE_NO_ROOT_DIR
DRIVE_REMOVABLE
DRIVE_FIXED
DRIVE_REMOTE
DRIVE_CDROM
DRIVE_RAMDISK


Any idea ? ( I can t do any assumption on the size )

GetVolumeInformation( ) and others functions which return the size in
bytes and the number of cluster are not good to do the job !

Is it possible ?

( to detect Flash memory from one hand and to detect the communication (
USB or Firewire IEEE1394 or ... ) on the other hand )


Any suggestions would be very appreciated ! Thanks
Xavier

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: File corruption consecutive to SATA2 disk to disk transfer => how to detect it ? Rod Speed Storage Devices 0 10th Jul 2011 10:43 PM
Re: File corruption consecutive to SATA2 disk to disk transfer => how to detect it ? Arno Storage Devices 33 9th Jul 2011 04:46 AM
Re: File corruption consecutive to SATA2 disk to disk transfer => howto detect it ? Castor Nageur Storage Devices 25 17th Jun 2011 04:15 PM
Re: File corruption consecutive to SATA2 disk to disk transfer => how to detect it ? willbill Storage Devices 1 16th Jun 2011 09:11 PM
Re: File corruption consecutive to SATA2 disk to disk transfer => how to detect it ? Rod Speed Storage Devices 4 14th Jun 2011 04:17 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:40 AM.