BASS.NET API for the Un4seen BASS Audio LibraryBassDShowBASS_DSHOW_ChannelRepaint Method BASS.NET API for the Un4seen BASS Audio Library
Repaints a window less video renderer.

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

[DllImportAttribute("xVideo.dll", EntryPoint = "xVideo_ChannelRepaint", 
	CharSet = CharSet.Auto)]
public static bool BASS_DSHOW_ChannelRepaint(
	int handle,
	IntPtr win,
	IntPtr hdc
)

Parameters

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

Return Value

Type: Boolean
If an error occurred then is returned, else is returned (use BASS_DSHOW_ErrorGetCode to get the error code).
Remarks

Sometimes window less video renderers needs to be repainted manually (e.g. if they cannot receive the WM_PAINT message).
See Also

Reference