// Borland C++ Builder
// Copyright (c) 1995, 1998 by Borland International
// All rights reserved

// (DO NOT EDIT: machine generated header) 'AHMTRasDefinition.pas' rev: 3.00

#ifndef AHMTRasDefinitionHPP
#define AHMTRasDefinitionHPP
#include <AHMTRASManager.hpp>
#include <Windows.hpp>
#include <SysInit.hpp>
#include <System.hpp>

//-- user supplied -----------------------------------------------------------

namespace Ahmtrasdefinition
{
//-- type declarations -------------------------------------------------------
#pragma pack(push, 1)
struct TRAS400DialParams
{
	int dwSize;
	char szEntryName[257];
	char szPhoneNumber[129];
	char szCallbackNumber[129];
	char szUserName[257];
	char szPassword[257];
	char szDomain[16];
	char szPadding1[3];
} ;
#pragma pack(pop)

#pragma pack(push, 1)
struct TRAS401DialParams
{
	int dwSize;
	char szEntryName[257];
	char szPhoneNumber[129];
	char szCallbackNumber[129];
	char szUserName[257];
	char szPassword[257];
	char szDomain[16];
	int dwSubEntry;
	int dwCallbackId;
	char szPadding2[3];
} ;
#pragma pack(pop)

struct TRas400Entry
{
	int dwSize;
	int Options;
	int dwCountryID;
	int dwCountryCode;
	char szAreaCode[11];
	char pLocalPhoneNumber[129];
	int AlternatesOffset;
	Ahmtrasmanager::TRasIPAddr IPAddr;
	Ahmtrasmanager::TRasIPAddr IPAddrDns;
	Ahmtrasmanager::TRasIPAddr IPAddrDnsAlt;
	Ahmtrasmanager::TRasIPAddr IPAddrWins;
	Ahmtrasmanager::TRasIPAddr IPAddrWinsAlt;
	int dwFrameSize;
	int dwNetProtocols;
	int dwFramingProtocol;
	char szScript[260];
	char szAutodialDll[260];
	char szAutodialFunc[260];
	char szDeviceType[17];
	char szDeviceName[129];
	char szX25PadType[33];
	char szX25Address[201];
	char szX25Facilities[201];
	char szX25UserData[201];
	int dwChannels;
	int Reserved1;
	int Reserved2;
} ;

struct TRas401Entry
{
	int dwSize;
	int Options;
	int dwCountryID;
	int dwCountryCode;
	char szAreaCode[11];
	char pLocalPhoneNumber[129];
	int AlternatesOffset;
	Ahmtrasmanager::TRasIPAddr IPAddr;
	Ahmtrasmanager::TRasIPAddr IPAddrDns;
	Ahmtrasmanager::TRasIPAddr IPAddrDnsAlt;
	Ahmtrasmanager::TRasIPAddr IPAddrWins;
	Ahmtrasmanager::TRasIPAddr IPAddrWinsAlt;
	int dwFrameSize;
	int dwNetProtocols;
	int dwFramingProtocol;
	char szScript[260];
	char szAutodialDll[260];
	char szAutodialFunc[260];
	char szDeviceType[17];
	char szDeviceName[129];
	char szX25PadType[33];
	char szX25Address[201];
	char szX25Facilities[201];
	char szX25UserData[201];
	int dwChannels;
	int Reserved1;
	int Reserved2;
	int dwSubEntries;
	int dwDialMode;
	int dwDialExtraPercent;
	int dwDialExtraSampleSeconds;
	int dwHangUpExtraPercent;
	int dwHangUpExtraSampleSeconds;
	int dwIdleDisconnectSeconds;
} ;

struct TRas500Entry
{
	int dwSize;
	int Options;
	int dwCountryID;
	int dwCountryCode;
	char szAreaCode[11];
	char pLocalPhoneNumber[129];
	int AlternatesOffset;
	Ahmtrasmanager::TRasIPAddr IPAddr;
	Ahmtrasmanager::TRasIPAddr IPAddrDns;
	Ahmtrasmanager::TRasIPAddr IPAddrDnsAlt;
	Ahmtrasmanager::TRasIPAddr IPAddrWins;
	Ahmtrasmanager::TRasIPAddr IPAddrWinsAlt;
	int dwFrameSize;
	int dwNetProtocols;
	int dwFramingProtocol;
	char szScript[260];
	char szAutodialDll[260];
	char szAutodialFunc[260];
	char szDeviceType[17];
	char szDeviceName[129];
	char szX25PadType[33];
	char szX25Address[201];
	char szX25Facilities[201];
	char szX25UserData[201];
	int dwChannels;
	int Reserved1;
	int Reserved2;
	int dwSubEntries;
	int dwDialMode;
	int dwDialExtraPercent;
	int dwDialExtraSampleSeconds;
	int dwHangUpExtraPercent;
	int dwHangUpExtraSampleSeconds;
	int dwIdleDisconnectSeconds;
	char szPortName[129];
} ;

//-- var, const, procedure ---------------------------------------------------
extern PACKAGE int __fastcall GetRasWinVer(void);
extern PACKAGE int __fastcall GetRasDialParamSize(void);
extern PACKAGE int __fastcall GetRasEntrySize(void);

}	/* namespace Ahmtrasdefinition */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Ahmtrasdefinition;
#endif
//-- end unit ----------------------------------------------------------------
#endif	// AHMTRasDefinition
