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.

54 lines
1.3 KiB

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