Copyright © 2006-2023 MultiMedia Soft

COMEventEnable method

Previous pageReturn to chapter overviewNext page

Remarks

 

Enables management of a specific type of COM event for legacy COM clients like Visual Basic 6 which are not fully compatible with the usage.of delegates and callbacks.

It's strongly recommended to avoid the usage of this method when developing through Visual Studio .NET.

 

See the Events for Visual Basic 6 COM interoperability section for the full list of available events.

For further details about callback delegates see the How to synchronize the container application with the API tutorial.

 

 

Syntax

 

[Visual Basic]

Public Sub COMEventEnable (

nEventType as enumEventTypes

)


 

[C#]

public void COMEventEnable (

enumEventTypes nEventType

);


 

[C++]

public: void COMEventEnable (

enumEventTypes nEventType

);


 

 

Parameter

Description

 

 

nEventType

Number representing the instance of the BASS module whose handle is needed.

Supported values are the following:

Mnemonic constant

Value

Meaning

EVENT_TYPE_RECORDER

0

Enables the OnRecorderEvents management routine

EVENT_TYPE_REC_SOUND_DONE

1

Enables the OnSoundPlaybackDone management routine

EVENT_TYPE_REC_SOUND_STATUS_CHANGED

2

Enables the OnSoundPlaybackStatusChanged management routine

EVENT_TYPE_REC_WAVE_SEL_CHANGED

3

Enables the OnWaveformAnalyzerSelection management routine

EVENT_TYPE_REC_WAVE_RANGE_CHANGED

4

Enables the OnWaveformAnalyzerRange management routine

EVENT_TYPE_REC_WAVE_WIDTH_CHANGED

5

Enables the OnWaveformAnalyzerWidth management routine

EVENT_TYPE_REC_WAVE_MOUSE

6

Enables the OnWaveformAnalyzerMouseNotif management routine

EVENT_TYPE_REC_WAVE_VERT_LINE_MOVED

7

Enables the OnWaveformAnalyzerLineMoved management routine

EVENT_TYPE_REC_WAVE_VERT_LINE_REACHED

8

Enables the OnWaveformAnalyzerLineReached management routine

EVENT_TYPE_REC_WAVE_PAINT_DONE

9

Enables the OnWaveformAnalyzerPaintDone management routine

EVENT_TYPE_REC_WAVE_SCROLL_MOUSE

10

Enables the OnWaveformScrollerMouseNotif management routine

EVENT_TYPE_REC_WAVE_SCROLL_MANUAL

11

Enables the OnWaveformScrollerManualScroll management routine

EVENT_TYPE_REC_WAVE_HORZ_LINE_MOVED

12

Enables the OnWaveformAnalyzerHorzLineMoved management routine

EVENT_TYPE_REC_WAVE_HORZ_LINE_REACHED

13

Enables the OnWaveformAnalyzerHorzLineReached management routine

EVENT_TYPE_REC_WAVE_HORZ_LINE_LEAVED

14

Enables the OnWaveformAnalyzerHorzLineLeaved management routine

EVENT_TYPE_REC_WAVE_RANGE_REACHED

15

Enables the OnWaveformAnalyzerWaveRangeReached management routine

EVENT_TYPE_REC_WAVE_RANGE_LEAVED

17

Enables the OnWaveformAnalyzerWaveRangeLeaved management routine

EVENT_TYPE_REC_WAVE_ITEM_CLICK

18

Enables the OnWaveformAnalyzerGraphicItemClick management routine

EVENT_TYPE_REC_WAVE_ITEM_DBL_CLICK

19

Enables the OnWaveformAnalyzerGraphicItemDblClick management routine

EVENT_TYPE_REC_VU_METER

20

Enables the OnVuMeterValueChange management routine

EVENT_TYPE_REC_COREAUDIO

21

Enables the OnCoreAudioEvents management routine

EVENT_TYPE_REC_WAVE_SPECTRAL_START

22

Enables the OnWaveAnalyzerSpectralViewStart management routine

EVENT_TYPE_REC_WAVE_SPECTRAL_DONE

23

Enables the OnWaveAnalyzerSpectralViewDone management routine

EVENT_TYPE_REC_DEVICE_CHANGE

24

Enables the OnDeviceChange management routine

EVENT_TYPE_REC_ZIP_PERC

25

Enables the OnZipOperationPerc management routine

EVENT_TYPE_REC_WAVEFORM_VALUE

26

Enables the OnWaveformValueChange management routine

EVENT_TYPE_REC_DOWNLOADER

27

Enables the OnDownloaderEvents management routine

 

 

Return value

 

None