majortype 主类型:Globally unique identifier (GUID) that specifies the major type of the media sample.
subtype 辅助说明类型:GUID that specifies the subtype of the media sample.For some formats, the value might be MEDIASUBTYPE_None, which means the format does not require a subtype.
bFixedSizeSamples (可选参数) If TRUE, samples are of a fixed size. This field is informational only. For audio, it is generally set to TRUE. For video, it is usually TRUE for uncompressed video and FALSE for compressed video.
bTemporalCompression (可选参数) If TRUE, samples are compressed using temporal (interframe) compression. A value of TRUE indicates that not all frames are key frames. This field is informational only.
lSampleSize (可选参数) Size of the sample in bytes. For compressed data, the value can be zero.
formattype GUID that specifies the structure used for the format block. The pbFormat member points to the corresponding format structure. Format types include the following:
pUnk (未用)Set to NULL.
cbFormat Size of the format block, in bytes.
pbFormat Pointer to the format block. The structure type is specified by the formattype member. The format structure must be present, unless formattype is GUID_NULL or FORMAT_None.The pbFormat buffer must be allocated by calling CoTaskMemAlloc. To release the format block, call FreeMediaType.