OnYoutubeEvents event |
|
Remarks
Occurs when a mouse action happens over the waveform scroller.
This event replaces the usage of the CallbackForYoutubeEvents delegate delegate and is only intended for usage with applications developed using Visual Basic 6 (which results unreliable when dealing with delegates and callbacks) and, in order to be enabled, requires a call to the COMEventEnable method with the nEventType parameter set to EVENT_TYPE_YOUTUBE.
For further details about callback delegates see the How to synchronize the container application with the API tutorial.
For details about management of Youtube connections refer to How to enumerate and download video/audio clips from Youtube tutorial.
Syntax
[Visual Basic 6] Private Sub DjStudioApi_OnYoutubeEvents ( ByVal nEvent as enumYoutubeEvents, ByVal nResult as enumErrorCodes, ByVal nData1 as Int32, ByVal nData2 as Int32, ByVal pBufferUnicode as IntPtr, ByVal nBufferLength as Int32 )
where "DjStudioApi" is declared in Visual Basic 6 code as:
Dim WithEvents DjStudioApi As AudioDjStudioApi.AudioDjStudioApiObj |
Event Data
Parameter |
Description |
|||||||||||||||||||||
|
|
|||||||||||||||||||||
nEvent |
Event reported . Supported values are the following:
|
|||||||||||||||||||||
nResult |
Zero-based index of the player reporting the event |
|||||||||||||||||||||
nData1 |
First 32 bits integer value containing event specific data; its value and meaning depends upon the specific event received: see the table above for possible values. |
|||||||||||||||||||||
nData2 |
Second 32 bits integer value containing event specific data; its value and meaning depends upon the specific event received: see the table above for possible values. |
|||||||||||||||||||||
pBufferUnicode |
Reserved for future uses |
|||||||||||||||||||||
nBufferLength |
Reserved for future uses |