Retrieves the connected filters to a channel.
Namespace: Un4seen.Bass.AddOn.DShow
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.13.3
Syntax
[DllImportAttribute("xVideo", EntryPoint = "xVideo_ChannelGetConnectedFilters")] public static int BASS_DSHOW_ChannelGetConnectedFilters( int handle, CONNECTEDFILTERSPROC proc, IntPtr user )
Parameters
- handle
- Type: SystemInt32
The video channel handle (as returned by BASS_DSHOW_StreamCreateFile(String, Int32, IntPtr, BASSFlag)). - proc
- Type: Un4seen.Bass.AddOn.DShowCONNECTEDFILTERSPROC
The user defined callback receiving the connected filters (see CONNECTEDFILTERSPROC). - user
- Type: SystemIntPtr
User instance data to pass to the callback function.
Return Value
Type: Int32If successful, the number of connected filters is returns - else 0 is returned (use BASS_DSHOW_ErrorGetCode to get the error code).
Remarks
When using as a proc callback value this will return the number of connected filters only.
Another way to get the connected filters is by using the BASS_DSHOW_CallbackItemByIndex(BASSDSHOWCallbackItem, Int32) method.
See Also