NWDPResAddFontFile

Contains font file information


Structure

typedef struct {  
NWDPOSTypeEnum osType;
NWDPFontTypeEnum fontType;
pnstr16 fontName16Ptr;
pnstr16 fileName16Ptr;
} NWDPResAddFontFile, N_FAR *pNWDPResAddFontFile;


Header File

nwdp_res.h


Fields

osType

Specifies the operating system type.

0 NWDP_RES_OS_DOS
1 NWDP_RES_OS_WIN_31
2 NWDP_RES_OS_WIN_95
3 NWDP_RES_OS_WIN_NT
4 NWDP_RES_OS_OS_2
5 NWDP_RES_OS_MAC
6 NWDP_RES_OS_UNIX

fontType

Specifies the font type.

0 NWDP_RES_FONT_TRUE_TYPE
1 NWDP_RES_FONT_PS
2 NWDP_RES_FONT_SYSTEM
3 NWDP_RES_FONT_SPD
4 NWDP_RES_FONT_TRUE_DOC

fontName16Ptr

Points to a Unicode string containing a font name (for example, Arial).


fileName16Ptr

Points to a Unicode string containing a filename (for example, arial.ttf).


Remarks

Used by the NWDPResAddResourceFile (obsolete 9/98) function.