WMT_IMAGE_TYPE 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_IMAGE_TYPE enumeration type defines the types of images that can be used for banner ads. This type is used as the value of the BannerImageType attribute.
Syntax
typedef enum WMT_IMAGE_TYPE {
WMT_IT_NONE = 0,
WMT_IT_BITMAP = 1,
WMT_IT_JPEG = 2,
WMT_IT_GIF = 3
} ;
Constants
WMT_IT_NONE Value: 0 There is no image. If a BannerImageData attribute in the file, it will be ignored. |
WMT_IT_BITMAP Value: 1 The banner image is an uncompressed bitmap. |
WMT_IT_JPEG Value: 2 The banner image uses JPEG encoding. |
WMT_IT_GIF Value: 3 The banner image uses GIF encoding. |
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) |