WTS_SERVER_INFOA structure (wtsapi32.h)

Contains information about a specific Remote Desktop Services server.

Syntax

typedef struct _WTS_SERVER_INFOA {
  LPSTR pServerName;
} WTS_SERVER_INFOA, *PWTS_SERVER_INFOA;

Members

pServerName

Name of the server.

Remarks

Note

The wtsapi32.h header defines WTS_SERVER_INFO as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Header wtsapi32.h

See also

WTSEnumerateServers