Partager via


IMsRdpClient::get_ColorDepth (Windows Embedded CE 6.0)

1/6/2010

This method gets the color depth, in bits per pixel (bpp), for the control's connection.

Syntax

get_ColorDepth( 
    LONG *pcolorDepth
);

Parameters

  • pcolorDepth
    [out] Specifies the color depth. Values include 8, 15, 16, and 24 bpp.

Return Value

If the method succeeds, S_OK is returned. Any other HRESULT value indicates that the call failed.

Remarks

This property cannot be set when the control is connected.

Requirements

Header discodlg.h, mstsax.idl
Library Mstsax.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IMsRdpClient
IMsRdpClient::put_ColorDepth