This function retrieves the device ID corresponding to an alias of a device. The ID can then be used on subsequent media control interface procedural commands. It also contains a 16-bit entry point.

#define INCL_MCIOS2
#include <os2.h>

PSZ      pszName;  /*  Alias name. */
ULONG    rc;       /*  Return code. */

rc = mciGetDeviceID(pszName);


[Back] [Next]