MCI Data Types

The MMSYSTEM.H file defines new data types and function prototypes for MCI functions. You must include this header file in any source module that uses MCI. The following list shows the common MCI data structures defined in the MMSYSTEM.H file for MCI commands (additional data structures for extended commands are listed in the audio and animation MCI chapters):

MCI_BREAK_PARMS

A data structure for the parameters of the MCI_BREAK command message.

MCI_GENERIC_PARMS

A data structure for the parameters of a command message that does not have message-specific parameters.

MCI_GETDEVCAPS_PARMS

A data structure for the parameters of the MCI_GETDEVCAPS command message.

MCI_INFO_PARMS

A data structure for the parameters of the MCI_INFO command message.

MCI_LOAD_PARMS

A data structure for the parameters of the MCI_LOAD command message.

MCI_OPEN_PARMS

A data structure for the parameters of the MCI_OPEN command message.

MCI_PLAY_PARMS

A data structure for the parameters of the MCI_PLAY command message.

MCI_RECORD_PARMS

A data structure for the parameters of the MCI_RECORD command message.

MCI_SAVE_PARMS

A data structure for the parameters of the MCI_SAVE command message.

MCI_SEEK_PARMS

A data structure for the parameters of the MCI_SEEK command message.

MCI_SET_PARMS

A data structure for the parameters of the MCI_SET command message.

MCI_STATUS_PARMS

A data structure for the parameters of the MCI_STATUS command message.

MCI_SYSINFO_PARMS

A data structure for the parameters of the MCI_SYSINFO command message.

Each of these data structures has a corresponding far pointer data type defined for it. The names of these data types are a combination of the data structure names and a LP prefix. For example, LPMCI_OPEN_PARMS is the far pointer data type for MCI_OPEN_PARMS.