Freigeben über


CMediaType::InitMediaType

 
Microsoft DirectShow 9.0

CMediaType::InitMediaType

The InitMediaType method initializes the media type.

Syntax

  void InitMediaType(void);

Remarks

This method zeroes the object's memory, sets the fixed-sample-size property to TRUE, and sets the sample size to 1.

Requirements

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

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

See Also