--- np2/win9x/fontmng.h 2003/10/16 17:58:45 1.1.1.1 +++ np2/win9x/fontmng.h 2006/12/23 12:49:22 1.3 @@ -3,7 +3,8 @@ enum { FDAT_BOLD = 0x01, FDAT_PROPORTIONAL = 0x02, FDAT_ALIAS = 0x04, - FDAT_ANSI = 0x08 + FDAT_ANSI = 0x08, + FDAT_SHIFTJIS = 0x10 }; enum { @@ -21,12 +22,12 @@ typedef struct { extern "C" { #endif -void *fontmng_create(int size, UINT type, const TCHAR *fontface); +void *fontmng_create(int size, UINT type, const OEMCHAR *fontface); void fontmng_destroy(void *hdl); -BOOL fontmng_getsize(void *hdl, const char *string, POINT_T *pt); -BOOL fontmng_getdrawsize(void *hdl, const char *string, POINT_T *pt); -FNTDAT fontmng_get(void *hdl, const char *string); +BRESULT fontmng_getsize(void *hdl, const OEMCHAR *string, POINT_T *pt); +BRESULT fontmng_getdrawsize(void *hdl, const OEMCHAR *string, POINT_T *pt); +FNTDAT fontmng_get(void *hdl, const OEMCHAR *string); #ifdef __cplusplus }