MULTIMEDIA WINDOWS

MEDIA CONTROL INTERFACE (MCI)

written by

Barry Wood

Version 1.1 - last updated 17 May 1996

Contents

Introduction to MCI
MCI Command Strings
Issuing Command Strings
MCI Device Types
Simple and Compound Devices
Examples of MCI in action
The wait flag
Using all as a device name
List of MCI commands


Introduction.

The Media Control Interface (MCI) provides a high-level generalized interface to control media devices such as audio hardware, movie players, video disc and videotape players. It is available to windows applications. These notes specifically cover examples using the Multimedia Authoring tools Authorware and Guide but the MCI commands given should be generally available to other suitable windows applications.

In Guide the MCI functions are built in to the LOGiiX scripting language that is part of the Guide environment. In Authorware the functions are provided as a UCD called A3WMME.UCD which contains 5 MCI functions. This UCD is distributed by Authorware (Macromedia).

MCI uses device drivers to interpret and execute high-level MCI commands. Applications can communicate with MCI device handlers by sending messages or command strings.

These notes are collected from various places. They are given here in the hope that they are useful. I have not used all the commands, in particular the video overlay and MIDI sequencer commands as I do not have access to this hardware. The usual disclaimers of all knowledge and responsibility apply. If you do find any errors or have any additions you can add please let me know at: email to Barry Wood - University of Nottingham CAL Group Co-ordinator

Back to top of page
MCI COMMAND STRINGS

Details of the command strings are given later.
There are 4 categories of command strings which can be used with the MCICommand function: Back to top of page
ISSUING A COMMAND STRING

Each command string consists of three elements:
	command		device		arguments
e.g.
	play		cdaudio		from 5000 to 15000

MCICommand("play cdaudio from 5000 to 15000")
Back to top of page
MCI DEVICE TYPES

There are several device types that are supported in the MCI standard. The devices are: