1 unstable release

Uses old Rust 2015

0.1.1 Dec 19, 2017
0.1.0 Mar 31, 2016

#241 in Windows APIs

Download history 2408/week @ 2025-03-09 2870/week @ 2025-03-16 2975/week @ 2025-03-23 2341/week @ 2025-03-30 2574/week @ 2025-04-06 3059/week @ 2025-04-13 3582/week @ 2025-04-20 2708/week @ 2025-04-27 2164/week @ 2025-05-04 2272/week @ 2025-05-11 2217/week @ 2025-05-18 1966/week @ 2025-05-25 2129/week @ 2025-06-01 2557/week @ 2025-06-08 2279/week @ 2025-06-15 3459/week @ 2025-06-22

10,478 downloads per month

MIT license

5KB
87 lines

Winutil

A simple library wrapping a handful of useful winapi functions.

Usage

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();

Dependencies

~175KB