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.

75 lines
2.4 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1997.
  5. //
  6. // File: NCCM.H
  7. //
  8. // Contents: Installation support for Connection Manager Administration kit
  9. // Contents: Installation support for Connection Point Services -- Phonebook Admin
  10. // Contents: Installation support for Connection Point Services -- Phonebook Server
  11. //
  12. // Notes:
  13. //
  14. // Author: quintinb 26 Jan 1999
  15. //
  16. //----------------------------------------------------------------------------
  17. #ifndef _NCCM_H_
  18. #define _NCCM_H_
  19. #pragma once
  20. #include <aclapi.h>
  21. #include "netoc.h"
  22. #include "netocp.h"
  23. #include "ncreg.h"
  24. // Types
  25. //
  26. enum e_rootType {www, ftp};
  27. // Function Headers
  28. //
  29. // Shared Extension Proc
  30. HRESULT HrOcExtCM(PNETOCDATA pnocd, UINT uMsg, WPARAM wParam, LPARAM lParam);
  31. //CMAK
  32. HRESULT HrOcCmakPreQueueFiles(PNETOCDATA pnocd);
  33. HRESULT HrOcCmakPostInstall(PNETOCDATA pnocd);
  34. BOOL migrateProfiles(PCTSTR pszSource, PCWSTR pszDestination);
  35. BOOL RenameProfiles32(PCTSTR pszCMAKpath, PCWSTR pszProfilesDir);
  36. void DeleteOldCmakSubDirs(PCWSTR pszCmakPath);
  37. void DeleteIeakCmakLinks();
  38. void DeleteProgramGroupWithLinks(PCWSTR pszGroupPath);
  39. void DeleteOldNtopLinks();
  40. //PBA
  41. HRESULT HrOcCpaPreQueueFiles(PNETOCDATA pnocd);
  42. //HRESULT HrOcCpaOnInstall(PNETOCDATA pnocd);
  43. //HRESULT RefCountPbaSharedDlls(BOOL bIncrement);
  44. //HRESULT UnregisterAndDeleteDll(PCWSTR pszFile);
  45. //HRESULT HrGetDaoInstallPath(PWSTR pszDaoPath, DWORD dwNumChars);
  46. //HRESULT HrGetPbaInstallPath(PWSTR pszCpaPath, DWORD dwNumChars);
  47. //HRESULT RegisterDll(PCWSTR pszFile);
  48. //PBS
  49. HRESULT HrOcCpsOnInstall(PNETOCDATA pnocd);
  50. HRESULT HrOcCpsPreQueueFiles(PNETOCDATA pnocd);
  51. BOOL RegisterPBServerDataSource();
  52. BOOL CreateCPSVRoots();
  53. BOOL RemoveCPSVRoots();
  54. BOOL LoadPerfmonCounters();
  55. HRESULT SetVirtualRootAccessPermissions(PWSTR pszVirtDir, DWORD dwAccessPermisions );
  56. HRESULT AddNewVirtualRoot(e_rootType rootType, PWSTR pszDir, PWSTR pszPath);
  57. HRESULT DeleteVirtualRoot(e_rootType rootType, PWSTR pszPath);
  58. HRESULT SetDirectoryAccessPermissions(PCWSTR pszFile, ACCESS_RIGHTS AccessRightsToModify, ULONG fAccessFlags, PSID pSid);
  59. void SetCpsDirPermissions();
  60. DWORD AddToRegKeySD(PCWSTR pszRegKeyName, PSID pGroupSID, DWORD dwAccessMask);
  61. HRESULT HrMoveOldCpsInstall(PCWSTR pszProgramFiles);
  62. HRESULT HrGetWwwRootDir(PWSTR pszWwwRoot, UINT uWwwRootCount);
  63. #endif // _NCCM_H_