Freigeben über


CMediaType::SetType

 
Microsoft DirectShow 9.0

CMediaType::SetType

The SetType method specifies the major type.

Syntax

  void SetType(
    const GUID *ptype
);

Parameters

ptype

Pointer to a GUID that specifies the major type.

Requirements

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

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

See Also