Media Control Interface

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by imported>Lollipoplollipoplollipop at 10:42, 25 March 2025 (Adding local short description: "API for controlling multimedia peripherals", overriding Wikidata description "API for controlling multimedia peripherals connected to a Microsoft Windows or OS/2 computer"). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Short description The Media Control InterfaceMCI for short — is a high-level API developed by Microsoft and IBM for controlling multimedia peripherals connected to a Microsoft Windows or OS/2 computer, such as CD-ROM players and audio controllers.

MCI makes it very simple to write a program which can play a wide variety of media files and even to record sound by just passing commands as strings. It uses relations described in Windows registries or in the [MCI] section of the file <templatestyles src="Mono/styles.css" />system.ini. One advantage of this API is that MCI commands can be transmitted both from the programming language and from the scripting language (open script, lingo aso). Example of such commands are <templatestyles src="Mono/styles.css" />mciSendCommand or <templatestyles src="Mono/styles.css" />mciSendString.

After a few yearsTemplate:Dated maintenance category (articles)Script error: No such module "Check for unknown parameters"., the MCI interface has been phased out in favor of the DirectX APIs first released in 1995.[1]

MCI Devices

The Media Control Interface consists of 7 parts:

  • cdaudio
  • digitalvideo
  • overlay
  • sequencer
  • vcr
  • videodisc
  • waveaudio

Each of these so-called MCI devices (e.g. CD-ROM or VCD player) can play a certain type of files, e.g. <templatestyles src="Mono/styles.css" />AVIVideo plays <templatestyles src="Mono/styles.css" />.avi files, <templatestyles src="Mono/styles.css" />CDAudio plays CD-DA tracks among others. Other MCI devices have also been made available over time.

Playing media through the MCI interface

To play a type of media, it needs to be initialized correctly using MCI commands. These commands are subdivided into categories:

  • System Commands
  • Required Commands
  • Basic Commands
  • Extended Commands

A full list of MCI commands can be found at Microsoft's MSDN Library.

See also

References

<templatestyles src="Reflist/styles.css" />

  1. Script error: No such module "citation/CS1".

Script error: No such module "Check for unknown parameters".

External links

Script error: No such module "Navbox".

Template:Asbox