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.

88 lines
1.4 KiB

  1. /****************************************************************************\
  2. MSDINST.H / Mass Storage Device Installer (MSDINST.LIB)
  3. Microsoft Confidential
  4. Copyright (c) Microsoft Corporation 2001
  5. All rights reserved
  6. Public (to the OPK) header file that contains all the external data needed
  7. to use the MSD Installation library.
  8. 07/2001 - Jason Cohen (JCOHEN)
  9. Added this new OPK header file for the new MSD Installation project.
  10. \****************************************************************************/
  11. #ifndef _MSDINST_H_
  12. #define _MSDINST_H_
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif // __cplusplus
  16. //
  17. // Function Prototype(s):
  18. //
  19. //
  20. // From SETUPCDD.CPP:
  21. //
  22. BOOL
  23. SetupCriticalDevices(
  24. LPTSTR lpszInfFile,
  25. HKEY hkeySoftware,
  26. HKEY hkeyLM,
  27. LPTSTR lpszWindows
  28. );
  29. //
  30. // From OFFLINE.CPP;
  31. //
  32. #define INSTALL_FLAG_FORCE 0x00000001
  33. VOID
  34. SetOfflineInstallFlags(
  35. IN DWORD
  36. );
  37. DWORD
  38. GetOfflineInstallFlags(
  39. VOID
  40. );
  41. BOOL
  42. UpdateOfflineDevicePath(
  43. IN LPTSTR lpszInfPath,
  44. IN HKEY hKeySoftware
  45. );
  46. //
  47. // From LOADHIVE.CPP:
  48. //
  49. BOOL
  50. RegLoadOfflineImage(
  51. LPTSTR lpszWindows,
  52. PHKEY phkeySoftware,
  53. PHKEY phkeySystem
  54. );
  55. BOOL
  56. RegUnloadOfflineImage(
  57. HKEY hkeySoftware,
  58. HKEY hkeySystem
  59. );
  60. #ifdef __cplusplus
  61. }
  62. #endif // __cplusplus
  63. #endif // _MSDINST_H_