Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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;

Constants

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.

Requirements

Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Mfobjects.h (include Mfidl.h)

See also

Media Foundation Enumerations
IMFAttributes::Compare

 

 

Show:
© 2016 Microsoft