An application can ask for the current state of a dial-up connection. This is a conventional synchronous function that just fetches the current state.
To do this, an application simply calls the Progress()
member function of RNif, passing it a TNifProgress
object. On return, the iStage data member of the
TNifProgress object contains the information defining the current
state of the connection.