hmmio (HMMIO) - input
pHeader (PVOID) - input
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 movie. Movie data uses MMMOVIEHEADER as the media structure.
lHeaderLength (LONG) - input
plBytesWritten (PLONG) - in/out
ulReserved (ULONG) - input
ulFlags (ULONG) - input
rc (ULONG) - returns
MMIO_SUCCESS