Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
| 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