BASS.NET API for the Un4seen BASS Audio LibraryBassDShowBASS_DSHOW_ChannelColorRange Method (Int32, BASSDSHOWColorControl, BASS_DSHOW_COLORRANGE)BASS.NET API for the Un4seen BASS Audio Library
Retrieves the color controls range (min,max,step).

Namespace: Un4seen.Bass.AddOn.DShow
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.12.0
Syntax

[DllImportAttribute("xVideo.dll", EntryPoint = "xVideo_ChannelColorRange", 
	CharSet = CharSet.Auto)]
public static bool BASS_DSHOW_ChannelColorRange(
	int handle,
	BASSDSHOWColorControl id,
	out BASS_DSHOW_COLORRANGE ctrl
)

Parameters

handle
Type: SystemInt32
The video channel handle (as returned by BASS_DSHOW_StreamCreateFile(String, Int32, IntPtr, BASSFlag)).
id
Type: Un4seen.Bass.AddOn.DShowBASSDSHOWColorControl
One of the following (see BASSDSHOWColorControl):
BASS_DSHOW_ControlBrightnessUse this to get the brightness value ranges.
BASS_DSHOW_ControlContrastUse this to get the contrast value ranges.
BASS_DSHOW_ControlHueUse this to get the hue value ranges.
BASS_DSHOW_ControlSaturationUse this to get the saturation value ranges.
ctrl
Type: Un4seen.Bass.AddOn.DShowBASS_DSHOW_COLORRANGE
An instance of the BASS_DSHOW_COLORRANGE structure to set the range info to.

Return Value

Type: Boolean
If an error occurred then is returned, else is returned (use BASS_DSHOW_ErrorGetCode to get the error code).
Remarks

This function was tested successfully on VMR9. It may work on other renderers and also will depend on the hardware capabilities.
See Also

Reference