Contents Index Topic Contents | ||
Previous Topic: SOPutFieldInfo Next Topic: SOPutHdrEntry |
SOPutFontTableEntry
Sets a font table entry.
Syntax
VOID SOPutFontTableEntry( DWORD dwFontId, WORD wFontType, Char VWPTR *pFontName, HPROC reserved );Parameters
- dwFontId
- Font identifier. This parameter can be any number, but it must be unique within the font table.
- wFontType
- Font family. This parameter can be one of these values:
SO_FAMILYDECORATIVE Fancy display font SO_FAMILYMODERN Fixed width SO_FAMILYROMAN Variable width with serifs SO_FAMILYSCRIPT Handwriting SO_FAMILYSWISS Variable width without serifs SO_FAMILYSYMBOL Symbol font SO_FAMILYUNKNOWN Not known - pFontName
- Address of a null-terminated string specifying the name of the font.
- reserved
- Reserved; do not use.
Return Value
No return value.
Remarks
The file parser must call the SOStartFontTable function before calling this function. SOPutFontTableEntry must be called once for each font to be added to the table. Font identifiers must be unique, but they can be given in any order.
This function can only be called from the VwStreamSectionFunc function.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.