WMT_ATTR_DATATYPE enumeration (wmsdkidl.h)

[The feature associated with this page, Windows Media Format 11 SDK, is a legacy feature. It has been superseded by Source Reader and Sink Writer. Source Reader and Sink Writer have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Source Reader and Sink Writer instead of Windows Media Format 11 SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The WMT_ATTR_DATATYPE enumeration defines the data type for a variably typed property.

Syntax

typedef enum WMT_ATTR_DATATYPE {
  WMT_TYPE_DWORD = 0,
  WMT_TYPE_STRING = 1,
  WMT_TYPE_BINARY = 2,
  WMT_TYPE_BOOL = 3,
  WMT_TYPE_QWORD = 4,
  WMT_TYPE_WORD = 5,
  WMT_TYPE_GUID = 6
} ;

Constants

 
WMT_TYPE_DWORD
Value: 0
The property is a 4-byte DWORD value.
WMT_TYPE_STRING
Value: 1
The property is a null-terminated Unicode string.
WMT_TYPE_BINARY
Value: 2
The property is an array of bytes.
WMT_TYPE_BOOL
Value: 3
The property is a 4-byte Boolean value.
WMT_TYPE_QWORD
Value: 4
The property is an 8-byte QWORD value.
WMT_TYPE_WORD
Value: 5
The property is a 2-byte WORD value.
WMT_TYPE_GUID
Value: 6
The property is a 128-bit (6-byte) GUID.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only],Windows Media Format 7 SDK, or later versions of the SDK
Minimum supported server Windows 2000 Server [desktop apps only]
Header wmsdkidl.h (include Wmsdk.h)

See also

Attributes

Enumeration Types