NC_ADDRESS structure (shellapi.h)

Contains information that describes a network address.

Syntax

typedef struct tagNC_ADDRESS {
  struct NET_ADDRESS_INFO_ *pAddrInfo;
  USHORT                   PortNumber;
  BYTE                     PrefixLength;
} NC_ADDRESS, *PNC_ADDRESS;

Members

pAddrInfo

Type: NET_ADDRESS_INFO*

A pointer to a NET_ADDRESS_INFO structure that describes the network address, either a named address or an IP address.

PortNumber

Type: USHORT

The network port number, if the address described by pAddrInfo is an IP address.

PrefixLength

Type: BYTE

The prefix length corresponding to the address, if the address described by pAddrInfo is an IP address.

Remarks

This structure is sent with the NetAddr_GetAddress macro.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header shellapi.h