BASS.NET API for the Un4seen BASS Audio LibraryBassDShowBASS_DSHOW_GetVideoAlpha Method BASS.NET API for the Un4seen BASS Audio Library
Gets a video window layer alpha blend value.

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

[DllImportAttribute("xVideo", EntryPoint = "xVideo_GetVideoAlpha")]
public static float BASS_DSHOW_GetVideoAlpha(
	int handle,
	int win,
	int layer
)

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

Return Value

Type: Single
If an error occurred then -1 is returned, else the alpha blend value is returned (use BASS_DSHOW_ErrorGetCode to get the error code).
See Also

Reference