Microsoft DirectX 9.0


The MediaMajorType property sets or retrieves the DirectShow Media Type Major Type.


objMPEG2ComponentType.MediaMajorType As String


This property takes no parameters.

Error Codes

If the property fails, an error is raised and Err.Number is set to a value other than zero.

Return Value

This property returns the DirectShow Media Type Major Type as a String formatted as a GUID.

See Also