BASS.NET API for the Un4seen BASS Audio LibraryBassDShowBASS_DSHOW_Init Method BASS.NET API for the Un4seen BASS Audio Library
Initialize the DSHOW library. This will initialize the library for use.

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

public static bool BASS_DSHOW_Init(
	IntPtr hWnd,
	BASSDSHOWInit flags
)

Parameters

hWnd
Type: SystemIntPtr
The application's main window or 0 = the current foreground window (use this for console applications).
flags
Type: Un4seen.Bass.AddOn.DShowBASSDSHOWInit
Any combination of these flags (see BASSDSHOWInit):
BASS_DSHOW_DefaultNormal mode.
BASS_DSHOW_MultiThreadEnable multithread mode.

Return Value

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

Call this method prior to any other BASS_DSHOW methods.
See Also

Reference