I am unable to get instance of a dynamic disk, using Storage management API Classes.
I used the sample code for Storage Management Application and modified such that it takes Disk Number as argument for fetching the disk instance.
I get the following error:
Failed to Get an Instance of Disk. Error Code is '6'.
The function returns with Invalid Handle error.
Can someone suggest on how can we fetch the instance of a Dynamic disk using Storage Management API Classes / Functions?