dwsize : dword;
szentryname : array [0..ras_maxentryname] of char;
szpadding : array [0..2] of char;
end;
prasentryname = ^trasentryname;
trasentrydlg = packed record
dwsize : dword;
hwndowner : hwnd;
dwflags : dword;
xdlg : longint;
ydlg : longint;
szentry : array [0..ras_maxentryname] of char;
dwerror : dword;
reserved : dword;
reserved2 : dword;
szpadding : array [0..2] of char;
end;
prasentrydlg = ^trasentrydlg;
trasprojection = integer;
traspppip = record
dwsize : dword;
dwerror : dword;
szipaddress : array [0..ras_maxipaddress] of char;
end;
function rasdiala(rasdialextensions: prasdialextensions;
phonebook : pchar;
rasdialparams : prasdialparams;
notifiertype : dword;
notifier : pointer;
rasconn : phrasconn
): dword; stdcall;
function rasgeterrorstringa(
uerrorvalue : dword; // error to get string for
szerrorstring : pchar; // buffer to hold error string
cbufsize : dword // size, in characters, of buffer
): dword; stdcall;
function rashangupa(rasconn: thrasconn): dword; stdcall;
function rasconnectionstatetostring(nstate : integer) : string;
function rasgetconnectstatusa(
hrasconn: thrasconn; // handle to ras connection of interest
lprasconnstatus : prasconnstatus // buffer to receive status data
): dword; stdcall;
function rasenumconnectionsa(
prasconn : prasconn; // buffer to receive connections data
pcb : pdword; // size in bytes of buffer
pcconnections : pdword // number of connections written to buffer
) : dword; stdcall
function rasenumentriesa(
reserved : pointer; // reserved, must be nil