DirectMusic Stream Data Format
This example uses a KSDATAFORMAT structure to describe the data format of a DirectMusic stream.
DataFormat.FormatSize = sizeof(KSDATAFORMAT);
DataFormat.Flags = 0;
DataFormat.SampleSize = 0;
DataFormat.Reserved = 0;
DataFormat.MajorFormat = STATICGUIDOF(KSDATAFORMAT_TYPE_MUSIC);
DataFormat.SubFormat = STATICGUIDOF(KSDATAFORMAT_SUBTYPE_DIRECTMUSIC);
DataFormat.Specifier = STATICGUIDOF(KSDATAFORMAT_SPECIFIER_NONE);