次の方法で共有


CMediaType::MatchesPartial (Compact 2013)

3/26/2014

Determines if this media type matches the media type pointed to by the ppartial parameter.

Syntax

BOOL MatchesPartial(
  const CMediaType* ppartial
) const;

Parameters

  • ppartial
    Pointer to the media type to match.

Return Value

Returns one of the following values.

Value

Description

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 ppartial that 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.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CMediaType Class