[Lazarus] Recognize a "disk"

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Wed Dec 16 16:58:38 CET 2009


Hello,

Here you can find code to list all drives in Windows:

http://wiki.freepascal.org/Windows_Programming_Tips#Listing_all_available_drives

I don't know how to get warned when a drive is added, but as said you
could periodically check the drives, and probably the drive type can
help check if it is a pocketpc or not. I donĀ“t know which type is for
pocketpc but a simple test should show this.

bye,
-- 
Felipe Monteiro de Carvalho




More information about the Lazarus mailing list