Microsoft Windows CE 3.0  

CMediaType::MatchesPartial

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Determines if this media type matches the media type pointed to by the ppartialparameter.

BOOL MatchesPartial(
const CMediaType
*ppartial
) const;

Parameters

ppartial
Pointer to the media type to match.

Return Values

Returns one of the following values.

TRUE Media types match for the parts that are defined.
FALSE Media types do not match.

Remarks

The matching applies only for the parts of ppartialthat are defined. That is, this only matches the major type, subtype, or format type of the media type if these are not defined as GUID_NULL.