Microsoft KB Archive/90085

{|
 * width="100%"|

INFO: PSTR's in OUTLINETEXTMETRIC Structure

 * }

Q90085

4.00 | 3.10 3.50 3.51 WINDOWS | WINDOWS NT kbgraphic

-

The information in this article applies to:


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

-

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 : kbOSWinNT310 kbOSWinNT350 kbOSWinNT351 kbOSWinNT400 kbSDKWin32 kbOSWin95 kbDSupport

Issue type : kbinfo

Technology : kbAudDeveloper kbWin32sSearch kbWin32API