We're looking to implement VSS into our C++ project, but cannot find any solid information on what functions/headers need to be used. Here's our goal:
1. Check if file is locked/in use.
2. If it is locked, generate a volume shadow copy of the file/drive
3. Grab the path to the file
-szFilePath = AnotherVSSFunction();
4. Send the path to the zip function
The problem is that I don't know what functions to use to complete my requirements. I have the VSS 7.2 SDK and I looked at the examples. The only applicable one is 'vshadow' but it appears overly complex for my needs. Any ideas or existing code I can take a look at?