How to create a system restore point?

2019-02-19 05:35发布

问题:

Installing paint.net, I found a string Creating system restore point...
I guess it is creating a restore point for Volume Shadow Service. -Isn't it? I'm not sure.

If I'm right, how do I do this in my app?
Let me know please if there are proper Apis.

回答1:

You can do this using the System Restore API.

See the documentation for the SRSetRestorePoint function, along with adetailed example.