This function sends a media control interface message to the specified media device.
#define INCL_MCIOS2 #include <os2.h> USHORT usDeviceID; /* Device ID. */ USHORT usMessage; /* Message action. */ ULONG ulParam1; /* Message flags. */ PVOID pParam2; /* Message data. */ USHORT usUserParm; /* User-specified parameter. */ ULONG rc; /* Return code. */ rc = mciSendCommand(usDeviceID, usMessage, ulParam1, pParam2, usUserParm);