typedef struct _LWIADEVICEID{L_UINT uStructSize;L_TCHAR * pszDeviceId; // Selected device ID.L_TCHAR * pszDeviceName; // Selected device name.L_TCHAR * pszDeviceDesc; // Selected device description.} LWIADEVICEID, * pLWIADEVICEID;
The LWIADEVICEID structure provides information about the enumerated system devices.
Member |
Description |
uStructSize |
Size of this structure in bytes, for versioning. Use the sizeof() macro to calculate this value. |
pszDeviceId |
The device ID string. |
pszDeviceName |
The name of the device. |
pszDeviceDesc |
The device description string. |
This feature is available in LEADTOOLS version 16 or higher.
pLWIADEVICEID is a pointer to an LWIADEVICEID structure that gets passed to the user through the LWia::EnumDevicesCallBack to provide information about each WIA device found connected to the system.
It is used in the LWia::EnumDevicesCallBack function.