INFO: PSTR's in OUTLINETEXTMETRIC Structure (90085)



The information in this article applies to:

  • Microsoft Win32 Application Programming Interface (API), when used with:
    • Microsoft Windows NT Server 3.1
    • Microsoft Windows NT Server 3.5
    • Microsoft Windows NT Server 3.51
    • Microsoft Windows NT Workstation 3.1
    • Microsoft Windows NT Workstation 3.5
    • Microsoft Windows NT Workstation 3.51
    • Microsoft Windows 95

This article was previously published under Q90085
4.00 | 3.10 3.50 3.51 WINDOWS | WINDOWS NT kbgraphic

SUMMARY

The OUTLINETEXTMETRIC structure ends with four fields of type PSTR. The four fields in question are not actually absolute pointers. They are offsets from the beginning of the OUTLINETEXTMETRIC structure to the strings in question, as the documentation indicates:
   otmpFamilyName

      Specifies the offset from the beginning of the structure to a
      string specifying the family name for the font.

   otmpFaceName

      Specifies the offset from the beginning of the structure to a
      string specifying the face name for the font. (This face name
      corresponds to the name specified in the LOGFONT structure.)

   otmpStyleName

      Specifies the offset from the beginning of the structure to a
      string specifying the style name for the font.

   otmpFullName

      Specifies the offset from the beginning of the structure to a
      string specifying the full name for the font. This name is
      unique for the font and often contains a version number or
      other identifying information.
				
The only difference between this structure in Windows 3.1 and Windows NT is that the strings may be stored in either Unicode or ASCII under Windows NT.

Modification Type:MinorLast Reviewed:2/11/2005
Keywords:kbinfo KB90085