Private Declare Function mciSendCommand Lib "winmm.dll" Alias "mciSendCommandA" (ByVal wDeviceID As Long, ByVal uMessage As Long, ByVal dwParam1 As Long, ByRef dwParam2 As Any) As Long
Private Declare Function midiOutSetVolume Lib "winmm.dll" (ByVal uDeviceID As Long, ByVal dwVolume As Long) As Long
Private Declare Function midiOutGetVolume Lib "winmm.dll" (ByVal uDeviceID As Long, lpdwVolume As Long) As Long
Private mvarTitles As Collection
Private mvarIsLyric As Boolean
Private mvarQuarterNote As String
Public Event Playing(ByVal CurrentWord As String, ByVal WordLen As Long, ByVal WordStart As Long, ByVal CurrentText As String, ByVal PreviousText As String, ByVal NextText As String)
Public Event TimePosition(ByVal CurrentTime As Long)
Public Event Status(ByVal Status As Long)
Private mvarVelocity As Integer
Private mvarMusicLength As Long
Private mvarMusicTimeLength As String
Private mvarGetMusicVolume As Long
Private mvarTextLyric As String
Private Type MCI_OPEN_PARMS
dwCallback As Long
wDeviceID As Long
lpstrDeviceType As String
lpstrElementName As String
lpstrAlias As String
End Type
Private OpenParms As MCI_OPEN_PARMS
Private Type MCI_PLAY_PARMS
dwCallback As Long
dwFrom As Long
dwTo As Long
End Type
Private PlayParms As MCI_PLAY_PARMS
E(End Type
Privats Long
E
dwTo TEng, ByVal PreviousText A dwFrom As Long
tts Long3s Long3s Long3s Long3s
Private mvarn reviousText A dwFrom As LongrviousText A ss Long3sEAs MRUongrviousText A ss Long3sEAs MRUongrviousTiceID As Long, lpdwVolu