VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Multimedia Module 1.0. A module with all the basic sub-routines and functions required to interface

Jonathan Liu  (9 Submissions)   Sound/MP3   VB 6.0   Unknown Difficulty   Thu 7th February 2002   Mon 8th February 2021

Multimedia Module 1.0. A module with all the basic sub-routines and functions required to interface with MCI in order to play all kinds of

API Declarations


'by Buttress Root Software
'
'Programmed by Jonathan Liu
'Copyright ©1999-2371 Buttress Root Software. All rights reserved.

Option Explicit
Private Declare Function GetShortPathName Lib "kernel32" _
Alias "GetShortPathNameA" (ByVal lpszLongPath As String, _
ByVal lpszShortPath As String, ByVal cchBuffer As Long) As Long
Private Declare Function mciSendString Lib "winmm.dll" _
Alias "mciSendStringA" (ByVal lpstrCommand As String, _
ByVal lpstrReturnString As String, ByVal uReturnLength As Long, _
ByVal hwndCallback As Long) As Long
Private blnReturnSeekingStatus As Boolean
Private strStatus As String
Private mmAliases() As mmAlias
Public Const MM_ALIAS_ALREADY_EXISTS = 289
Public Const MM_ALIAS_NOT_EXIST = 263
Public Const MM_PAUSE_FAILED = 302
Public Const MM_PAUSE_FAILED_NOT_PLAYING = 302
Public Const MM_PAUSE_FAILED_NOT_EXIST = 263
Public Const MM_STOP_FAILED = 263
Public Const MM_INVALID_MULTIMEDIA = "invalid_multimedia"
Public Const MM_COMMAND_SUCCESSFUL = 0
Public Const MM_COMMAND_FAILED = 263

Private Type mmAlias
Alias As String
FileName As String
Handle As Long
End Type

Private Type mmRawID3Tags
Tag As String * 3
SongName As String * 30
Artist As String * 30
Album As String * 30
Year As String * 4
Comment As String * 30
Genre As String * 1
End Type

Public Type mmID3Tags
Tag As String
SongName As String
Artist As String
Album As String
Year As String
Comment As String
Genre As String
End Type

Rate Multimedia Module 1.0. A module with all the basic sub-routines and functions required to interface (2(2 Vote))
Multimedia Module 1.0. A module with all the basic sub-routines and functions required to interface.bas

Multimedia Module 1.0. A module with all the basic sub-routines and functions required to interface Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters