Microsoft DirectX 8.1 (C++)

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.

See Also