seb
Guest
|
Posted:
Wed Aug 11, 2004 5:55 pm Post subject:
VSS SDK : Writer question |
|
|
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 |
|
KeithHa [MSFT]
Guest
|
Posted:
Fri Sep 10, 2004 7:44 pm Post subject:
Re: VSS SDK : Writer question |
|
|
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 |
|
|