BASS.NET API for the Un4seen BASS Audio LibraryBassDShowBASS_DSHOW_SetVideoAlpha Method BASS.NET API for the Un4seen BASS Audio Library
Sets a video window alpha blend value.

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

[DllImportAttribute("xVideo.dll", EntryPoint = "xVideo_SetVideoAlpha", 
	CharSet = CharSet.Auto)]
public static bool BASS_DSHOW_SetVideoAlpha(
	int handle,
	int win,
	int layer,
	float alpha
)

Parameters

handle
Type: SystemInt32
The video channel handle (as returned by BASS_DSHOW_StreamCreateFile(String, Int32, IntPtr, BASSFlag)).
win
Type: SystemInt32
A valid window handle as returned by BASS_DSHOW_ChannelAddWindow(Int32, IntPtr) or 0(zero) for the main video window.
layer
Type: SystemInt32
The video layer (0...15).
alpha
Type: SystemSingle
The new alpha blend value (0...100).

Return Value

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

Reference