2.2.1.1.20 RASMAN_DISCONNECT_TYPE

The RASMAN_DISCONNECT_TYPE enumeration indicates different types of disconnection requests for a given RAS port.

 typedef enum _RASMAN_DISCONNECT_TYPE
 {
   USER_REQUESTED = 0,
   REMOTE_DISCONNECTION = 1,
   HARDWARE_FAILURE = 2,
   NOT_DISCONNECTED = 3
 } RASMAN_DISCONNECT_TYPE;

USER_REQUESTED: The local user requested the disconnect action.

REMOTE_DISCONNECTION: The remote dial-up or VPN client requested the disconnect action.

HARDWARE_FAILURE: The hardware attached to this RAS port has failed.

NOT_DISCONNECTED: The port is not disconnected.