This function sends a media control interface command string to a media device. It also contains a 16-bit entry point.
#define INCL_MCIOS2 #include <os2.h> PSZ pszCommandBuf; /* Media control command string. */ PSZ pszReturnString; /* Application-supplied buffer. */ USHORT usReturnLength; /* Bytes reserved. */ HWND hwndCallBack; /* Window handle. */ USHORT usUserParm; /* User-specified parameter. */ ULONG rc; /* Return code. */ rc = mciSendString(pszCommandBuf, pszReturnString, usReturnLength, hwndCallBack, usUserParm);