DECLARE INTEGER InternetDial IN WinInet ; INTEGER nHandle, STRING @lpcDialUp, INTEGER nAccessType, INTEGER @nConnect_Handle, ; INTEGER nFlags
PROCEDURE DialUp LPARAMETERS NumeConexiune,Indicator LOCAL rezultat, idconexiune, idfereastra idconexiune = 0 idfereastra = 0 IF TYPE("NumeConexiune") != "C" OR ; TYPE("Indicator") != "N" RETURN -1 ENDIF IF LEN(ALLTRIM(NumeConexiune)) = 0 RETURN -1 ENDIF rezultat = InternetDial(idFereastra, @NumeConexiune, indicator, @idconexiune, 0) RETURN idconexiune ENDPROCThe NumeConexiune variable contains the name of the dial-up connection, as defined in DialUp Networking.