Platform SDK: RAS/Routing and RAS |
The RasCustomHangUp function is an application-defined function that is exported by a third-party custom-dialing DLL. This function allows third-party vendors to implement custom connection hang-up routines.
DWORD (WINAPI * RasCustomHangUp) ( HRASCONN hRasConn // handle to a RAS connection );
If the function succeeds, the return value should be zero.
If the function fails, the return value should be a nonzero error value listed in Raserror.h, or ERROR_INVALID_HANDLE.
RAS will call this entry point from RasHangUp, if the szCustomDialDll member of the RASENTRY structure for the entry being dialed specifies a custom-dialing DLL.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Unsupported.
Header: Declared in Ras.h.
Remote Access Service (RAS) Overview, Remote Access Service Functions, RasCustomDial, RasCustomDialDlg, RasCustomEntryDlg, RasHangUp, RASENTRY