UWF_Volume.GetExclusions

Gets a list of all file exclusions for a Unified Write Filter (UWF) protected volume.

Syntax

UInt32 GetExclusions(
    [out, EmbeddedInstance("UWF_ExcludedFile")] string ExcludedFiles[]
);

Parameters

ExcludedFiles
[out] An array of UWF_ExcludedFile objects that represent the files and folders that are excluded from UWF filtering for a volume.

Return Value

Returns an HRESULT value that indicates WMI status or a WMI error constant.

Remarks

If GetExclusions does not find any files or folders in the file exclusion list for the volume, GetExclusions sets the ExcludedFiles parameter to null.

Requirements

Windows Edition Supported
Windows Home No
Windows Pro No
Windows Enterprise Yes
Windows Education Yes
Windows IoT Enterprise Yes