The Media Control Interface (MCI) provides a high-level generalized interface for controlling both internal and external media devices. MCI uses device handlers to interpret and execute high-level MCI commands. Applications can communicate with MCI device handlers by sending messages or command strings.
MCI also provides macros for working with the time and position information encoded in a packed DWORD.