次の方法で共有


IMsRdpClient::put_ColorDepth (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

HRESULT put_ColorDepth( 
    LONG colorDepth)
;

Parameters

  • colorDepth
    [in] The preferred 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

The ColorDepth 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::get_ColorDepth