Archived from groups: microsoft.public.win2000.file_system (
More info?)
You can enumerate volumes using FindFirstVolume/FindNextVolume. You can
enumerate volumes or disks using the SetupDiXXX API (Look at
SetupDiEnumDeviceInterfaces(VolumeClassGuid or DiskClassGuid ) ). You can
enumerate the partitions on a disk by calling IOCTL_DISK_GET_DRIVE_LAYOUT.
--
Please do not send e-mail directly to this alias. This alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"alex" <alex.smotritsky@verizon.net> wrote in message
news:uRbXi7DYEHA.2812@TK2MSFTNGP11.phx.gbl...
> how do i enumerate drives/partitions on the local machine with c++?
>
>