[Lazarus] Recognize a "disk"

cobines cobines at gmail.com
Wed Dec 16 17:10:09 CET 2009


2009/12/16 Felipe Monteiro de Carvalho <felipemonteiro.carvalho at gmail.com>:
> 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.

Capturing WM_DEVICECHANGE message with wParam=DBT_DEVICEARRIVAL might helpful.

--
cobines




More information about the Lazarus mailing list