RasCustomHangUp callback function

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.

Syntax


DWORD WINAPI RasCustomHangUp(
   HRASCONN hRasConn
);

Parameters

hRasConn

Handle to the RAS connection to hang up.

Return value

If the function succeeds, the return value should be ERROR_SUCCESS.

If the function fails, the return value should be a value from Routing and Remote Access Error Codes or Winerror.h.

Remarks

RAS calls this entry point from RasHangUp, if the szCustomDialDll member of the RASENTRY structure for the entry being dialed specifies a custom-dialing DLL.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Ras.h

See also

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

 

 

Community Additions

ADD
Show: