Retrieves the color controls range (min,max,step).
Namespace: Un4seen.Bass.AddOn.DShow
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.13.3
Syntax
[DllImportAttribute("xVideo", EntryPoint = "xVideo_ChannelColorRange")] 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_ControlBrightness Use this to get the brightness value ranges. BASS_DSHOW_ControlContrast Use this to get the contrast value ranges. BASS_DSHOW_ControlHue Use this to get the hue value ranges. BASS_DSHOW_ControlSaturation Use 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: BooleanIf an error occurred then is returned, else is returned (use BASS_DSHOW_ErrorGetCode to get the error code).
Remarks
See Also