mciExecute
The mciExecute function sends a command to an MCI device. The device that the command is sent to is specified in the command string.
(Obsolete; retained for backward compatibility.)
BOOL mciExecute(
LPCSTR pszCommand
);
Parameters
pszCommand
Pointer to a null-terminated string that specifies an MCI command string.
Return Values
Returns TRUE if successful or FALSE if unsuccessful.
Remarks
This function is a simplified version of the mciSendString function. It does not take a buffer for return information, and it displays a message box when errors occur.
Requirements
Windows NT/2000/XP: Included in Windows NT 3.1 and later.
Windows 95/98/Me: Included in Windows 95 and later.
Header: Declared in Mmsystem.h; include Windows.h.
Library: Use Winmm.lib.
See Also