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: