Skip to content

Latest commit

 

History

History
156 lines (118 loc) · 4.5 KB

nf-fwpmu-ipsecsadbgetsecurityinfo0.md

File metadata and controls

156 lines (118 loc) · 4.5 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:fwpmu.IPsecSaDbGetSecurityInfo0
IPsecSaDbGetSecurityInfo0 function (fwpmu.h)
Retrieves a copy of the security descriptor for the IPsec security association (SA) database.
IPsecSaDbGetSecurityInfo0
IPsecSaDbGetSecurityInfo0 function [Filtering]
fwp.ipsecsadbgetsecurityinfo0
fwpmu/IPsecSaDbGetSecurityInfo0
fwp\ipsecsadbgetsecurityinfo0.htm
fwp
19121de3-91bc-4dca-94f8-599a43bb1e68
12/05/2018
IPsecSaDbGetSecurityInfo0, IPsecSaDbGetSecurityInfo0 function [Filtering], fwp.ipsecsadbgetsecurityinfo0, fwpmu/IPsecSaDbGetSecurityInfo0
fwpmu.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Fwpuclnt.lib
Fwpuclnt.dll
Windows
19H1
IPsecSaDbGetSecurityInfo0
fwpmu/IPsecSaDbGetSecurityInfo0
c++
APIRef
kbSyntax
DllExport
Fwpuclnt.dll
IPsecSaDbGetSecurityInfo0

IPsecSaDbGetSecurityInfo0 function

-description

The IPsecSaDbGetSecurityInfo0 function retrieves a copy of the security descriptor for the IPsec security association (SA) database.

-parameters

-param engineHandle [in]

Type: HANDLE

Handle for an open session to the filter engine. Call FwpmEngineOpen0 to open a session to the filter engine.

-param securityInfo [in]

Type: SECURITY_INFORMATION

The type of security information to retrieve.

-param sidOwner [out, optional]

Type: PSID*

The owner security identifier (SID) in the returned security descriptor.

-param sidGroup [out, optional]

Type: PSID*

The primary group security identifier (SID) in the returned security descriptor.

-param dacl [out, optional]

Type: PACL*

The discretionary access control list (DACL) in the returned security descriptor.

-param sacl [out, optional]

Type: PACL*

The system access control list (SACL) in the returned security descriptor.

-param securityDescriptor [out]

Type: PSECURITY_DESCRIPTOR*

The returned security descriptor.

-returns

Type: DWORD

Return code/value Description
ERROR_SUCCESS
0
The security descriptor was retrieved successfully.
FWP_E_* error code
0x80320001—0x80320039
A Windows Filtering Platform (WFP) specific error. See WFP Error Codes for details.
RPC_* error code
0x80010001—0x80010122
Failure to communicate with the remote or local firewall engine.

-remarks

The returned securityDescriptor parameter must be freed through a call to FwpmFreeMemory0. The other four (optional) returned parameters must not be freed, as they point to addresses within the securityDescriptor parameter.

This function behaves like the standard Win32 GetSecurityInfo function. The caller needs the same standard access rights as described in the GetSecurityInfo reference topic.

IPsecSaDbGetSecurityInfo0 is a specific implementation of IPsecSaDbGetSecurityInfo. See WFP Version-Independent Names and Targeting Specific Versions of Windows for more information.

-see-also

IPsecSaDbSetSecurityInfo