Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IRDPSRAPISharingSession::ColorDepth property

Retrieves or sets the color depth for the shared session.

This property is read/write.

Syntax


HRESULT put_ColorDepth(
  [in]   long colorDepth
);

HRESULT get_ColorDepth(
  [out]  long *pColorDepth
);

Property value

Specifies the color depth of the session in bits per pixel (bpp). The color depth is always 32. If you specify any other value, the color depth is set to 32 bpp.

Windows Server 2008 R2:  Possible values are 16 and 24. If you specify a value of 8, the color depth is set to 16 bpp.

Windows Server 2008 and Windows Vista:  Possible values are 8, 16, and 24 bpp.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Rdpencomapi.h

IDL

Rdpencomapi.idl

Type library

Rdpencomapi.tlb

See also

IRDPSRAPISharingSession

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.