Crate winer

Source
Expand description

§winer

Helper library for Wine

license crates.io version docs.rs documentation

Currently supports Wine version APIs.

println!("{}", winer::get_build_str().unwrap_or("N/A"));

Structs§

HostVersion
Host system information
Info
Wine version information

Constants§

SYSTEM_WINE_VERSION_INFORMATION
Wine extension of system information class

Functions§

get_build
Gets Wine build by calling wine_get_build_id in ntdll.
get_build_str
Gets Wine build string, a convenient helper that maps get_build.
get_host_version
Gets host system information by calling wine_get_host_version.
get_info
Gets Wine version information.
get_version
Gets Wine version by calling wine_get_version in ntdll under the hood.
get_version_str
Gets Wine version string, a convenient helper that maps get_version.
is_wine
Tells whether the program is running under Wine.