Crates.io | winutil |
lib.rs | winutil |
version | 0.1.1 |
source | src |
created_at | 2016-03-31 08:14:03.739405 |
updated_at | 2017-12-19 13:59:38.518221 |
description | Simple library providing wrappers around a handful of useful winapi calls. |
homepage | |
repository | https://bitbucket.org/DaveLancaster/winutil |
max_upload_size | |
id | 4634 |
size | 4,959 |
A simple library wrapping a handful of useful winapi functions.
Add this to your Cargo.toml:
[dependencies]
winutil = "^0.1"
and this to your crate root:
extern crate winutil;
then you can use the following functions:
// Detect if the current process is running under the WoW64 subsytem.
is_wow64_process();
// Return an Option containing the NetBIOS name of the local computer.
get_computer_name();
// Return an Option containing the user associated with the current thread.
get_user_name();