The application calls mmioQueryHeaderLength first to determine the buffer
size that is needed by mmioGetHeader
to obtain header data. This is required because headers for different
formats are variable in length.
The header is different for each Media Type. The currently defined values
for each ulMediaType (MMIOINFO
structure) follow:
MMIO_MEDIATYPE_IMAGE
The data represents a still
image. Images use MMIMAGEHEADER as
the media structure.
MMIO_MEDIATYPE_AUDIO
The
data represents digital audio. Digital-audio data streams use MMAUDIOHEADER
as the media structure.
MMIO_MEDIATYPE_MIDI
The data represents MIDI streams. MIDI data streams
use MMMIDIHEADER as the media
structure.
MMIO_MEDIATYPE_DIGITALVIDEO
The
data represents digital video. Digital video data streams use MMVIDEOHEADER
as the media structure.
MMIO_MEDIATYPE_MOVIE
The data represents a movie. Movie data uses MMMOVIEHEADER
as the media structure.
[Back]
[Next]