Click here to Skip to main content
15,890,690 members

Comments by jeniusj (Top 4 by date)

jeniusj 13-May-10 8:22am View    
Actually I am trying to format CD/DVD to UDF programatically so that is why I want to implement it through VDS
jeniusj 13-May-10 6:27am View    
But if you look at the following the link it will give VDS object model diagram;
http://msdn.microsoft.com/en-us/library/aa383402(VS.85).aspx
if you transverse through this diagram, then you first get the interface of IVdsServiceLoader, through which you start the VDS service by using IVdsServiceLoader::LoadService(). After that you get the providers by QueryProviders method and from the Provider interface you will get Pack and through QueryVolume, you will get IEnumVdsObject list of Volumes, My problem is that when I am trying to get the IUnkown pointer list form IEnumVdsObject, I failed. It returns me S_FALSE with IUnknwown* = NULL so that I can not use QueryInterface to get IVdsVolume interface, through which I can format the particular drive.
jeniusj 13-May-10 6:16am View    
and another question is that IVdsVolumeMF::Format conatins the file system type CDFS, so it means that CD/DVD can be access through VDS also in windows vista and windows 7 if i delete the fmifs.dll then no prompt occurs
jeniusj 13-May-10 5:47am View    
Thanks Michel for your reply,
Can you please elaborate the use of VDS for formatting Hard Disk prgrammatically.