BASS.NET API for the Un4seen BASS Audio LibraryBassDShowBASS_DSHOW_ChannelAddWindow Method BASS.NET API for the Un4seen BASS Audio Library
Adds a new Video Window to the channel.

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

[DllImportAttribute("xVideo", EntryPoint = "xVideo_ChannelAddWindow")]
public static int BASS_DSHOW_ChannelAddWindow(
	int handle,
	IntPtr hWnd


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

Return Value

Type: Int32
If successful, the new video window handle is returned, else 0 is returned. Use BASS_DSHOW_ErrorGetCode to get the error code.

You can use this function to a new video window to a channel. Adding new windows depends on the hardware capabilities (adding many new windows might result in a high CPU usage). You can use the BASS_DSHOW_ChannelRemoveWindow(Int32, Int32) function to remove an added video window.
See Also