# FILE_INFO_DESC

Indicates the type of file described in the file info block. FILE_INFO_DESC is the descriptor for a multimedia file. This structure is used by mmGetFileInfo.

#### Definition

typedef struct
{
WORD fileInfoSize;
BYTE *pFileInfo;
WORD fileType;
#define FILE_TYPE_UNKWN 0
#define FILE_TYPE_3GP 1
char format [8];
DWORD version;
DWORD flags;
#define DESC_FLAG_INSUFF_SPACE 1
WORD NbSyncPoints;
WORD sdpBuferSize
WORD reserved [4];
} FILE_INFO_DESC;

#### Fields

Field | Description
--- | ---
fileInfoSize | Size of the file info block described by this descriptor.
pFileInfo | Pointer to the file info block.
fileType | Type of file. Valid values: FILE_TYPE_UNKWN FILE_TYPE_3GP
format [8] | Specifies the file format string. For 3GP file format, this field specifies the major brand string. The default is 3GP6. A value of NULL indicates the default format.
version | Format version of the file. For 3GP files, the format is (x * 256 + y), which refers to TS 26.244 v6.x.y. The default is 256.
flags | Contains a value of DESC_FLAG_INSUFF_SPACE_1 if mmGetFileInfo fails to fill in the entire information structure.
NbSyncPoints | The number of sync points in the sync point table. If a sync point table was not created, the value will be 0.
sdpBufferSize | The total number of bytes for the SDP information in a 3GP file. If SDP is not stored in a 3GP file, the value is 0.
reserved | Reserved for future use.