FWPM_SYSTEM_PORTS_BY_TYPE0 structure (fwpmtypes.h)

The FWPM_SYSTEM_PORTS_BY_TYPE0 structure contains information about the system ports of a specified type.

Syntax

typedef struct FWPM_SYSTEM_PORTS_BY_TYPE0_ {
  FWPM_SYSTEM_PORT_TYPE type;
  UINT32                numPorts;
  UINT16                *ports;
} FWPM_SYSTEM_PORTS_BY_TYPE0;

Members

type

An FWPM_SYSTEM_PORT_TYPE enumeration that specifies the type of port.

numPorts

The number of ports of the specified type.

ports

Array of IP port numbers for the specified type.

Remarks

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

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header fwpmtypes.h

See also

FWPM_SYSTEM_PORT_TYPE

Windows Filtering Platform API Structures