Guardian Programming Reference Summary for pTAL and TAL
Procedure Calls Summary (A-C)
Guardian Programming Reference Summary for pTAL and TAL—522631-001
4-32
CONFIG_GETINFO_BYLDEV
CONFIG_GETINFO_BYNAME
Obtain the logical and physical attributes of a device on a G-series release. Use the
CONFIG_GETINFO_BYLDEV procedure to specify the device by logical device
number. Use the CONFIG_GETINFO_BYNAME procedure to specify the device by
name.
Note. These procedures are supported only on G-series releases. To obtain information about
devices on D-series releases, call one of the following procedures:
FILE_GETINFOBYNAME_, DEVICE_GETINFOBYNAME_, or DEVICE_GETINFOBYLDEV_.
error := CONFIG_GETINFO_BYLDEV_ ( ldevnum
,common-info
,common-info-maxlen
,common-info-len
,specific-info
,specific-info-maxlen
,specific-info-len
,timeout
, error-detail );
error := CONFIG_GETINFO_BYNAME_ ( devname:length
,common-info
,common-info-maxlen
,common-info-len
,specific-info
,specific-info-maxlen
,specific-info-len
,timeout
, error-detail );
error, INT(32) returned value
0D Information was successfully returned.
1D Either the device or the process simulating a device detected a file-system error;
error-detail contains a file-system error number.
2D Parameter error; error-detail contains the number of the first parameter to
be in error, where 1D designates the first parameter on the left.
3D Bounds error; error-detail contains the number of the first parameter to be
in error, where 1D designates the first parameter on the left.
4D Either the device or the process simulating a device detected an error; error-
detail contains the error number returned by the device.