Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
RequestColorDepthChange method

IRDPSRAPIViewer::RequestColorDepthChange method

Requests a color depth change on the sharer Winlogon user session.

Syntax


HRESULT RequestColorDepthChange(
  [inlong Bpp
);

Parameters

Bpp [in]

Type: long

Specifies the color depth of the session in bits per pixel. Possible values are 16 and 24. If you specify a value of 8, the color depth is set to 16 bits per pixel.

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

Return value

Type: HRESULT

If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.

Requirements

Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

RdpEncomAPI.h

IDL

RdpEncomAPI.idl

Type library

RdpEncomAPI.tlb

DLL

RdpEncom.dll

See also

IRDPSRAPIViewer

 

 

Show:
© 2015 Microsoft