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.

93 lines
2.3 KiB

  1. #ifndef __MIGRATE_H
  2. #define __MIGRATE_H
  3. /*++
  4. migrate.h
  5. Copyright (c) 1997 Microsoft Corporation
  6. This file contains prototypes & definitions for the Win95->NT Fax
  7. migration DLL.
  8. Author:
  9. Brian Dewey (t-briand) 1997-7-14
  10. --*/
  11. // ------------------------------------------------------------
  12. // Prototypes
  13. // All of these functions are required in a migration DLL.
  14. LONG
  15. CALLBACK
  16. QueryVersion (
  17. OUT LPCSTR *ProductID, // Unique identifier string.
  18. OUT LPUINT DllVersion, // Version number. Cannot be zero.
  19. OUT LPINT *CodePageArray, // OPTIONAL. Language dependencies.
  20. OUT LPCSTR *ExeNamesBuf, // OPTIONAL. Executables to look for.
  21. LPVOID Reserved
  22. );
  23. LONG
  24. CALLBACK
  25. Initialize9x(
  26. IN LPCSTR WorkingDirectory, // Place to store files.
  27. IN LPCSTR SourceDirectories, // Location of the Windows NT source. MULTI-SZ.
  28. LPVOID Reserved // Exactly what it says.
  29. );
  30. LONG
  31. CALLBACK
  32. MigrateUser9x(
  33. IN HWND ParentWnd, // Parent (if need a UI)
  34. IN LPCSTR UnattendFile, // Name of unattend file
  35. IN HKEY UserRegKey, // Key to this user's registry settings.
  36. IN LPCSTR UserName, // Account name of user.
  37. LPVOID Reserved
  38. );
  39. LONG
  40. CALLBACK
  41. MigrateSystem9x(
  42. IN HWND ParentWnd, // Parent for UI.
  43. IN LPCSTR UnattendFile, // Name of unattend file
  44. LPVOID Reserved
  45. );
  46. LONG
  47. CALLBACK
  48. InitializeNT(
  49. IN LPCWSTR WorkingDirectory, // Working directory for temporary files.
  50. IN LPCWSTR SourceDirectory, // Directory of winNT source.
  51. LPVOID Reserved // It's reserved.
  52. );
  53. LONG
  54. CALLBACK
  55. MigrateUserNT(
  56. IN HINF UnattendInfHandle, // Access to the unattend.txt file.
  57. IN HKEY UserRegHandle, // Handle to registry settings for user.
  58. IN LPCWSTR UserName, // Name of the user.
  59. LPVOID Reserved
  60. );
  61. LONG
  62. CALLBACK
  63. MigrateSystemNT(
  64. IN HINF UnattendInfHandle, // Access to the unattend.txt file.
  65. LPVOID Reserved
  66. );
  67. // ------------------------------------------------------------
  68. // defines
  69. #define FAX_MIGRATION_VERSION (1)
  70. // ------------------------------------------------------------
  71. // global data
  72. extern LPCTSTR lpLogonUser; // Holds the logon user name for faxuser.ini
  73. extern TCHAR szInfFileName[]; // Name of the generated INF file.
  74. extern HINSTANCE hinstMigDll; // Handle to the migration DLL instance.
  75. #endif // __MIGRATE_H