DATA_FORMAT_INFO

Provides size information for the opened stream. This structure is used by mmOpenStream in read mode.

Definition

typedef struct
{
    DWORD estTotalStreamSize;
    DWORD minReadBufferSize;
} DATA_FORMAT_INFO;

Fields

Field

Description

estTotalStreamSize

Estimated total size of the whole stream data, including associated headers, in bytes. To read the whole stream with a single mmReadStream call, the application must provide a buffer greater than or equal to estTotalStreamSize.

minReadBufferSize

Size of the largest sample in the stream, in bytes. To read the stream data, the application must provide a buffer greater than or equal to minReadBufferSize.