durjay
Guest
|
Posted:
Thu Sep 15, 2005 8:17 am Post subject:
VFlag Information exceeding the enum value |
|
|
Hi all,
I am new to Microsoft VDS.
I don't have any hardware provider installed on my Windows 2003 system.
I have written a sample program to make use of the VDS API. The purpose of
this program is to query for the volume flag information using the Microsoft
Windows software provider.
Below gives the order in which the VDS interfaces is been used in the
program.
IVdsServiceLoader::LoadService - To Load VDS service
IVdsService::QueryProviders - Query for the software providers
IID_VdsSwProvider::QueryPacks - To get packs managed by the software
provider
IVdsPack::QueryVolumes - To get list of Volumes
IID_VdsVolume::GetProperties - To get the volume information
(VDS_VOLUME_PROP), this contains the vflag info.
When I run vflag utility provided by Microsoft, it gives the value
VDS_VF_INSTALLABLE =0x400. However enum values that I am getting in the
above mentioned sample program is exceeding the last member of the enum
list. i.e. it 0x800686. So it does not match with the vflag utility output.
But the pwszname for the particular volume property I am getting is
\GLOBALROOT\device\Harddiskvolume1 which matches with the vlfag utility
output.
Is there any problem in the order I am querying for volume information?
Thanks in advance for any suggestion.
Regards
Durjay |
|