16#if defined(_M_IX86) || defined(_M_AMD64)
22 (sizeof(x) == 1) ? (x) : \
23 (sizeof(x) == 2) ? (((PCHAR)&(x))[0] + (((PCHAR)&(x))[1] << 8)) : \
24 (((PCHAR)&(x))[0] + (((PCHAR)&(x))[1] << 8) + (((PCHAR)&(x))[2] << 16) + \
25 (((PCHAR)&(x))[3] << 24))
30 FDM_TYPE_CONST_BEARINGS | FDM_TYPE_ZERO_BEARINGS | \
31 FDM_TYPE_CHAR_INC_EQUAL_BM_BASE | FDM_TYPE_MAXEXT_EQUAL_BM_SIDE | \
32 FDM_TYPE_BM_SIDE_CONST
35 FM_INFO_TECH_BITMAP | FM_INFO_1BPP | FM_INFO_INTEGER_WIDTH | \
36 FM_INFO_RETURNS_BITMAPS | FM_INFO_RIGHT_HANDED | FM_INFO_INTEGRAL_SCALING |\
37 FM_INFO_90DEGREE_ROTATIONS | FM_INFO_OPTICALLY_FIXED_PITCH | FM_INFO_NONNEGATIVE_AC
39#define FLOATL_1 0x3f800000
41#define TAG_PDEV 'veDP'
42#define TAG_GLYPHSET 'GlSt'
43#define TAG_IFIMETRICS 'Ifim'
44#define TAG_FONTINFO 'Font'
49#define IMAGE_DOS_MAGIC 0x594D
62#define NE_RSCTYPE_FONT 0x8008
63#define NE_RSCTYPE_FONTDIR 0x8007
79#define DFF_FIXED 0x0001
80#define DFF_PROPORTIONAL 0x0002
81#define DFF_ABCFIXED 0x0004
82#define DFF_ABCPROPORTIONAL 0x0008
83#define DFF_1COLOR 0x0010
84#define DFF_16COLOR 0x0020
85#define DFF_256COLOR 0x0040
86#define DFF_RGBCOLOR 0x0080
253#define MAX_STYLESIZE 35
BOOL APIENTRY BmfdUnloadFontFile(IN ULONG_PTR iFile)
struct NE_TYPEINFO * PNE_TYPEINFO
struct _DIRENTRY * PDIRENTRY
VOID APIENTRY BmfdDestroyFont(IN FONTOBJ *pfo)
struct _DIRENTRY DIRENTRY
VOID APIENTRY BmfdFree(PVOID pv, ULONG_PTR id)
struct FONTINFO16 * LPFONTINFO16
struct BMFD_FONT * PBMFD_FONT
PFD_GLYPHATTR APIENTRY BmfdQueryGlyphAttrs(FONTOBJ *pfo, ULONG iMode)
struct _FONTGROUPHDR * PFONTGROUPHDR
PVOID APIENTRY BmfdQueryFontTree(DHPDEV dhpdev, ULONG_PTR iFile, ULONG iFace, ULONG iMode, ULONG_PTR *pid)
struct GLYPHENTRY30 * PGLYPHENTRY30
struct GLYPHENTRY20 * PGLYPHENTRY20
struct BMFD_IFIMETRICS * PBMFD_IFIMETRICS
struct _FONTDIRENTRY * PFONTDIRENTRY
struct NE_NAMEINFO * PNE_NAMEINFO
struct _FONTGROUPHDR FONTGROUPHDR
union GLYPHENTRY * PGLYPHENTRY
struct _FONTDIRENTRY FONTDIRENTRY
LONG APIENTRY BmfdQueryFontFile(ULONG_PTR iFile, ULONG ulMode, ULONG cjBuf, ULONG *pulBuf)
LONG APIENTRY BmfdQueryFontCaps(ULONG culCaps, ULONG *pulCaps)
struct FONTINFO16 * PFONTINFO16
struct BMFD_FACE * PBMFD_FACE
ULONG_PTR APIENTRY BmfdLoadFontFile(ULONG cFiles, ULONG_PTR *piFile, PVOID *ppvView, ULONG *pcjView, DESIGNVECTOR *pdv, ULONG ulLangID, ULONG ulFastCheckSum)
PIFIMETRICS APIENTRY BmfdQueryFont(IN DHPDEV dhpdev, IN ULONG_PTR iFile, IN ULONG iFace, IN ULONG_PTR *pid)
VOID APIENTRY BmfdCompletePDEV(IN DHPDEV dhpdev, IN HDEV hdev)
VOID APIENTRY BmfdDisablePDEV(IN DHPDEV dhpdev)
struct BMFD_FILE * PBMFD_FILE
DHPDEV APIENTRY BmfdEnablePDEV(IN DEVMODEW *pdm, IN LPWSTR pwszLogAddress, IN ULONG cPat, OUT HSURF *phsurfPatterns, IN ULONG cjCaps, OUT ULONG *pdevcaps, IN ULONG cjDevInfo, OUT DEVINFO *pdi, IN HDEV hdev, IN LPWSTR pwszDeviceName, IN HANDLE hDriver)
struct NE_RESTABLE * PNE_RESTABLE
LONG APIENTRY BmfdQueryFontData(DHPDEV dhpdev, FONTOBJ *pfo, ULONG iMode, HGLYPH hg, OUT GLYPHDATA *pgd, PVOID pv, ULONG cjSize)
GLuint GLuint GLsizei count
GLuint GLsizei GLsizei * length
GLsizeiptr const GLvoid GLenum usage
PFONTDIRENTRY pFontDirEntry
_In_ FONTOBJ _In_ ULONG _In_ HGLYPH _In_opt_ GLYPHDATA * pgd
_In_ LPWSTR _In_ ULONG _In_ ULONG _In_ ULONG cjDevInfo
typedef DHPDEV(APIENTRY FN_DrvEnablePDEV)(_In_ DEVMODEW *pdm
_In_ ULONG_PTR _In_opt_ DESIGNVECTOR _In_ ULONG ulLangID
_In_ LPWSTR _In_ ULONG _In_ ULONG _In_ ULONG _Out_ DEVINFO * pdi
_In_ ULONG_PTR _In_ ULONG iFace
_In_ LPWSTR pwszLogAddress
_In_ LPWSTR _In_ ULONG _In_ ULONG cjCaps
_In_ LPWSTR _In_ ULONG cPat
typedef HSURF(APIENTRY FN_DrvEnableSurface)(_In_ DHPDEV dhpdev)
_In_ CLIPOBJ _In_opt_ XLATEOBJ _In_ TRIVERTEX _In_ ULONG _In_ PVOID _In_ ULONG _In_ RECTL _In_ POINTL _In_ ULONG ulMode
_In_ ULONG_PTR _In_opt_ DESIGNVECTOR * pdv
_In_ ULONG_PTR _In_opt_ DESIGNVECTOR _In_ ULONG _In_ ULONG ulFastCheckSum
_In_ ULONG_PTR _In_ ULONG _Out_ ULONG_PTR * pid
_In_ LPWSTR _In_ ULONG _In_ ULONG _In_ ULONG _Out_ DEVINFO _In_ HDEV _In_ LPWSTR pwszDeviceName
_In_ LPWSTR _In_ ULONG _In_ ULONG _In_ ULONG _Out_ DEVINFO _In_ HDEV _In_ LPWSTR _In_ HANDLE hDriver
_In_ FONTOBJ _In_ ULONG _In_ HGLYPH hg