wclReadDeviceInformation(string,TwclSerialDevice) Method
Helper function that reads serial device information by its Device Instance ID.
function wclReadDeviceInformation(const Instance: string; out Device: TwclSerialDevice): Integer;
Parameters
- Instance
- Type: string
The device instance ID string.
- Device
- Type: TwclSerialDevice
The TwclSerialDevice object with device information.
Return Value
Type: Integer
If the function succeed the return value is wclErrors.WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.