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.

41 lines
1.2 KiB

  1. /******************************Module*Header*******************************\
  2. * Module Name: fot16.h
  3. *
  4. * structures for accessing font resources within 16 bit fon dlls
  5. *
  6. * Created: 08-May-1991 13:12:57
  7. * Author: Bodin Dresevic [BodinD]
  8. *
  9. * Copyright (c) 1990-1999 Microsoft Corporation
  10. *
  11. \**************************************************************************/
  12. //
  13. // The main structure for manipulating the resource data. One of these
  14. // is created when access is required to a resource, and it is destroyed
  15. // when the resource is no longer required.
  16. typedef struct // wrd
  17. {
  18. PVOID pvView; // view of the mapped *.fot file
  19. ULONG cjView; // size of the view
  20. // stuff referring to general resources
  21. PTRDIFF dpNewExe; // Base address of new header in file
  22. ULONG ulShift; // Shift factor for resource info
  23. PTRDIFF dpResTab; // Offset in file of resource table (first RSRC_TYPEINFO struct)
  24. ULONG cjResTab; // Bytes in file to store for above
  25. // font directory location and size
  26. PBYTE pjHdr;
  27. ULONG cjHdr;
  28. // ttf file name location and size
  29. PSZ pszNameTTF;
  30. ULONG cchNameTTF;
  31. } WINRESDATA, *PWINRESDATA;