CB_TARGET_INFO structure

Contains information about the target computer and IP addresses where incoming connections should be redirected. This structure is used with the IConnectionBrokerClient::GetTargetInfo method.

Syntax

typedef struct {
  WCHAR ServerName[128];
  DWORD AddressCount;
  WCHAR Addresses[CB_MAX_ADDRESSES][CB_IPADDRESS_LEN];
} CB_TARGET_INFO, *PCB_TARGET_INFO;

Members

ServerName

Represents the fully qualified domain name of the target server. For a Remote Desktop virtualization (RDV) scenario, this member is NULL. For a Remote Desktop session host (RDSH) scenario, this member contains the server name where the incoming connection is redirected.

AddressCount

The number of valid entries in the Addresses array.

Addresses

An array of strings that contain the IP addresses where the incoming connections are redirected. The number of valid elements in this array is specified in the AddressCount member.

Requirements

Requirement Value
Minimum supported client
Windows 8
Minimum supported server
Windows Server 2012
Header
Cbclient.h

See also

IConnectionBrokerClient::GetTargetInfo