VFlag Information exceeding the enum value
CASTalk.com Forum Index CASTalk.com
Discussion of DSP, FPGA, storage and embedded system.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web castalk.com
VFlag Information exceeding the enum value

 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Storage System
Author Message
durjay
Guest





Posted: Thu Sep 15, 2005 8:17 am    Post subject: VFlag Information exceeding the enum value Reply with quote

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
Back to top
 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Storage System All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Electronics Powered by phpBB