MMProgRef - High-Level Macro Service Functions: Difference between revisions
Appearance
Created page with "{{MMProgRef}} The high-level macro service functions provide general playback and recording within a single function. These functions hide the programming overhead associated with playing and recording multimedia data, such as opening and closing a device, and simplify using multimedia capabilities in applications. ===Note=== **mciPlayFile** and **mciPlayResource** play different types of data (audio, video, MIDI, and so forth), however **mciRecordAudioFile** records **..." |
No edit summary |
||
| Line 1: | Line 1: | ||
[[Category:WorkToDo]] | |||
{{MMProgRef}} | {{MMProgRef}} | ||
The high-level macro service functions provide general playback and recording within a single function. These functions hide the programming overhead associated with playing and recording multimedia data, such as opening and closing a device, and simplify using multimedia capabilities in applications. | The high-level macro service functions provide general playback and recording within a single function. These functions hide the programming overhead associated with playing and recording multimedia data, such as opening and closing a device, and simplify using multimedia capabilities in applications. | ||
Revision as of 21:20, 25 November 2025
Reprint Courtesy of International Business Machines Corporation, © International Business Machines Corporation
The high-level macro service functions provide general playback and recording within a single function. These functions hide the programming overhead associated with playing and recording multimedia data, such as opening and closing a device, and simplify using multimedia capabilities in applications.
Note
- mciPlayFile** and **mciPlayResource** play different types of data (audio, video, MIDI, and so forth), however **mciRecordAudioFile** records **only** digital audio.
The high-level functions are listed in the following table.
| Function | Description |
|---|---|
| mciPlayFile | Plays a multimedia file or audio elements of a compound file. |
| mciPlayResource | Plays a multimedia resource that has been bound into an application. |
| mciRecordAudioFile | Records digital audio into a file specified by the caller. Records **only** digital audio. |
To use the 16-bit versions of mciPlayFile, mciPlayResource, and mciRecordAudioFile, define **INCL_16** in the source file using these functions. The 16-bit entry points provide 16-bit applications with the ability to use multimedia in the OS/2 environment. For example:
#define INCL_MACHDR #define INCL_16 #include <os2me.h>