DWRITE_MAKE_OPENTYPE_TAG macro
Creates an OpenType tag as a 32-bit integer, such that the first character in the tag is the lowest byte (least significant on little endian architectures), which can be used to compare with tags in the font file. This macro is compatible with DWRITE_FONT_FEATURE_TAG.
Syntax
DWORD DWRITE_MAKE_OPENTYPE_TAG( char a, char b, char c, char d );
Parameters
- a
-
Type: char
The first character in the tag.
- b
-
Type: char
The second character in the tag.
- c
-
Type: char
The third character in the tag.
- d
-
Type: char
The fourth character in the tag.
Return value
An OpenType tag as a 32-bit integer.
Remarks
Examples
Example: DWRITE_MAKE_OPENTYPE_TAG('c','c','m','p')
Dword: 0x706D6363
Requirements
|
Minimum supported client |
Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps only] |
|
Minimum supported phone |
Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps] |
|
Header |
|