UWF _ 卷. FindExclusionUWF_Volume.FindExclusion

检查特定文件或文件夹是否位于由统一写入筛选器保护的卷的排除列表中 (UWF) 。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 []包含相对于卷的文件或文件夹的完整路径的字符串。FileName [in] A string that contains the full path of the file or folder relative to the volume.

bFound [out ] 指示 文件名 是否在卷的文件排除列表中。bFound [out] Indicates if FileName is in the file exclusion list for the volume.

返回值Return Value

返回一个 HRESULT 值,该值指示 wmi 状态wmi 错误常数Returns an HRESULT value that indicates WMI status or a WMI error constant.

备注Remarks

对于已显式添加到排除列表中的文件和文件夹排除, FindExclusionbFound 设置为 trueFindExclusion sets bFound to true only for file and folder exclusions that have been explicitly added to the exclusion list. 排除的文件夹中的文件和子文件夹未被标识为 FindExclusion 排除,除非已明确排除它们。Files and subfolders that are in an excluded folder are not identified as excluded by FindExclusion , unless they have been explicitly excluded.

要求Requirements

Windows 版本Windows Edition 支持Supported
Windows 10 家庭版Windows 10 Home No
Windows 10 专业版Windows 10 Pro No
Windows 10 企业版Windows 10 Enterprise Yes
Windows 10 教育版Windows 10 Education Yes

UWF _ 卷UWF_Volume

统一写入筛选器Unified Write Filter