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.

56 lines
1.4 KiB

  1. //----------------------------------------------------------------------------
  2. //
  3. // Image Support.
  4. //
  5. // Copyright (C) Microsoft Corporation, 2000.
  6. //
  7. //----------------------------------------------------------------------------
  8. // taken from _MAX_PATH
  9. #define NB_PATH_SIZE 260 /* max. length of full pathname */
  10. // for reading debug directory info
  11. #define NB10_SIG ((DWORD)'01BN')
  12. #define RSDS_SIG ((DWORD)'SDSR')
  13. typedef struct _NB10I // NB10 debug info
  14. {
  15. DWORD dwSig; // NB10
  16. DWORD dwOffset; // offset, always 0
  17. ULONG sig;
  18. ULONG age;
  19. char szPdb[NB_PATH_SIZE];
  20. } NB10I, *PNB10I;
  21. typedef struct _NB10I_HEADER // NB10 debug info
  22. {
  23. DWORD dwSig; // NB10
  24. DWORD dwOffset; // offset, always 0
  25. ULONG sig;
  26. ULONG age;
  27. } NB10IH, *PNB10IH;
  28. typedef struct _RSDSI // RSDS debug info
  29. {
  30. DWORD dwSig; // RSDS
  31. GUID guidSig;
  32. DWORD age;
  33. char szPdb[NB_PATH_SIZE * 3];
  34. } RSDSI, *PRSDSI;
  35. typedef struct _RSDSI_HEADER // RSDS debug info
  36. {
  37. DWORD dwSig; // RSDS
  38. GUID guidSig;
  39. DWORD age;
  40. } RSDSIH, *PRSDSIH;
  41. typedef union _CVDD
  42. {
  43. DWORD dwSig;
  44. NB10I nb10i;
  45. RSDSI rsdsi;
  46. NB10IH nb10ih;
  47. RSDSIH rsdsih;
  48. } CVDD, *PCVDD;