如何在启动机器时自动运行adsl拨号(1)[3]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 zhujunfeng 的 blog

        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

本文关键:adsl 拨号 服务
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top