mirror of https://github.com/tongzx/nt5src
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.
50 lines
1.2 KiB
50 lines
1.2 KiB
// Copyright (c) 1997-2001 Microsoft Corporation
|
|
//
|
|
// File: NetworkServiceInstallationBase.h
|
|
//
|
|
// Synopsis: Declares a NetworkServiceInstallationBase
|
|
// Contains the common methods for the network
|
|
// service installations including
|
|
// DNS, WINS, and DHCP
|
|
//
|
|
// History: 03/26/2001 JeffJon Created
|
|
|
|
#ifndef __CYS_NETWORKSERVICEINSTALLATIONBASE_H
|
|
#define __CYS_NETWORKSERVICEINSTALLATIONBASE_H
|
|
|
|
#include "InstallationUnit.h"
|
|
|
|
class NetworkServiceInstallationBase : public InstallationUnit
|
|
{
|
|
public:
|
|
|
|
// Constructor
|
|
|
|
NetworkServiceInstallationBase(
|
|
unsigned int serviceNameID,
|
|
unsigned int serviceDescriptionID,
|
|
unsigned int serviceDescriptionInstalledID,
|
|
InstallationUnitType newInstallType);
|
|
|
|
// Base class overrides
|
|
|
|
virtual
|
|
String
|
|
GetServiceDescription();
|
|
|
|
protected:
|
|
|
|
void
|
|
CreateInfFileText(
|
|
String& infFileText,
|
|
unsigned int windowTitleResourceID);
|
|
|
|
void
|
|
CreateUnattendFileText(
|
|
String& unattendFileText,
|
|
PCWSTR serviceName);
|
|
|
|
unsigned int installedDescriptionID;
|
|
};
|
|
|
|
#endif // __CYS_NETWORKSERVICEINSTALLATIONBASE_H
|