How to load the Index Number of Drives (the Uninitialized and Initialized Drives)

Just starting out? Need help? Post your questions and find answers here.
hoangdiemtinh
User
User
Posts: 97
Joined: Wed Nov 16, 2022 1:51 pm

How to load the Index Number of Drives (the Uninitialized and Initialized Drives)

Post by hoangdiemtinh »

I am newbie, from Viet Nam. Sorry for my bad English.

I am trying load information of Drives (Index + Name + Total Size + Total Partitions) to the ComboBox Gadget, like the picture
.
Image
.
(HD = Hard Disk, RM = Removable = USB FLash, Card Reader)
.
An Uninitialized Drive is no have Letter Drive. Only can get information its via the Index Number of it.
.
But I dont know how to read the Index Drive of the Uninitialized Drive (as this: viewtopic.php?t=80153)
Someone please help me (Prefer WinAPI, then maybe WMI).

Thanks.
Last edited by hoangdiemtinh on Wed Nov 23, 2022 2:57 pm, edited 2 times in total.
PC: Windows 10 x64, 8GB RAM. PB ver: 6.x
--
I love PB5 vs PB6 :)
hoangdiemtinh
User
User
Posts: 97
Joined: Wed Nov 16, 2022 1:51 pm

Re: How to load the Index Number of Drives (the Uninitialized and Initialized Drives)

Post by hoangdiemtinh »

An Uninitialized Drive is no have Letter Drive. Only can get information its via the Index Number of it.
PC: Windows 10 x64, 8GB RAM. PB ver: 6.x
--
I love PB5 vs PB6 :)
Post Reply