BASS.NET API for the Un4seen BASS Audio LibraryBassDShowBASS_DSHOW_ChannelGetState Method BASS.NET API for the Un4seen BASS Audio Library
Gets the current state of a channel (playing/stopped/paused).

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

[DllImportAttribute("xVideo.dll", EntryPoint = "xVideo_ChannelGetState", 
	CharSet = CharSet.Auto)]
public static BASSDSHOWState BASS_DSHOW_ChannelGetState(
	int handle
)

Parameters

handle
Type: SystemInt32
The video channel handle (as returned by BASS_DSHOW_StreamCreateFile(String, Int32, IntPtr, BASSFlag)).

Return Value

Type: BASSDSHOWState
If successful, the current BASSDSHOWState is returns - else -1 is returned (use BASS_DSHOW_ErrorGetCode to get the error code).
See Also

Reference