mciSendString?
-
I'm trying to work with the mciSendString, but it's new to me. I've not seen it mentioned in any of the books I have. What's it used for? Tanks!!!!! Dave :-D
"The man who reads nothing is better educated than the man who reads nothing but newspapers."- Thomas Jefferson
-
I'm trying to work with the mciSendString, but it's new to me. I've not seen it mentioned in any of the books I have. What's it used for? Tanks!!!!! Dave :-D
"The man who reads nothing is better educated than the man who reads nothing but newspapers."- Thomas Jefferson
Platform SDK: Windows Multimedia MCI The Media Control Interface (MCI) provides standard commands for playing multimedia devices and recording multimedia resource files. These commands are a generic interface to nearly every kind of multimedia device. The mciSendString function sends a command string to an MCI device. The device that the command is sent to is specified in the command string. Example in Platform SDK Doc:
DWORD PlayFromTo(LPSTR lpstrAlias, DWORD dwFrom, DWORD dwTo)
{
char achCommandBuff[128];// Form the command string. wsprintf(achCommandBuff, "play %s from %u to %u", lpstrAlias, dwFrom, dwTo); // Send the command string. return mciSendString(achCommandBuff, NULL, 0, NULL);
}
BuggyMax
-
Platform SDK: Windows Multimedia MCI The Media Control Interface (MCI) provides standard commands for playing multimedia devices and recording multimedia resource files. These commands are a generic interface to nearly every kind of multimedia device. The mciSendString function sends a command string to an MCI device. The device that the command is sent to is specified in the command string. Example in Platform SDK Doc:
DWORD PlayFromTo(LPSTR lpstrAlias, DWORD dwFrom, DWORD dwTo)
{
char achCommandBuff[128];// Form the command string. wsprintf(achCommandBuff, "play %s from %u to %u", lpstrAlias, dwFrom, dwTo); // Send the command string. return mciSendString(achCommandBuff, NULL, 0, NULL);
}
BuggyMax