Source code of Windows XP (NT5)
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.

44 lines
855 B

  1. //
  2. // Copyright (c) 1997-1999 Microsoft Corporation.
  3. //
  4. #ifdef BUILD_ON_WINNT
  5. /*
  6. * To avoid multipule definition, this is already defined in w31jeudc.cpp
  7. */
  8. #else
  9. /*
  10. File Structure */
  11. struct W31_Header {
  12. char identify[72];
  13. short segCnt; /* ??? */
  14. unsigned short sCode,
  15. eCode;
  16. short cCnt;
  17. long ofsCmap;
  18. short sizCmap;
  19. long ofsFil;
  20. short sizFil;
  21. long ofsStbl; /* search tbl*/
  22. short sizStbl;
  23. long ofsBdatSub;
  24. };
  25. struct BDatSubTbl {
  26. long tail;
  27. long ptrOfs;
  28. long head;
  29. short filler2;
  30. /* Following Pointer tbl. */
  31. };
  32. struct BMPHeader {
  33. long bitmapSiz;
  34. short xsiz, ysiz;
  35. };
  36. #endif // BUILD_ON_WINNT
  37. extern int OpenW31JEUDC( TCHAR *path);
  38. extern void CloseW31JEUDC();
  39. extern int GetW31JEUDCFont(int rec, LPBYTE buf,int bufsiz,int *xsiz,int *ysiz);
  40. extern int PutW31JEUDCFont(int rec, LPBYTE buf,int xsiz,int ysiz);
  41. /* EOF */