WTS_SESSION_ADDRESS structure (wtsapi32.h)
Contains the virtual IP address assigned to a session. This structure is returned by the WTSQuerySessionInformation function when you specify "WTSSessionAddressV4" for the WTSInfoClass parameter.
Syntax
typedef struct _WTS_SESSION_ADDRESS {
DWORD AddressFamily;
BYTE Address[20];
} WTS_SESSION_ADDRESS, *PWTS_SESSION_ADDRESS;
Members
AddressFamily
A null-terminated string that contains the address family. Always set this member to "AF_INET".
Address[20]
The virtual IP address assigned to the session. The format of this address is identical to that used in the WTS_CLIENT_ADDRESS structure.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 |
Minimum supported server | Windows Server 2008 R2 |
Header | wtsapi32.h |