IRDPSRAPIViewer::RequestColorDepthChange method
Requests a color depth change on the sharer Winlogon user session.
Syntax
HRESULT RequestColorDepthChange( [in] long 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 |
|
|
IDL |
|
|
Type library |
|
|
DLL |
|
See also