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.
 
 
 
 
 
 

80 lines
2.7 KiB

//+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1997.
//
// File: NCCM.H
//
// Contents: Installation support for Connection Manager Administration kit
// Contents: Installation support for Connection Point Services -- Phonebook Admin
// Contents: Installation support for Connection Point Services -- Phonebook Server
//
// Notes:
//
// Author: quintinb 26 Jan 1999
//
//----------------------------------------------------------------------------
#ifndef _NCCM_H_
#define _NCCM_H_
#pragma once
#include <aclapi.h>
#include "netoc.h"
#include "netocp.h"
#include "ncreg.h"
// Types
//
enum e_rootType {www, ftp};
// Function Headers
//
// Extension Procs
HRESULT HrOcExtCMAK(PNETOCDATA pnocd, UINT uMsg, WPARAM wParam, LPARAM lParam);
HRESULT HrOcExtCPS(PNETOCDATA pnocd, UINT uMsg, WPARAM wParam, LPARAM lParam);
//CMAK
HRESULT HrOcCmakPreQueueFiles(PNETOCDATA pnocd);
HRESULT HrOcCmakPostInstall(PNETOCDATA pnocd);
BOOL migrateProfiles(PCTSTR pszSource, PCWSTR pszDestination);
BOOL RenameProfiles32(PCTSTR pszCMAKpath, PCWSTR pszProfilesDir);
void DeleteOldCmakSubDirs(PCWSTR pszCmakPath);
void DeleteIeakCmakLinks();
void DeleteProgramGroupWithLinks(PCWSTR pszGroupPath);
void DeleteOldNtopLinks();
//PBA
HRESULT HrOcCpaPreQueueFiles(PNETOCDATA pnocd);
//HRESULT HrOcCpaOnInstall(PNETOCDATA pnocd);
//HRESULT RefCountPbaSharedDlls(BOOL bIncrement);
//HRESULT UnregisterAndDeleteDll(PCWSTR pszFile);
//HRESULT HrGetDaoInstallPath(PWSTR pszDaoPath, DWORD dwNumChars);
//HRESULT HrGetPbaInstallPath(PWSTR pszCpaPath, DWORD dwNumChars);
//HRESULT RegisterDll(PCWSTR pszFile);
//PBS
HRESULT HrOcCpsOnInstall(PNETOCDATA pnocd);
HRESULT HrOcCpsPreQueueFiles(PNETOCDATA pnocd);
BOOL RegisterPBServerDataSource();
BOOL CreateCPSVRoots();
BOOL RemoveCPSVRoots();
BOOL LoadPerfmonCounters();
HRESULT SetVirtualRootAccessPermissions(PWSTR pszVirtDir, DWORD dwAccessPermissions);
HRESULT SetVirtualRootNoAnonymous(PWSTR pszVirtDir);
HRESULT AddNewVirtualRoot(e_rootType rootType, PWSTR pszDir, PWSTR pszPath);
HRESULT DeleteVirtualRoot(e_rootType rootType, PWSTR pszPath);
HRESULT SetDirectoryAccessPermissions(PCWSTR pszFile, ACCESS_RIGHTS AccessRightsToModify, ULONG fAccessFlags, PSID pSid);
void SetCpsDirPermissions();
HRESULT CreateNewAppPoolAndAddPBS();
HRESULT DeleteAppPool();
HRESULT EnableISAPIRequests(PCTSTR szComponentName);
HRESULT UseProcessToEnableDisablePBS(BOOL fEnable);
HRESULT HrMoveOldCpsInstall(PCWSTR pszProgramFiles);
HRESULT HrGetWwwRootDir(PWSTR pszWwwRoot, UINT uWwwRootCount);
#endif // _NCCM_H_