Function libftd3xx::library_version
source · pub fn library_version() -> Result<u32, FT_STATUS>
Expand description
Returns the version of the underlying C library.
Note: The documentation says this function is only supported on Windows but it seems to work correctly on Linux.
Example
use libftd2xx::library_version;
let version = library_version()?;
println!("libftd2xx C library version: {}", version);