UWF_Volume.FindExclusion

Checks if a specific file or folder is in the exclusion list for a volume protected by Unified Write Filter (UWF).

Syntax

UInt32 FindExclusion (
    [in] string FileName,
    [out] boolean bFound 
);

Parameters

FileName
[in] A string that contains the full path of the file or folder relative to the volume.

bFound
[out] Indicates if FileName is in the file exclusion list for the volume.

Return Value

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

Remarks

FindExclusion sets bFound to true only for file and folder exclusions that have been explicitly added to the exclusion list. Files and subfolders that are in an excluded folder are not identified as excluded by FindExclusion, unless they have been explicitly excluded.

Requirements

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