Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.3 KiB

  1. /*++ BUILD Version: 0001
  2. *
  3. * WOW v1.0
  4. *
  5. * Copyright (c) 1991, Microsoft Corporation
  6. *
  7. * WGFONT.H
  8. * WOW32 16-bit GDI API support
  9. *
  10. * History:
  11. * Created 07-Mar-1991 by Jeff Parsons (jeffpar)
  12. --*/
  13. /* Enumeration handler data
  14. */
  15. typedef struct _FNTDATA { /* fntdata */
  16. VPPROC vpfnEnumFntProc; // 16-bit enumeration function
  17. DWORD dwUserFntParam; // user param, if any
  18. HMEM16 hLogFont; //
  19. VPVOID vpLogFont; // 16-bit storage for logical font
  20. HMEM16 hTextMetric; //
  21. VPVOID vpTextMetric; // 16-bit storage for textmetric structure
  22. VPVOID vpFaceName; // 16bit far ptr - input to Enum Fonts & Families
  23. } FNTDATA, *PFNTDATA;
  24. /* Function prototypes
  25. */
  26. ULONG FASTCALL WG32AddFontResource(PVDMFRAME pFrame);
  27. ULONG FASTCALL WG32CreateFont(PVDMFRAME pFrame);
  28. ULONG FASTCALL WG32CreateFontIndirect(PVDMFRAME pFrame);
  29. INT W32FontFunc(LPLOGFONT pLogFont,
  30. LPTEXTMETRIC pTextMetrics, INT nFontType, PFNTDATA pFntData);
  31. ULONG FASTCALL WG32EnumFonts(PVDMFRAME pFrame);
  32. ULONG FASTCALL WG32GetAspectRatioFilter(PVDMFRAME pFrame);
  33. ULONG FASTCALL WG32GetCharWidth(PVDMFRAME pFrame);
  34. ULONG FASTCALL WG32RemoveFontResource(PVDMFRAME pFrame);
  35. ULONG W32EnumFontHandler( PVDMFRAME pFrame, BOOL fEnumFontFamilies );