Share via


AreEqualVideoTypes (Compact 2013)

3/26/2014

This function determines if two media types have the same video format, width, and height.

Syntax

BOOL WINAPI AreEqualVideoTypes (
  CMediaType* pmt1,
  CMediaType* pmt2
); 

Parameters

  • pmt1
    First media type to compare.
  • pmt2
    Second media type to compare.

Return Value

Returns TRUE if pmt1 and pmt2 have the same video format, width, and height or FALSE otherwise.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

Media Type Functions