FwpsAleEndpointSetSecurityInfo0 函数 (fwpsk.h)

FwpsAleEndpointSetSecurityInfo0 函数设置有关应用层强制实施 (ALE) 终结点枚举会话的安全信息。

注意FwpsAleEndpointSetSecurityInfo0FwpsAleEndpointSetSecurityInfo 的特定版本。 有关详细信息 ,请参阅 WFP Version-Independent 名称和面向 Windows 的特定版本
 

语法

NTSTATUS FwpsAleEndpointSetSecurityInfo0(
  [in]           HANDLE               engineHandle,
  [in]           SECURITY_INFORMATION securityInfo,
  [in, optional] const SID            *sidOwner,
  [in, optional] const SID            *sidGroup,
  [in, optional] const ACL            *dacl,
  [in, optional] const ACL            *sacl
);

参数

[in] engineHandle

使用筛选器引擎的打开会话的句柄。 通过调用 FwpmEngineOpen0 打开会话时,将获取此句柄。

[in] securityInfo

一组安全信息标志。 有关详细信息,请参阅可安装的文件系统驱动程序文档中 的SECURITY_INFORMATION 说明。

[in, optional] sidOwner

安全所有者的安全标识符。

[in, optional] sidGroup

安全组的安全标识符。

[in, optional] dacl

任意访问控制列表。

[in, optional] sacl

系统访问控制列表。

返回值

FwpsAleEndpointSetSecurityInfo0 函数返回以下 NTSTATUS 代码之一。

返回代码 说明
STATUS_SUCCESS
函数成功。
其他状态代码
出现了错误。

要求

要求
最低受支持的客户端 从 Windows 7 开始可用。
目标平台 通用
标头 fwpsk.h (包括 Fwpsk.h)
Library Fwpkclnt.lib
IRQL PASSIVE_LEVEL

另请参阅

FwpsAleEndpointEnum0

FwpsAleEndpointGetById0

FwpsAleEndpointGetSecurityInfo0