共用方式為


IMediaTypeInfo Object

 
Microsoft DirectShow 9.0

IMediaTypeInfo Object

  • Note   This topic is deprecated. It applies to Visual Basic 6.0. DirectShow is not supported for Visual Basic .NET or C#.

The IMediaTypeInfo object manages information about a media type. This object is a wrapper for the AM_MEDIA_TYPE structure, which is not Automation-compatible. However, only the major type and subtype are accessible through this object, and they cannot be modified.

Requirements

Include a reference in your project to "ActiveMovie control type library" (Quartz.dll).

The IMediaTypeInfo object exposes the following properties.

Property Description
Subtype Retrieves the subtype GUID as a string.
Type Retrieves the major type GUID as a string.