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.

43 lines
1.3 KiB

  1. /****************************************************************************\
  2. MAIN.H / Mass Storage Device Installer (MSDINST.LIB)
  3. Microsoft Confidential
  4. Copyright (c) Microsoft Corporation 2001
  5. All rights reserved
  6. Main internal header file for the MSD Installation library.
  7. 08/2001 - Jason Cohen (JCOHEN)
  8. Added this new header file for the new MSD Isntallation project.
  9. Contains all the prototypes and other defines that are needed
  10. internally.
  11. \****************************************************************************/
  12. #ifndef _MAIN_H_
  13. #define _MAIN_H_
  14. //
  15. // Private Exported Function Prototype(s):
  16. //
  17. // From OFFLINE.C:
  18. //
  19. BOOL OfflineCommitFileQueue(HSPFILEQ hFileQueue, LPTSTR lpInfPath, LPTSTR lpSourcePath, LPTSTR lpOfflineWindowsDirectory );
  20. // From ADDSVC.C:
  21. //
  22. DWORD AddService(
  23. LPTSTR lpszServiceName, // Name of the service (as it appears under HKLM\System\CCS\Services).
  24. LPTSTR lpszServiceInstallSection, // Name of the service install section.
  25. LPTSTR lpszServiceInfInstallFile, // Name of the service inf file.
  26. HKEY hkeyRoot // Handle to the offline hive key to use as HKLM when checking for and installing the service.
  27. );
  28. #endif // _MAIN_H_