UWF_Volume.Protect (Industry 8.1)
7/8/2014
Review the use, syntax, parameters, and return values of the UWF_Volume.Protect method for Windows Embedded 8.1 Industry (Industry 8.1).
This method enables Unified Write Filter (UWF) to protect the volume after the next system restart, if UWF is enabled after the restart.
Syntax
UInt32 Protect();
Parameters
None.
Return Value
Returns an HRESULT value that indicates WMI status or a WMI error.
Remarks
UWF starts protecting the volume after the next device restart in which UWF is enabled.
This method does not enable UWF if it is disabled; you must explicitly enable UWF for the next session to start volume protection by using the USBF_Filter.Enable method of UWF_Filter.