DOWNLOAD FULL PROJECT (ZIP FILE)
mciSendString function sends a command string to an MCI device. The device that the command is sent to is specified in the command string.
Syntax :
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
Library :
Parameters :
· lpszCommand
Address of a null-terminated string that specifies an MCI command string. For more information about the command strings, visit HERE
· lpszReturnString
Address of a buffer that receives return information. If no return information is needed, this parameter can be NULL.
· cchReturn
Size, in characters, of the return buffer specified by the lpszReturnString parameter.
· hwndCallback
Handle of a callback window if the notify flag was specified in the command string.
If you have any query to ask or any idea to share then please comment below.