CUT_RAS::GetDialState

Dundas

CUT_RAS::GetDialState

Members | Overview

DWORD GetDialState()

Return Value

DWORD

The LOWORD contains the the current (or last) state of the dialup process (see RASCONNSTATE in the MSDN library for a complete listing of states). The HIWORD contains the errorcode which applies to the current state (for a complete listing of errorcodes see the RASERROR.H header file of the Windows SDK or the "RAS Error Values" topic in the MSDN library).

Remarks

Call this function to retrieve the current state of the dialup process. If this is not available then the last dialup state is retrieved. This is useful for determining the state of the dialup after the Dial function has completed.

See also:  GetRASErrorString