Skip to content

Latest commit

 

History

History
150 lines (101 loc) · 3.79 KB

ns-wtsapi32-wtsclienta.md

File metadata and controls

150 lines (101 loc) · 3.79 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:wtsapi32._WTSCLIENTA
WTSCLIENTA (wtsapi32.h)
Contains information about a Remote Desktop Connection (RDC) client. (ANSI)
*PWTSCLIENTA
PWTSCLIENT
PWTSCLIENT structure pointer [Remote Desktop Services]
WTSCLIENT
WTSCLIENT structure [Remote Desktop Services]
WTSCLIENTA
WTSCLIENTW
termserv.wtsclient
wtsapi32/PWTSCLIENT
wtsapi32/WTSCLIENT
wtsapi32/WTSCLIENTA
wtsapi32/WTSCLIENTW
termserv\wtsclient.htm
TermServ
864b7560-3f19-4a73-a02b-b82caa88b2de
12/05/2018
*PWTSCLIENTA, PWTSCLIENT, PWTSCLIENT structure pointer [Remote Desktop Services], WTSCLIENT, WTSCLIENT structure [Remote Desktop Services], WTSCLIENTA, WTSCLIENTW, termserv.wtsclient, wtsapi32/PWTSCLIENT, wtsapi32/WTSCLIENT, wtsapi32/WTSCLIENTA, wtsapi32/WTSCLIENTW
wtsapi32.h
Windows
Windows Vista with SP1
Windows Server 2008
WTSCLIENTW (Unicode) and WTSCLIENTA (ANSI)
Windows
WTSCLIENTA, *PWTSCLIENTA
19H1
_WTSCLIENTA
wtsapi32/_WTSCLIENTA
PWTSCLIENTA
wtsapi32/PWTSCLIENTA
WTSCLIENTA
wtsapi32/WTSCLIENTA
c++
APIRef
kbSyntax
HeaderDef
Wtsapi32.h
WTSCLIENT
WTSCLIENTA
WTSCLIENTW

WTSCLIENTA structure

-description

Contains information about a Remote Desktop Connection (RDC) client.

-struct-fields

-field ClientName

The NetBIOS name of the client computer.

-field Domain

The domain name of the client computer.

-field UserName

The client user name.

-field WorkDirectory

The folder for the initial program.

-field InitialProgram

The program to start on connection.

-field EncryptionLevel

The security level of encryption.

-field ClientAddressFamily

The address family. This member can be AF_INET, AF_INET6, AF_IPX, AF_NETBIOS, or AF_UNSPEC.

-field ClientAddress

The client network address.

-field HRes

Horizontal dimension, in pixels, of the client's display.

-field VRes

Vertical dimension, in pixels, of the client's display.

-field ColorDepth

Color depth of the client's display. For possible values, see the ColorDepth member of the WTS_CLIENT_DISPLAY structure.

-field ClientDirectory

The location of the client ActiveX control DLL.

-field ClientBuildNumber

The client build number.

-field ClientHardwareId

Reserved.

-field ClientProductId

Reserved.

-field OutBufCountHost

The number of output buffers on the server per session.

-field OutBufCountClient

The number of output buffers on the client.

-field OutBufLength

The length of the output buffers, in bytes.

-field DeviceId

The device ID of the network adapter.

-remarks

For the ClientAddressFamily member, AF_INET (IPv4) will return in string format, for example "127.0.0.1". AF_INET6 (IPv6) will return in binary form.

Note

The wtsapi32.h header defines WTSCLIENT 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.