mciExecute

Syntax

BOOL mciExecute(lpstrCommand)

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.

Parameters

LPSTR lpstrCommand

Specifies an MCI command string.

Return Value

TRUE if successful, FALSE if unsuccessful.

Comments

This function provides a simple interface to MCI from scripting languages.

See Also

mciSendString