CMediaType.CMediaType::operator= method

This operator overloads the assignment operator to copy a media type.

Syntax


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

Parameters

cmtype [ref]

Reference to a CMediaType object.

Return value

Returns a reference to the object.

Requirements

Header

Mtype.h (include Streams.h)

Library

Strmbase.lib (retail builds);
Strmbasd.lib (debug builds)

See also

CMediaType Class

 

 

Show: