BASS.NET API for the Un4seen BASS Audio LibraryBassDShowBASS_DSHOW_ChannelEnumerateStreams Method BASS.NET API for the Un4seen BASS Audio Library
Enumerates connected streams on a video handle.

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

[DllImportAttribute("xVideo.dll", EntryPoint = "xVideo_ChannelEnumerateStreams", 
	CharSet = CharSet.Auto)]
public static int BASS_DSHOW_ChannelEnumerateStreams(
	int handle,
	VIDEOSTREAMSPROC proc,
	IntPtr user
)

Parameters

handle
Type: SystemInt32
The video channel handle (as e.g. returned by BASS_DSHOW_StreamCreateFile(String, Int32, IntPtr, BASSFlag)).
proc
Type: Un4seen.Bass.AddOn.DShowVIDEOSTREAMSPROC
The callback function (see VIDEOSTREAMSPROC) to retrieve the stream information.
user
Type: SystemIntPtr
User instance data to pass to the callback function.

Return Value

Type: Int32
If successfull, the number of streams are returned, else 0 is returned (use BASS_DSHOW_ErrorGetCode to get the error code).
See Also

Reference