INFO: PSTR's in OUTLINETEXTMETRIC Structure

ID: Q90085

4.00 | 3.10 3.50 3.51 WINDOWS | WINDOWS NT kbgraphic
The information in this article applies to:


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.

Additional query words: 3.10 4.00


Keywords          : kbNTOS310 kbNTOS350 kbNTOS351 kbNTOS400 kbSDKWin32 kbWinOS95 kbDSupport 
Version           : winnt:3.1,3.5,3.51
Platform          : winnt 
Issue type        : kbinfo 

Last Reviewed: June 28, 1999