Share via


MF_ATTRIBUTES_MATCH_TYPE Enumeration

Specifies how to compare the attributes on two objects.

Syntax

typedef enum _MF_ATTRIBUTES_MATCH_TYPE {
  MF_ATTRIBUTES_MATCH_OUR_ITEMS      = 0,
  MF_ATTRIBUTES_MATCH_THEIR_ITEMS    = 1,
  MF_ATTRIBUTES_MATCH_ALL_ITEMS      = 2,
  MF_ATTRIBUTES_MATCH_INTERSECTION   = 3,
  MF_ATTRIBUTES_MATCH_SMALLER        = 4 
} MF_ATTRIBUTES_MATCH_TYPE;

Konstanten

  • MF_ATTRIBUTES_MATCH_OUR_ITEMS
    Check whether all the attributes in pThis exist in pTheirs and have the same data, where pThis is the object whose Compare method is being called and pTheirs is the object given in the pTheirs parameter.

  • MF_ATTRIBUTES_MATCH_THEIR_ITEMS
    Check whether all the attributes in pTheirs exist in pThis and have the same data, where pThis is the object whose Compare method is being called and pTheirs is the object given in the pTheirs parameter.

  • MF_ATTRIBUTES_MATCH_ALL_ITEMS
    Check whether both objects have identical attributes with the same data.

  • MF_ATTRIBUTES_MATCH_INTERSECTION
    Check whether the attributes that exist in both objects have the same data.

  • MF_ATTRIBUTES_MATCH_SMALLER
    Find the object with the fewest number of attributes, and check if those attributes exist in the other object and have the same data.

Anforderungen

Mindestens unterstützter Client

Windows Vista

Mindestens unterstützter Server

Windows Server 2008

Header

Mfobjects.h (include Mfidl.h)

Siehe auch

Media Foundation Enumerations

IMFAttributes::Compare