Platform SDK: RAS/Routing and RAS

RasCustomHangUp

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
);

Parameters

hRasConn
Handle to the RAS connection to hang up.

Return Values

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.

Remarks

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.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Unsupported.
  Header: Declared in Ras.h.

See Also

Remote Access Service (RAS) Overview, Remote Access Service Functions, RasCustomDial, RasCustomDialDlg, RasCustomEntryDlg, RasHangUp, RASENTRY