共用方式為


CMediaType::Type

 
Microsoft DirectShow 9.0

CMediaType::Type

The Type method retrieves the major type.

Syntax

  const GUID *Type(void) const;

Return Value

Returns a pointer to the majortype member.

Requirements

**  Header:** Declared in Mtype.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also