FwpsAleEndpointDestroyEnumHandle0 function

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(
  HANDLE engineHandle,
  HANDLE enumHandle
);

Parameters

engineHandle

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

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

   
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