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.

69 lines
1.8 KiB

  1. #ifndef _IE_NT5_MIGRATION_MIGRATE_H_
  2. #define _IE_NT5_MIGRATION_MIGRATE_H_
  3. // Constants:
  4. ///////////////////////////
  5. #define CP_USASCII 1252
  6. #define END_OF_CODEPAGES -1
  7. #define REGKEY_RATING "Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Ratings"
  8. #define cszRATINGSFILE "ratings.pol"
  9. #define cszIEXPLOREFILE "iexplore.exe"
  10. #define cszMIGRATEINF "migrate.inf"
  11. #define cszPRIVATEINF "private.inf"
  12. // MIGRATE.INF section names.
  13. #define cszMIGINF_VERSION "Version"
  14. #define cszMIGINF_MIGRATION_PATHS "Migration Paths"
  15. #define cszMIGINF_EXCLUDED_PATHS "Excluded Paths"
  16. #define cszMIGINF_HANDLED "Handled"
  17. #define cszMIGINF_MOVED "Moved"
  18. #define cszMIGINF_INCOMPAT_MSG "Incompatible Messages"
  19. #define cszMIGINF_NTDISK_SPACE_REQ "NT Disk Space Requirements"
  20. // PRIVATE.INF values:
  21. #define cszIEPRIVATE "IE Private"
  22. #define cszRATINGS "Ratings"
  23. typedef struct _VendorInfo {
  24. CHAR CompanyName[256];
  25. CHAR SupportNumber[256];
  26. CHAR SupportUrl[256];
  27. CHAR InstructionsToUser[1024];
  28. } VENDORINFO, *PVENDORINFO;
  29. // Global variables:
  30. ///////////////////////////
  31. extern HINSTANCE g_hInstance;
  32. // Vendor Info:
  33. extern VENDORINFO g_VendorInfo;
  34. // Product ID:
  35. extern char g_cszProductID[];
  36. // Version number of this Migration Dll
  37. extern UINT g_uVersion;
  38. // Array of integers specifying the CodePages we use. (Terminated with -1)
  39. extern int g_rCodePages[];
  40. // Multi-SZ ie double Null terminated list of strings.
  41. extern char *g_lpNameBuf;
  42. extern DWORD g_dwNameBufSize;
  43. extern char *g_lpWorkingDir;
  44. extern char *g_lpSourceDirs;
  45. extern char g_szMigrateInf[];
  46. extern char g_szPrivateInf[];
  47. // Function Prototypes:
  48. ////////////////////////////
  49. //BOOL NeedToMigrateIE();
  50. #endif //_IE_NT5_MIGRATION_MIGRATE_H_