Ldv_free_matching_devices(), Ldv_get_device_info(), Syntax – Echelon OpenLDV User Manual

Page 28: Remarks

Advertising
background image

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 L

ON

W

ORKS

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 L

ON

W

ORKS

interface device for which you

are requesting information.

ppDeviceInfo

Output

A pointer to an LDVDeviceInfo pointer that receives the

information of the requested device.

Advertising