Bewerken

Delen via


FwpsAleEndpointSetSecurityInfo0 function (fwpsk.h)

The FwpsAleEndpointSetSecurityInfo0 function sets security information about the application layer enforcement (ALE) endpoint enumeration session.

Note  FwpsAleEndpointSetSecurityInfo0 is a specific version of FwpsAleEndpointSetSecurityInfo. See WFP Version-Independent Names and Targeting Specific Versions of Windows for more information.
 

Syntax

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
);

Parameters

[in] engineHandle

A handle for an open session with the filter engine. This handle is obtained when a session is opened by calling FwpmEngineOpen0.

[in] securityInfo

A set of security information flags. For more information, see the SECURITY_INFORMATION description in the Installable File Systems driver documentation.

[in, optional] sidOwner

The security identifier of the security owner.

[in, optional] sidGroup

The security identifier of the security group.

[in, optional] dacl

The discretionary access control list.

[in, optional] sacl

The system access control list.

Return value

The FwpsAleEndpointSetSecurityInfo0 function returns one of the following NTSTATUS codes.

Return code Description
STATUS_SUCCESS
The function succeeded.
Other status codes
An error occurred.

Requirements

Requirement Value
Minimum supported client Available starting with Windows 7.
Target Platform Universal
Header fwpsk.h (include Fwpsk.h)
Library Fwpkclnt.lib
IRQL PASSIVE_LEVEL

See also

FwpsAleEndpointEnum0

FwpsAleEndpointGetById0

FwpsAleEndpointGetSecurityInfo0