RtnIsDeviceOnline

RtnIsDeviceOnline is used to get the online status of a network device for link status monitoring.

Syntax

BOOL RtnIsDeviceOnline (

CHAR *devName

);

Parameters

devName

ASCII device name of the interface from which you want the status retrieved.

Return Value

TRUE if interface has initialized and the Ethernet link is up, FALSE if interface has not completed initialization, or the Ethernet link is down.

Remarks

If line status monitoring is disabled, RtnIsDeviceOnline returns TRUE after the device has initialized.

Requirements

Minimum Supported Version RTX64 2014
Header RtnApi.h
Library Rtxtcpip.lib