UWF_Volume.CommitFile (Industry 8.1)
7/8/2014
Review the use, syntax, parameters, and return values of the UWF_Volume.CommitFile method for Windows Embedded 8.1 Industry (Industry 8.1).
This method commits changes from the overlay to the physical volume for a specified file on a volume protected by Unified Write Filter (UWF).
Syntax
UInt32 CommitFile(
[in] string FileName
);
Parameters
- FileName
[in] A string that contains the path of the file to commit on the overlay, but does not include the drive letter or volume name. For example, “\users\test.dat”.
Return Value
Returns an HRESULT value that indicates WMI status or a WMI error.
Remarks
The FileName must contain the name of a file that exists. The CommitFile method cannot commit a file that does not exist.
You must use an administrator account to change any properties or call any methods that change the configuration settings.