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.
 
 
 
 
 
 

94 lines
1.7 KiB

//+---------------------------------------------------------------------------
//
// 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;
};