MF_ATTRIBUTE_TYPE enumeration (mfobjects.h)

Defines the data type for a key/value pair.

Syntax

typedef enum _MF_ATTRIBUTE_TYPE {
  MF_ATTRIBUTE_UINT32 = VT_UI4,
  MF_ATTRIBUTE_UINT64 = VT_UI8,
  MF_ATTRIBUTE_DOUBLE = VT_R8,
  MF_ATTRIBUTE_GUID = VT_CLSID,
  MF_ATTRIBUTE_STRING = VT_LPWSTR,
  MF_ATTRIBUTE_BLOB,
  MF_ATTRIBUTE_IUNKNOWN = VT_UNKNOWN
} MF_ATTRIBUTE_TYPE;

Constants

 
MF_ATTRIBUTE_UINT32
Value: VT_UI4
Unsigned 32-bit integer.
MF_ATTRIBUTE_UINT64
Value: VT_UI8
Unsigned 64-bit integer.
MF_ATTRIBUTE_DOUBLE
Value: VT_R8
Floating-point number.
MF_ATTRIBUTE_GUID
Value: VT_CLSID
GUID value.
MF_ATTRIBUTE_STRING
Value: VT_LPWSTR
NULL-terminated wide-character string.
MF_ATTRIBUTE_BLOB
Byte array.
MF_ATTRIBUTE_IUNKNOWN
Value: VT_UNKNOWN
IUnknown pointer.

Requirements

   
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

Media Foundation Enumerations