Description
Returns the current network driver type of the OpenInsight System.
Syntax
GetNetworkType (NetworkType,NetworkTypeLen)
Parameters
Parameter | Description |
---|---|
NetworkType | A null string. This string should be large enough to contain the return value. If the string is not large enough the driver type will be truncated on return. This parameter will contain the return value after execution of the subroutine. |
NetworkTypeLen | The length of the string to be passed. |
Returns
A null terminated string of the current network driver in use.
Example
/* after the call to GetNetworkType(), NetworkType will be assigned the name of the current driver */ declare subroutine GetNetworkType NetworkType = str(\00\,99) ;* a null string GetNetworkType(NetworkType, len(NetworkType)) ;* execute the function NetworkType = NetworkType[1,\00\] ;* NetworkType will contain the driver.