Freigeben über


CMediaType::operator =

 
Microsoft DirectShow 9.0

CMediaType::operator =

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

Syntax

  CMediaType& operator=(
    const CMediaType& cmtype
);

CMediaType& operator=(
    const AM_MEDIA_TYPE& mtype
);

Parameters

cmtype

Reference to a CMediaType object.

mtype

Reference to an AM_MEDIA_TYPE structure.

Return Value

Returns a reference to the object.

Requirements

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

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

See Also