Export (0) Print
Expand All

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

 

 

Show:
© 2014 Microsoft