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.

38 lines
1.4 KiB

  1. // File: nmmigrat.h
  2. #include <windows.h>
  3. // from windows.h
  4. UINT WINAPI DeletePathname(LPCSTR); /* ;Internal */
  5. // From setupx.h
  6. // Migration DLLs
  7. #define SU_MIGRATE_PREINFLOAD 0x00000001 // before the setup INFs are loaded
  8. #define SU_MIGRATE_POSTINFLOAD 0x00000002 // after the setup INFs are loaded
  9. #define SU_MIGRATE_DISKSPACE 0x00000010 // request for the amount of additional diskspace needed
  10. #define SU_MIGRATE_PREQUEUE 0x00000100 // before the INFs are processed and files are queued
  11. #define SU_MIGRATE_POSTQUEUE 0x00000200 // after INFs are processed
  12. #define SU_MIGRATE_REBOOT 0x00000400 // just before we are going to reboot for the 1st time
  13. #define SU_MIGRATE_PRERUNONCE 0x00010000 // before any runonce items are processed
  14. #define SU_MIGRATE_POSTRUNONCE 0x00020000 // after all runonce items are processed
  15. // temporary setup directory used by setup, this is only valid durring
  16. // regular install and contains the INF and other binary files. May be
  17. // read-only location.
  18. #define LDID_SETUPTEMP 2 // temporary setup dir for install
  19. #define LDID_INF 17 // destination Windows *.INF dir.
  20. // RETERR WINAPI CtlGetLddPath ( LOGDISKID, LPSTR );
  21. UINT WINAPI CtlGetLddPath(UINT, LPSTR);
  22. #define Reference(x) { if (x) ; }
  23. // Prototype for exported function
  24. DWORD FAR PASCAL NmMigration(DWORD dwStage, LPSTR lpszParams, LPARAM lParam);
  25. #ifndef MAX_PATH
  26. #define MAX_PATH 260
  27. #endif