BASS.NET API for the Un4seen BASS Audio LibraryBassDShowBASS_DSHOW_GetGraph Method BASS.NET API for the Un4seen BASS Audio Library
Gets an instance IGraphBuilder interface of a channel.

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

[DllImportAttribute("xVideo", EntryPoint = "xVideo_GetGraph")]
public static IntPtr BASS_DSHOW_GetGraph(
	int handle


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

Return Value

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

After getting an instance of the IGraphBuilder interface and add reference to it, and used it, the instance must be released by user, or memory leaks will appear.
See Also