INET_PORT_RANGE structure (mstcpip.h)
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, INET_PORT_RESERVATION, *PINET_PORT_RESERVATION;
Members
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.
Remarks
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Header | mstcpip.h |
See also
CreatePersistentTcpPortReservation
CreatePersistentUdpPortReservation
DeletePersistentTcpPortReservation
DeletePersistentUdpPortReservation
INET_PORT_RESERVATION_INSTANCE
LookupPersistentTcpPortReservation
LookupPersistentUdpPortReservation