Unreachability Reasons

The following table lists constant values that indicate why an interface is unreachable.

Value Meaning
MPR_INTERFACE_ADMIN_DISABLED The administrator has disabled the interface.
MPR_INTERFACE_CONNECTION_FAILURE The previous connection attempt failed. Look at the dwLastError member for the error code.
MPR_INTERFACE_DIALOUT_HOURS_RESTRICTION Dial-out is not allowed at the current time.
MPR_INTERFACE_OUT_OF_RESOURCES No ports or devices are available for use.
MPR_INTERFACE_SERVICE_PAUSED The service is paused.
MPR_INTERFACE_NO_MEDIA_SENSE The network cable is disconnected from the network card.
MPR_INTERFACE_NO_DEVICE The network card has been removed from the machine.

 

MPR_INTERFACE_0

MPR_INTERFACE_1

MIB_IFROW

MIB_IFSTATUS