Share via


CMediaType::operator ==

 
Microsoft DirectShow 9.0

CMediaType::operator ==

This operator tests for equality between CMediaType objects.

Syntax

  inline BOOL operator==(
    const CMediaType& rt
) const;

Parameters

rt

Reference to the CMediaType object to compare.

Return Value

Returns TRUE if rt is equal to this object. Otherwise, returns FALSE.

Requirements

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

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

See Also