RasCustomHangUpFn callback function (ras.h)
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
RasCustomHangUpFn Rascustomhangupfn;
DWORD Rascustomhangupfn(
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
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | ras.h |