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: 2.4.13.3
Syntax

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

Parameters

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.
Remarks

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

Reference