VSS SDK : Writer question
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
VSS SDK : Writer question

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





Posted: Wed Aug 11, 2004 5:55 pm    Post subject: VSS SDK : Writer question Reply with quote

Hi,

Writing a VSS aware application, I have noticed that while doing a
backup of files not declared by my application, I'm still receiving the
events OnPrepareSnapshot and OnThaw.

In the OnIdentify, I'm adding my files like this :
hrStatus = pIVssCreateWriterMetadata->AddComponent
(VSS_CT_FILEGROUP,NULL,L"group",L"caption",NULL,0,true,false,false);
hrStatus = pIVssCreateWriterMetadata->AddFilesToFileGroup
(NULL,L"group",(LPCWSTR)wDir,(LPCWSTR)wfileName,FALSE,NULL);

Where wDir is d:\data and wfileName is manager.db

What a I missing ?

Thanks
Seb
Back to top
KeithHa [MSFT]
Guest





Posted: Fri Sep 10, 2004 7:44 pm    Post subject: Re: VSS SDK : Writer question Reply with quote

This is a development question that is best sent to the VSS alias listed in
your SDK.

--
Keith Hageman
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send e-mail directly to this alias. This alias is for
newsgroup purposes only.


"seb" <leplan73@hotmail.com> wrote in message
news:e5Xnpr6fEHA.2928@TK2MSFTNGP10.phx.gbl...
Quote:
Hi,

Writing a VSS aware application, I have noticed that while doing a backup
of files not declared by my application, I'm still receiving the events
OnPrepareSnapshot and OnThaw.

In the OnIdentify, I'm adding my files like this :
hrStatus = pIVssCreateWriterMetadata->AddComponent
(VSS_CT_FILEGROUP,NULL,L"group",L"caption",NULL,0,true,false,false);
hrStatus = pIVssCreateWriterMetadata->AddFilesToFileGroup
(NULL,L"group",(LPCWSTR)wDir,(LPCWSTR)wfileName,FALSE,NULL);

Where wDir is d:\data and wfileName is manager.db

What a I missing ?

Thanks
Seb
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