FwpsAleEndpointDestroyEnumHandle0 function (fwpsk.h)

The FwpsAleEndpointDestroyEnumHandle0 function destroys an endpoint enumeration handle that was created by calling FwpsAleEndpointCreateEnumHandle0.

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

Syntax

NTSTATUS FwpsAleEndpointDestroyEnumHandle0(
  [in]      HANDLE engineHandle,
  [in, out] HANDLE enumHandle
);

Parameters

[in] engineHandle

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

[in, out] enumHandle

The enumeration handle created by a previous call to FwpsAleEndpointCreateEnumHandle0.

Return value

The FwpsAleEndpointDestroyEnumHandle0 function returns one of the following NTSTATUS codes.

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

Remarks

When endpoint enumeration is complete, the enumeration handle must be destroyed by calling FwpsAleEndpointDestroyEnumHandle0.

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

FwpsAleEndpointCreateEnumHandle0