campo-sirio/xvaga/XFont.h
guy ffc20a7df8 Patch level : 10.0 270
Files correlati     : xvaga.dll
Ricompilazione Demo : [ ]
Commento            :
Migliorato riconoscimento sistema operativo


git-svn-id: svn://10.65.10.50/trunk@18600 c028cbd2-c16b-5b4b-a496-9718f37d4682
2009-03-24 15:48:30 +00:00

40 lines
1020 B
C
Executable File

// XFont.h Version 1.1
//
// Copyright (C) 2003 Hans Dietrich
//
// This software is released into the public domain.
// You are free to use it in any way you like.
//
// This software is provided "as is" with no expressed
// or implied warranty. I accept no liability for any
// damage or loss of business that this software may cause.
//
///////////////////////////////////////////////////////////////////////////////
#ifndef XFONT_H
#define XFONT_H
typedef struct _tagFONT_PROPERTIES
{
TCHAR csName[1024];
TCHAR csCopyright[1024];
TCHAR csTrademark[1024];
TCHAR csFamily[1024];
} FONT_PROPERTIES, *LPFONT_PROPERTIES;
BOOL GetFontFile(LPCTSTR lpszFontName,
LPTSTR lpszDisplayName,
int nDisplayNameSize,
LPTSTR lpszFontFile,
int nFontFileSize);
BOOL GetFontProperties(LPCTSTR lpszFilePath,
LPFONT_PROPERTIES lpFontProps);
bool GetFontsFolder(LPTSTR lpszFontPath, int nFontPathSize);
bool GetWinVer(LPTSTR lpszVersion, int nVersionSize, int *nVersion);
#endif //XFONT_H