FwpsAleEndpointEnum0 function

The FwpsAleEndpointEnum0 function enumerates application layer enforcement (ALE) endpoints.

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

Syntax

NTSTATUS FwpsAleEndpointEnum0(
  HANDLE                        engineHandle,
  HANDLE                        enumHandle,
  UINT32                        numEntriesRequested,
  FWPS_ALE_ENDPOINT_PROPERTIES0 ***entries,
  UINT32                        *numEntriesReturned
);

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 FwpsAleEndpointDestroyEnumHandle0.

numEntriesRequested

The maximum number of endpoint property entries to return. The actual number of entries enumerated is returned in numEntriesReturned. The actual number is less than the requested number only if fewer endpoints than the requested are present.

entries

A pointer to an array of FWPS_ALE_ENDPOINT_PROPERTIES0 structure pointers. Each structure contains the properties of a single endpoint. The array contains as many elements as the value returned in numEntriesReturned.

numEntriesReturned

On return, the number of elements in the array of endpoint property structures pointed to by entries.

Return Value

The FwpsAleEndpointEnum0 function returns one of the following NTSTATUS codes.

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

Remarks

To enumerate ALE endpoints, the callout driver must first obtain an enumeration handle by calling FwpsAleEndpointCreateEnumHandle0. The handle returned is associated with any parameters specified in the optional enumTemplate parameter of FwpsAleEndpointCreateEnumHandle0.

After obtaining a handle, the callout driver can call FwpsAleEndpointEnum0 to get information about the endpoints that match the enumeration parameters of the handle.

When finished examining endpoint properties, the callout driver must call FwpsAleEndpointDestroyEnumHandle0 to release the system resources associated with the enumeration handle.

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 FwpsAleEndpointDestroyEnumHandle0

FwpsAleEndpointGetById0

FwpsAleEndpointGetSecurityInfo0 FwpsAleEndpointSetSecurityInfo0