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.

46 lines
939 B

  1. // shared defines between ie4comp.cpp and buildie.cpp
  2. // AVS states and base components
  3. #define COMP_OPTIONAL 0
  4. #define COMP_CORE 1
  5. #define COMP_SERVER 2
  6. #define BROWN 0
  7. #define BROWN2 1
  8. #define BLUE 2
  9. #define BLUE2 3
  10. #define RED 4
  11. #define YELLOW 5
  12. #define GREEN 6
  13. // custom components
  14. #define INST_CAB 0
  15. #define INST_EXE 2
  16. #define MAXCUST 16
  17. //Indicates the last predefined sourcefiles section in ie4cust.sed + 1
  18. #define SED_START_INDEX 5
  19. #define PLAT_I386 0
  20. #define PLAT_W98 1
  21. #define PLAT_NTx86 2
  22. #define PLAT_ALPHA 3
  23. // download sites
  24. #define NUMSITES 50
  25. typedef struct tag_sitedata
  26. {
  27. TCHAR szName[80];
  28. TCHAR szUrl[MAX_URL]; // BUBUG: should dynamically allocate
  29. TCHAR szRegion[80];
  30. } SITEDATA, *PSITEDATA;
  31. typedef struct component_version
  32. {
  33. TCHAR szID[MAX_PATH];
  34. TCHAR szVersion[MAX_PATH];
  35. } COMP_VERSION, *PCOMP_VERSION;
  36. void GetUpdateSite();