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.

117 lines
1.9 KiB

  1. /*++
  2. winntmig.h
  3. Copyright (c) 2001 Microsoft Corporation
  4. This header file contains definitions and typedefs used for NT->Windows XP Fax Migration.
  5. Author:
  6. Jonathan Barner, Dec. 2001
  7. --*/
  8. #ifndef __WINNTMIG_H__
  9. #define __WINNTMIG_H__
  10. #include <windows.h>
  11. #include <setupapi.h>
  12. //
  13. // Defines
  14. //
  15. typedef enum {
  16. OS_WINDOWS9X = 0,
  17. OS_WINDOWSNT4X = 1,
  18. OS_WINDOWS2000 = 2,
  19. OS_WINDOWSWHISTLER = 3
  20. } OS_TYPES, *POS_TYPES;
  21. typedef struct {
  22. CHAR CompanyName[256];
  23. CHAR SupportNumber[256];
  24. CHAR SupportUrl[256];
  25. CHAR InstructionsToUser[1024];
  26. } VENDORINFO, *PVENDORINFO;
  27. //
  28. // Migration Info Stuctures
  29. //
  30. typedef struct {
  31. SIZE_T Size;
  32. PCWSTR StaticProductIdentifier;
  33. UINT DllVersion;
  34. PINT CodePageArray;
  35. UINT SourceOs;
  36. UINT TargetOs;
  37. PCWSTR* NeededFileList;
  38. PVENDORINFO VendorInfo;
  39. } MIGRATIONINFOW, *PMIGRATIONINFOW;
  40. LONG
  41. CALLBACK
  42. QueryMigrationInfoW(
  43. OUT PMIGRATIONINFOW *ppMigrationInfo
  44. );
  45. LONG
  46. CALLBACK
  47. InitializeSrcW(
  48. IN PCWSTR WorkingDirectory,
  49. IN PCWSTR SourceDirectories,
  50. IN PCWSTR MediaDirectory,
  51. PVOID Reserved
  52. );
  53. LONG
  54. CALLBACK
  55. InitializeDstW(
  56. IN PCWSTR WorkingDirectory,
  57. IN PCWSTR SourceDirectories,
  58. PVOID Reserved
  59. );
  60. LONG
  61. CALLBACK
  62. GatherUserSettingsW(
  63. IN PCWSTR AnswerFile,
  64. IN HKEY UserRegKey,
  65. IN PCWSTR UserName,
  66. PVOID Reserved
  67. );
  68. LONG
  69. CALLBACK
  70. GatherSystemSettingsW(
  71. IN PCWSTR AnswerFile,
  72. PVOID Reserved
  73. );
  74. LONG
  75. CALLBACK
  76. ApplyUserSettingsW(
  77. IN HINF UnattendInfHandle,
  78. IN HKEY UserRegHandle,
  79. IN PCWSTR UserName,
  80. IN PCWSTR UserDomain,
  81. IN PCWSTR FixedUserName,
  82. PVOID Reserved
  83. );
  84. LONG
  85. CALLBACK
  86. ApplySystemSettingsW(
  87. IN HINF UnattendInfHandle,
  88. PVOID Reserved
  89. );
  90. #endif // __WINNTMIG_H__