20 Using the OpenLDV API
ldv_free_matching_devices()
Call this function to release resources allocated by the
ldv_get_matching_devices() function.
Syntax
LDVCode ldv_free_matching_devices(
LDVDevices* pDevices
)
Table 7. ldv_free_matching_devices() Parameters
Parameter Direction Description
pDevices Input A pointer to an LDVDevices structure (that was returned
by the ldv_get_matching_devices() function) to be freed.
Remarks
Use this function to release resources allocated by the
ldv_get_matching_devices() function. This function returns LDV_OK if the
resources are successfully released.
See Structures and Enumerations for the Device API on page 37 for a description
of the LDVDevices structure.
ldv_get_device_info()
Call this function to retrieve device information about a LONWORKS interface
device.
Syntax
LDVCode ldv_get_device_info(
LPCSTR szDevice,
const LDVDeviceInfo** ppDeviceInfo
)
Table 8. ldv_get_device_info() Parameters
Parameter Direction Description
szDevice
Input The name of the LONWORKS interface device for which you
are requesting information.
ppDeviceInfo Output A pointer to an LDVDeviceInfo pointer that receives the
information of the requested device.
Comments to this Manuals