CMediaType.CMediaType::operator== method

This operator tests for equality between CMediaType objects.

Syntax

BOOL CMediaType::operator==(
  [ref] const CMediaType &rt
);

Parameters

rt [ref]

Reference to the CMediaType object to compare.

Return value

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

Requirements

Header
Mtype.h (include Streams.h)
Library
Strmbase.lib (retail builds);
Strmbasd.lib (debug builds)

See also

CMediaType Class