BASS.NET API for the Un4seen BASS Audio LibraryBassDShowBASS_DSHOW_CaptureDeviceProfiles Method BASS.NET API for the Un4seen BASS Audio Library
Gets the available audio or video capture device profiles.

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

[DllImportAttribute("xVideo.dll", EntryPoint = "xVideo_CaptureDeviceProfiles", 
	CharSet = CharSet.Auto)]
public static int BASS_DSHOW_CaptureDeviceProfiles(
	int device,
	BASSDSHOWCapture deviceType,
	ENUMPROFILESPROC proc,
	IntPtr user
)

Parameters

device
Type: SystemInt32
The device you want to get then profiles from (see BASS_DSHOW_CaptureGetDevices(BASSDSHOWCapture, ENUMDEVICESPROC, IntPtr)).
deviceType
Type: Un4seen.Bass.AddOn.DShowBASSDSHOWCapture
The type of capture device to get (one of the BASSDSHOWCapture values, either audio or video).
proc
Type: Un4seen.Bass.AddOn.DShowENUMPROFILESPROC
The user defined callback receiving the available capture devices (see ENUMPROFILESPROC).
user
Type: SystemIntPtr
User instance data to pass to the callback function.

Return Value

Type: Int32
If successful, the number of available capture device profiles are returned - else 0 is returned (use BASS_DSHOW_ErrorGetCode to get the error code).
See Also

Reference