Lennie, you're looking for "drive" functions, not "driver functions" :)

GetLogicalDrives, GetDriveType and GetVolumeInformation are among the useful
calls. I haven't used this to test for USB, but the GetDriveType page on
MSDN -
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/g
etdrivetype.asp - says:

To determine whether a drive is a USB-type drive, call
SetupDiGetDeviceRegistryProperty and specify the SPDRP_REMOVAL_POLICY
property.

Wow.

Joe

-----Original Message-----
Hi,

I’m seeking the following driver functions:

-          A function to get a list of all drivers on the the system e.g.:
C:, D: etc.

-          A function to indicate if a driver is a memory disk (USB disk).

-          Function that indicate that you can read and write from or to a
memory stick by providing the driver letter e.g. E:.



Anyone know where I can find these functions?



Using Delphi 6 EE



Kind Regards,



Lennie De Villiers





-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to