Ldv_get_driver_info(), Remarks, Syntax – Echelon OpenLDV User Manual
Page 29

OpenLDV Programmer’s Guide
21
Remarks
Use this function to retrieve device information about a L
ON
W
ORKS
interface
device. This function returns LDV_OK if the device information is successfully
retrieved. After you retrieve the device information and no longer need it, you
must free the device information resources by calling the
ldv_free_device_info() function.
The contents of the returned structure is constant (read-only) and cannot be
modified.
See Structures and Enumerations for the Device API on page 37 for a description
of the LDVDeviceInfo structure.
ldv_get_driver_info()
Call this function to retrieve driver information about a L
ON
W
ORKS
interface
device driver.
Syntax
LDVCode ldv_get_driver_info(
LDVDriverID nDriverId,
LDVDriverInfo** ppDriverInfo
)
Table 9. ldv_get_driver_info() Parameters
Parameter
Direction Description
nDriverId
Input
The driver ID of the driver for which you are requesting
information.
ppDriverInfo
Output
A pointer to an LDVDriverInfo pointer that receives the
information of the requested driver.
Remarks
Use this function to retrieve driver information about a L
ON
W
ORKS
interface
device driver. This function returns LDV_OK if the driver information is
successfully retrieved. After you retrieve the driver information and no longer
need it, you must free the driver information resources by calling the
ldv_free_driver_info() function.
The contents of the returned structure should be treated as constant (read-only)
and cannot be modified.
See Structures and Enumerations for the Driver API on page 42 for a description
of the LDVDriverID enumeration values and the LDVDriverInfo structure.