Ldvx_shutdown(), Structures and enumerations for the device api, Ldvdeviceinfo structure – Echelon OpenLDV User Manual
Page 45: E 37, Ee structures and enumerations for the device api, Remarks, Syntax

OpenLDV Programmer’s Guide
37
Parameter
Direction Description
tag
Input
Correlates notification messages with sessions. This tag is
supplied as the LPARAM parameter of all session state
change messages.
Remarks
Use this function to register a Windows HWND object for receiving session
change notifications. This handle is the same as that passed to one of the open
functions (ldv_open(), ldv_open_cap(), or ldvx_open()).
ldvx_shutdown()
Call this function to cleanly shut down the OpenLDV driver before exiting your
application.
Syntax
LPCSTR LDVAPI ldvx_shutdown(
VOID
)
Remarks
Call this function once before allowing the application to exit to avoid delays on
shutdown. After you call this function, you cannot access the OpenLDV driver
again.
Structures and Enumerations for the Device API
This section describes the structures and enumerations defined for the OpenLDV
device API.
LDVDeviceInfo Structure
The device API functions refer to the LDVDeviceInfo structured data type:
typedef struct LDVDeviceInfo
{
DWORD size;
const LDVDriverInfo* driver;
LPCSTR name;
LPCSTR physName;
LPCSTR desc;
LDVDeviceCaps caps;
LDVDeviceCaps capsMask;
BYTE transId;
LDVDriverID driverId;
} LDVDeviceInfo;