Retrieves the version number of the BASS_DSHOW.DLL that is loaded.
Namespace: Un4seen.Bass.AddOn.DShow
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.13.3
Syntax
[DllImportAttribute("xVideo", EntryPoint = "xVideo_GetVersion")] public static int BASS_DSHOW_GetVersion()
Return Value
Type: Int32The BASS_DSHOW version. For example, 0x02040103 (hex), would be version 2.4.1.3.
Remarks
You might use the global constant BASSDSHOWVERSION to check the major revision.
Note: Calling this method will also automatically load the library into memory.
Examples
VB
If Utils.HighWord(BassDShow.BASS_DSHOW_GetVersion()) <> BassDShow.BASSDSHOWVERSION Then MessageBox.Show(Me, "Wrong BassDShow Version!") End If
if ( Utils.HighWord(BassDShow.BASS_DSHOW_GetVersion()) != BassDShow.BASSDSHOWVERSION ) { MessageBox.Show(this, "Wrong BassDShow Version!"); }
VB
If BassDShow.BASS_DSHOW_GetVersion() < Utils.MakeLong(&H103, &H204) Then MessageBox.Show(Me, "Wrong BassDShow Version!") End If
if (BassDShow.BASS_DSHOW_GetVersion() < Utils.MakeLong(0x0103, 0x0204)) { MessageBox.Show(this, "Wrong BassDShow Version!"); }
See Also