Share via


IkeextGetStatistics0 (Compact 2013)

3/26/2014

This function retrieves Internet Key Exchange (IKE) statistics.

Syntax

DWORD WINAPI IkeextGetStatistics0(
  __in   HANDLE engineHandle,
  __out  IKEEXT_STATISTICS0* ikeextStatistics
);

Parameters

  • engineHandle
    Handle for an open session to the filter engine generated by a previous call to FwpmEngineOpen0
  • ikeextStatistics
    Address of an IKEEXT_STATISTICS0 structure. On function return, the IKEEXT_STATISTICS0 structure will contain the top-level object of IKE statistics organization.

Return Value

Return code / value

Description

ERROR_SUCCESS

0

The information was retrieved successfully

FWP_E_* error code

0x80320001-0x80320039

A Windows Filtering Platform (WFP) specific error. See topic WFP Error Codes for details.

RPC_* error code

0x80010001-0x80010122

Failure to communicate with the remote or local firewall engine

Remarks

The caller needs FWPM_ACTRL_READ_STATS access to the IKE/AuthIP security associations database. See WFP Access Right Identifiers for more information.

Requirements

Header

fwpmu.h

Library

fwpuclnt.dll

See Also

Reference

WFP IKE Functions
WFP Access Right Identifiers

Other Resources

Windows Filtering Platform