WTS_SERVER_INFOW structure (wtsapi32.h)
Contains information about a specific Remote Desktop Services server.
typedef struct _WTS_SERVER_INFOW {
LPWSTR pServerName;
} WTS_SERVER_INFOW, *PWTS_SERVER_INFOW;
pServerName
Name of the server.
Note
The wtsapi32.h header defines WTS_SERVER_INFO as an alias that 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 is not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Header | wtsapi32.h |