Echelon OpenLDV User Manual Page 50

  • Download
  • Add to my manuals
  • Print
  • Page
    / 194
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 49
42 Using the OpenLDV API
Device Capability
Numeric
Value Description
LDV_DEVCAP_CURRENTLY_AVAILABLE 0x40000000 The device is currently not in
use by any process on this
computer. If it is not is use by
another computer, the device
is available for use.
Structures and Enumerations for the Driver API
This section describes the structure and enumerations defined for the OpenLDV
driver API.
LDVDriverInfo Structure
The driver API functions refer to the LDVDriverInfo structured data type:
typedef struct LDVDriverInfo
{
DWORD size;
LDVDriverID id;
LDVDriverType type;
LPCSTR name;
LPCSTR desc;
} LDVDriverInfo;
/* (read-only) */
typedef const LDVDriverInfo* LDVDriverInfoPtr;
The LDVDriverInfo structure contains information that describes a specific
L
ONWORKS interface device driver (identified by its driver ID). Table 26
describes the LDVDriverInfo structure’s fields.
Table 26. LDVDriverInfo Structure
Field Description
size The size (in bytes) of this structure. This field must be set
before calling any of the set functions that pass this structure as
a parameter.
id The LONWORKS interface device driver ID. See LdvDriverID
Enumeration on page 43.
type The device driver type. See LdvDriverType Enumeration on
page 44.
name A string that contains the name of the device driver.
desc A string that contains the description of the device driver, if
available.
Page view 49
1 2 ... 45 46 47 48 49 50 51 52 53 54 55 ... 193 194

Comments to this Manuals

No comments