Freigeben über


INET_PORT_RANGE Structure

The INET_PORT_RANGE structure provides input data used by the SIO_ACQUIRE_PORT_RESERVATION IOCTL to acquire a runtime reservation for a block of TCP or UDP ports.

Syntax

typedef struct _INET_PORT_RANGE {
  USHORT StartPort;
  USHORT NumberOfPorts;
} INET_PORT_RANGE, *PINET_PORT_RANGE;

Mitglieder

  • StartPort
    The starting TCP or UDP port number. If this parameter is set to zero, the system will choose a starting TCP or UDP port number.

  • NumberOfPorts
    The number of TCP or UDP port numbers to reserve.

Hinweise

The INET_PORT_RANGE structure is supported on Windows Vista and later.

The INET_PORT_RANGE structure is the datatype passed in the input buffer to the SIO_ACQUIRE_PORT_RESERVATION IOCTL. This IOCTL is used to acquire a runtime reservation for a block of TCP or UDP ports.

The INET_PORT_RANGE structure is typedefed to the INET_PORT_RESERVATION structure.

Anforderungen

Mindestens unterstützter Client

Windows Vista

Mindestens unterstützter Server

Windows Server 2008

Header

Mstcpip.h

Siehe auch

CreatePersistentTcpPortReservation

CreatePersistentUdpPortReservation

DeletePersistentTcpPortReservation

DeletePersistentUdpPortReservation

INET_PORT_RESERVATION_INSTANCE

INET_PORT_RESERVATION_TOKEN

LookupPersistentTcpPortReservation

LookupPersistentUdpPortReservation

SIO_ACQUIRE_PORT_RESERVATION

SIO_ASSOCIATE_PORT_RESERVATION

SIO_RELEASE_PORT_RESERVATION