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

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

本文简介:选择自 zhujunfeng 的 blog

                  szphonebook : pchar;  // full path and filename of phonebook file
                  lprasentryname : prasentryname; // buffer to receive entries
                  lpcb : pdword;  // size in bytes of buffer
                  lpcentries : pdword  // number of entries written to buffer
                 ) : dword; stdcall;
function rasgetentrydialparamsa(
                  lpszphonebook : pchar; // pointer to the full path and filename of the phonebook file
                  lprasdialparams : prasdialparams; // pointer to a structure that receives the connection parameters
                  lpfpassword : pbool    // indicates whether the user's password was retrieved
                 ) : dword; stdcall;
function raseditphonebookentrya(
                   hwndparent : hwnd;     // handle to the parent window of the dialog box
                   lpszphonebook : pchar; // pointer to the full path and filename of the phonebook file
                   lpszentryname : pchar  // pointer to the phonebook entry name
                 ) : dword; stdcall;
//function rasentrydlga(
//                   lpszphonebook : pchar; // pointer to the full path and filename of the phone-book file
//                   lpszentry : pchar;     // pointer to the name of the phone-book entry to edit, copy, or create
//                   lpinfo : prasentrydlg  // pointer to a structure that contains additional parameters
//                 ) : dword; stdcall;
function rascreatephonebookentrya(
                     hwndparent : hwnd;    // handle to the parent window of the dialog box
                     lpszphonebook : pchar // pointer to the full path and filename of the phonebook file
                   ) : dword; stdcall;

function rasgetprojectioninfoa(
                    hrasconn      : thrasconn;      // handle that specifies remote access connection of interest
                    rasprojection : trasprojection; // specifies type of projection information to obtain
                    lpprojection  : pointer;        // points to buffer that receives projection information
                    lpcb          : pdword          // points to variable that specifies buffer size
                   ) : dword; stdcall;
function rasgetipaddress: string;

implementation


{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *}

本文关键:adsl 拨号 服务
 

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

go top