BASS.NET API for the Un4seen BASS Audio LibraryBassDShowBASS_DSHOW_ChannelSetDVP Method BASS.NET API for the Un4seen BASS Audio Library
Sets up a user DVP function on a video stream.

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

[DllImportAttribute("xVideo", EntryPoint = "xVideo_ChannelSetDVP")]
public static int BASS_DSHOW_ChannelSetDVP(
	int handle,
	DVPPROC 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.DShowDVPPROC
The callback function (see DVPPROC).
user
Type: SystemIntPtr
User instance data to pass to the callback function.

Return Value

Type: Int32
If successfull, the new DVP handle is returned, else 0 is returned (use BASS_DSHOW_ErrorGetCode to get the error code).
Remarks

DVP functions can be set any time on a channel. A channel support a infinite number of DVP callbacks, and it will be processed in the same order that was added. Use BASS_DSHOW_ChannelRemoveDVP(Int32, Int32) to remove a DVP.
See Also

Reference