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

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

#ifndef AHMTRasDefinitionHPP
#define AHMTRasDefinitionHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <AHMTRASManager.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.hpp>	// Pascal unit

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

namespace Ahmtrasdefinition
{
//-- type declarations -------------------------------------------------------
#pragma pack(push, 1)
struct TRAS400DialParams
{
	unsigned 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
{
	unsigned dwSize;
	char szEntryName[257];
	char szPhoneNumber[129];
	char szCallbackNumber[129];
	char szUserName[257];
	char szPassword[257];
	char szDomain[16];
	unsigned dwSubEntry;
	unsigned dwCallbackId;
	char szPadding2[3];
} ;
#pragma pack(pop)

struct TRas400Entry
{
	unsigned dwSize;
	unsigned Options;
	unsigned dwCountryID;
	unsigned dwCountryCode;
	char szAreaCode[11];
	char pLocalPhoneNumber[129];
	unsigned AlternatesOffset;
	Ahmtrasmanager::TRasIPAddr IPAddr;
	Ahmtrasmanager::TRasIPAddr IPAddrDns;
	Ahmtrasmanager::TRasIPAddr IPAddrDnsAlt;
	Ahmtrasmanager::TRasIPAddr IPAddrWins;
	Ahmtrasmanager::TRasIPAddr IPAddrWinsAlt;
	unsigned dwFrameSize;
	unsigned dwNetProtocols;
	unsigned 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];
	unsigned dwChannels;
	unsigned Reserved1;
	unsigned Reserved2;
} ;

struct TRas401Entry
{
	unsigned dwSize;
	unsigned Options;
	unsigned dwCountryID;
	unsigned dwCountryCode;
	char szAreaCode[11];
	char pLocalPhoneNumber[129];
	unsigned AlternatesOffset;
	Ahmtrasmanager::TRasIPAddr IPAddr;
	Ahmtrasmanager::TRasIPAddr IPAddrDns;
	Ahmtrasmanager::TRasIPAddr IPAddrDnsAlt;
	Ahmtrasmanager::TRasIPAddr IPAddrWins;
	Ahmtrasmanager::TRasIPAddr IPAddrWinsAlt;
	unsigned dwFrameSize;
	unsigned dwNetProtocols;
	unsigned 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];
	unsigned dwChannels;
	unsigned Reserved1;
	unsigned Reserved2;
	unsigned dwSubEntries;
	unsigned dwDialMode;
	unsigned dwDialExtraPercent;
	unsigned dwDialExtraSampleSeconds;
	unsigned dwHangUpExtraPercent;
	unsigned dwHangUpExtraSampleSeconds;
	unsigned dwIdleDisconnectSeconds;
} ;

struct TRas500Entry
{
	unsigned dwSize;
	unsigned Options;
	unsigned dwCountryID;
	unsigned dwCountryCode;
	char szAreaCode[11];
	char pLocalPhoneNumber[129];
	unsigned AlternatesOffset;
	Ahmtrasmanager::TRasIPAddr IPAddr;
	Ahmtrasmanager::TRasIPAddr IPAddrDns;
	Ahmtrasmanager::TRasIPAddr IPAddrDnsAlt;
	Ahmtrasmanager::TRasIPAddr IPAddrWins;
	Ahmtrasmanager::TRasIPAddr IPAddrWinsAlt;
	unsigned dwFrameSize;
	unsigned dwNetProtocols;
	unsigned 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];
	unsigned dwChannels;
	unsigned Reserved1;
	unsigned Reserved2;
	unsigned dwSubEntries;
	unsigned dwDialMode;
	unsigned dwDialExtraPercent;
	unsigned dwDialExtraSampleSeconds;
	unsigned dwHangUpExtraPercent;
	unsigned dwHangUpExtraSampleSeconds;
	unsigned dwIdleDisconnectSeconds;
	char szPortName[129];
} ;

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

}	/* namespace Ahmtrasdefinition */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Ahmtrasdefinition;
#endif
#pragma option pop	// -w-
#pragma option pop	// -Vx

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// AHMTRasDefinition
