Lazarus

Programming => Operating Systems => Windows => Topic started by: Lampbert on February 13, 2020, 10:04:55 pm

Title: [SOLVED]Win API to get files from external drive?
Post by: Lampbert on February 13, 2020, 10:04:55 pm
Hello,

I use SHGetFolderPathA to "get" files from the music folder "CSIDL_MYMUSIC" and assign their paths to a TStringList.

Is there a Windows function that operates in the same manner but with external drives that are connected to the system instead?

Thanks.
Title: Re: Win API to get files from external drive?
Post by: lainz on February 13, 2020, 10:25:25 pm
See here:
https://forum.lazarus.freepascal.org/index.php/topic,15943.0.html
Title: Re: Win API to get files from external drive?
Post by: Lampbert on February 14, 2020, 01:14:34 pm
Thanks for the link lainz, quick glance and it looks like what I need.
TinyPortal © 2005-2018