windows-nt/Source/XPSP1/NT/net/config/netcfg/rascfg/rasaf.h
2020-09-26 16:20:57 +08:00

95 lines
1.6 KiB
C

//+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1997.
//
// File: R A S A F . H
//
// Contents: RAS Answer File object.
//
// Notes:
//
// Author: shaunco 19 Apr 1997
//
//----------------------------------------------------------------------------
#pragma once
#include "rasdata.h"
struct CRasSrvAnswerFileData
{
HRESULT
HrOpenAndRead (
PCWSTR pszAnswerFile,
PCWSTR pszAnswerSection);
VOID
SaveToRegistry (
VOID) const;
BOOL m_fRouterTypeSpecified;
DWORD m_dwDialInProtocolIds;
BOOL m_fSetUsageToDialin;
DATA_SRV_CFG m_dataSrvCfg;
DATA_SRV_IP m_dataSrvIp;
DATA_SRV_IPX m_dataSrvIpx;
DATA_SRV_NBF m_dataSrvNbf;
};
struct CL2tpAnswerFileData
{
VOID
CheckAndDefault ();
HRESULT
HrOpenAndRead (
PCWSTR pszAnswerFile,
PCWSTR pszAnswerSection);
VOID
SaveToRegistry (
INetCfg* pnc) const;
DWORD m_cMaxVcs;
DWORD m_cEndpoints;
BOOL m_fWriteEndpoints;
};
struct CPptpAnswerFileData
{
VOID
CheckAndDefault ();
DWORD
GetDefaultNumberOfVpns ();
HRESULT
HrOpenAndRead (
PCWSTR pszAnswerFile,
PCWSTR pszAnswerSection);
VOID
SaveToRegistry (
INetCfg* pnc) const;
DWORD m_cVpns;
};
struct CPppoeAnswerFileData
{
VOID
CheckAndDefault ();
HRESULT
HrOpenAndRead (
PCWSTR pszAnswerFile,
PCWSTR pszAnswerSection);
VOID
SaveToRegistry (
INetCfg* pnc) const;
DWORD m_cVpns;
};