[Lazarus] Recognize a "disk"

Henry Vermaak henry.vermaak at gmail.com
Wed Dec 16 17:05:47 CET 2009


2009/12/16 "ArĂ­ Ricardo Ody" <aro52 at gmx.com>:
> Hi!
>
> Suppose you connect a Handheld running windows mobile via USB cable to a
> windows machine.
>
> Is there a way that I can recognize the new disk added to the system, e.g.,
> determine what of the disks existing in the windows machine is the disk
> added when I connected the handheld?

Google around for examples using the wm_devicechange message.  E.g.
there is a discussion here:

http://www.codeproject.com/KB/dotnet/devicevolumemonitor.aspx

Henry




More information about the Lazarus mailing list