pHeader (PVOID) - input

      Pointer to a header structure. This structure contains the data that is written to the header.

      If the MMIO_TRANSLATEHEADER flag was set on the mmioOpen in the ulTranslate field of the MMIOINFO structure on the mmioOpen function, then the header expected by the call is one associated with the standard presentation format for that particular multimedia data type (media type). Each media type (see the ulMediaType field of the MMFORMATINFO structure.) has a different standard presentation header.

      The I/O procedure is expected to transpose the header from this standard format into the native format before writing the header to the file.

      If MMIO_NOTRANSLATE was specified on the open (default case) then the header is in its native format. The currently defined values for each ulMediaType and their respective media structures are as follows:

      MMIO_MEDIATYPE_IMAGE

        The data represents a still image. Images use the 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 uses MMVIDEOHEADER as the media structure.
      MMIO_MEDIATYPE_MOVIE

        The data represents a movie. Movie data uses MMMOVIEHEADER as the media structure.


      [Back] [Next]