CMediaType.CMediaType::operator= method

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

Syntax


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

Parameters

mtype [ref]

Reference to an AM_MEDIA_TYPE structure.

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: