WTS_CLIENT_DISPLAY structure (wtsapi32.h)
Contains information about the display of a Remote Desktop Connection (RDC) client.
Syntax
typedef struct _WTS_CLIENT_DISPLAY {
DWORD HorizontalResolution;
DWORD VerticalResolution;
DWORD ColorDepth;
} WTS_CLIENT_DISPLAY, *PWTS_CLIENT_DISPLAY;
Members
HorizontalResolution
Horizontal dimension, in pixels, of the client's display.
VerticalResolution
Vertical dimension, in pixels, of the client's display.
ColorDepth
Color depth of the client's display. This member can be one of the following values.
1
4 bits per pixel.
2
8 bits per pixel.
4
16 bits per pixel.
8
A 3-byte RGB values for a maximum of 2^24 colors.
16
15 bits per pixel.
24
24 bits per pixel.
32
32 bits per pixel.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Header | wtsapi32.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for