Microsoft DirectX 9.0


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


objLanguageComponentType.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 AM_MEDIA_TYPE majortype member as a String formatted as a GUID.

See Also