MF_ATTRIBUTES_MATCH_TYPE enumeration (mfobjects.h)

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;

Constants

 
MF_ATTRIBUTES_MATCH_OUR_ITEMS
Value: 0
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
Value: 1
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
Value: 2
Check whether both objects have identical attributes with the same data.
MF_ATTRIBUTES_MATCH_INTERSECTION
Value: 3
Check whether the attributes that exist in both objects have the same data.
MF_ATTRIBUTES_MATCH_SMALLER
Value: 4
Find the object with the fewest number of attributes, and check if those attributes exist in the other object and have the same data.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 [desktop apps | UWP apps]
Header mfobjects.h (include Mfidl.h)

See also

IMFAttributes::Compare

Media Foundation Enumerations