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

BOOL WINAPI AreEqualVideoTypes (
  CMediaType* pmt1,
  CMediaType* pmt2


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

Return Values

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


DirectShow applications and DirectShow filters have different include file and link library requirements. See Setting Up the Build Environment for more information.

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.