Each chapter includes sample C code illustrating important concepts discussed in the chapter. The Multimedia Development Kit also includes, on disc, complete program examples that illustrate the use of the Multimedia extensions. The Setup program (described in Getting Started) installs these sample programs on your system. Compile and run these examples to see how the functions work in actual programs, or use the examples as the basis for writing your own multimedia applications.
The following table lists the sample applications provided with the MDK. Each program is installed in a subdirectory of the \MWINDEV\MMSAMPLE directory (note that the subdirectory names match the program names).
Program | Function | Demonstrates |
BOUNCER | Screen saver for Windows with Multimedia | Screen-saver functions, high-level sound playback |
JOYTOY | Joystick toy shoots holes in your desktop | Joystick functions, high-level sound playback |
LOWPASS | Low-pass filter for waveform-audio files | Multimedia file I/O functions |
MCITEST | Interactively sends command strings to MCI devices | MCI command-string interface |
MIDIMON | Displays a textual listing of MIDI input messages | MIDI recording functions, low-level callback functions |
MMPLAY | Plays multimedia movies | Multimedia animation functions |
REVERSE | Plays a waveform-audio file in reverse | Multimedia file I/O functions, waveform-audio functions |