Click to open or copy the files for the RASberry sample.
This sample demonstrates the Remote Access Service (RAS) API set. RASberry allows the user to enumerate current RAS connections, display the status of a selected connection, dial entries from the default phone book, and hang up an active connection.
This sample uses the following keywords:
_ffree; _fmalloc; _frealloc; authdlg; centerwindow; checkdlgbutton; cmdabout; cmdaboutdone; cmdauthdlgcancel; cmdauthdlgok; cmdconnnotify; cmddialdlgcancel; cmdexit; cmdhangup; cmdphbkdlg; cmdphbkdlgcancel; cmdphbkdlgdial; cmdphbkdlgentry; cmdrefresh; cmdstatdlg; cmdstatdlgok; cmdstatdlgrefresh; createfont; createwindow; defdlgproc; defframeproc; defmdichildproc; defwindowproc; deleteobject; destroywindow; dialdlg; dialogbox; dispatchmessage; dispcommand; dispdefault; dispmessage; enablemenuitem; enablewindow; enddialog; get_wm_command_cmd; get_wm_command_hwnd; get_wm_command_id; getclientrect; getdc; getdevicecaps; getdlgitem; getdlgitemtext; getfileversioninfo; getfileversioninfosize; getmenu; getmessage; getmodulefilename; getparent; getrasconnstate; getuserdefaultlangid; getwindow; getwindowrect; globalalloc; globalfree; globallock; globalunlock; initapplication; initinstance; isdlgbuttonchecked; loadaccelerators; loadcursor; loadicon; loadstring; lstrcpy; lstrlen; messagebox; movewindow; msgaboutcommand; msgaboutinit; msgauthdlgcommand; msgauthdlginit; msgcommand; msgcreate; msgdestroy; msgdialdlgcommand; msgdialdlgevent; msgdialdlginit; msgphbkdlgcommand; msgphbkdlginit; msgsetfocus; msgsize; msgstatdlgcommand; msgstatdlginit; muldiv; pfncmd; pfnmsg; phbkdlg; postmessage; postquitmessage; primarylangid; rasdial; rasdialfunc; rasenumconnections; rasenumentries; rasgetconnectstatus; rasgeterrorstring; rashangup; registerclass; registerwindowmessage; releasedc; senddlgitemmessage; sendmessage; setdlgitemtext; setwindowpos; setwindowtext; showwindow; sleep; statdlg; switch; translateaccelerator; translatemessage; updatewindow; verqueryvalue; winmain; wndproc; wsprintf