G
George
I want use the system restore function through my own application in the
XPE, and I check the system restore in the MSDN.There are two functions
about the system restore. One is SRRemoveRestorePoint() and the other is
SRSetRestorePoint().
I see the SRSetRestorePoint() function, it says "Specifies the beginning and
the ending of a set of changes so that System Restore can create a restore
point".
1. In the code sample of the MSDN, it says the beginning of the restore
point should be marked. What does the beginning restore point do when it
marked. I see it already create the restore point, and I use the file
monitor, it also save the files in the _restore folder.
2. In the code sample of the MSDN, at the end it marked the ending of the
restore point. What does the end do?I see nothing in the File monitor
function. And if I not end the restore point it seems also no effect about
the system restore.
3. If I use the system restore in the Windows XP, not use code, what does it
really do in the OS? Does it alse have the begin and end system restore
point?
I guess in the system restore, if I set the beginning of the restore point,
it then create the restore point, and save the protected file. If I set the
ending of the restore point, it then to check the saved file when at the
beginning poing setted, if changed it will save the unchanged and changed
file, this situation just like install the drivers and so on. If no ending
of the restore poing set, it just save the file in the XML list, this
situation just like to use the Windows XP UI to set the system restore. Am I
right?
Where I can find the resource about the syetem restore, I find it in the
MSDN, but i still have some puzzles.
XPE, and I check the system restore in the MSDN.There are two functions
about the system restore. One is SRRemoveRestorePoint() and the other is
SRSetRestorePoint().
I see the SRSetRestorePoint() function, it says "Specifies the beginning and
the ending of a set of changes so that System Restore can create a restore
point".
1. In the code sample of the MSDN, it says the beginning of the restore
point should be marked. What does the beginning restore point do when it
marked. I see it already create the restore point, and I use the file
monitor, it also save the files in the _restore folder.
2. In the code sample of the MSDN, at the end it marked the ending of the
restore point. What does the end do?I see nothing in the File monitor
function. And if I not end the restore point it seems also no effect about
the system restore.
3. If I use the system restore in the Windows XP, not use code, what does it
really do in the OS? Does it alse have the begin and end system restore
point?
I guess in the system restore, if I set the beginning of the restore point,
it then create the restore point, and save the protected file. If I set the
ending of the restore point, it then to check the saved file when at the
beginning poing setted, if changed it will save the unchanged and changed
file, this situation just like install the drivers and so on. If no ending
of the restore poing set, it just save the file in the XML list, this
situation just like to use the Windows XP UI to set the system restore. Am I
right?
Where I can find the resource about the syetem restore, I find it in the
MSDN, but i still have some puzzles.