-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
Hello.
This is probably more question than issue.
I created in my project SpdStorageUnit and I can use it after format. I would like to format it myself (in C++) but I can't find any way how to find new disk or volume that was just created by WinSpd. I can enumerate volumes before storage unit is created and again after it's created - new one will be the one I am searching for. I am just looking for proper way using WinSpd API.
I found SpdIoctlGetDevicePath but it doesn't give me correct path, just prefix. I set ClassGuid to SPD_STORAGE_UNIT_PARAMS.Guid and DeviceName to nullptr.
Is there any way how to find \Device\Harddisk... for created Spd storage unit? Thanks.
Metadata
Metadata
Assignees
Labels
No labels