#winapi #calls #wrapper #function #handful #process #computer

winutil

Simple library providing wrappers around a handful of useful winapi calls

1 unstable release

Uses old Rust 2015

0.1.1 Dec 19, 2017
0.1.0 Mar 31, 2016

#169 in Windows APIs

Download history 968/week @ 2024-07-21 1018/week @ 2024-07-28 857/week @ 2024-08-04 1276/week @ 2024-08-11 1112/week @ 2024-08-18 1514/week @ 2024-08-25 1301/week @ 2024-09-01 995/week @ 2024-09-08 967/week @ 2024-09-15 1625/week @ 2024-09-22 1053/week @ 2024-09-29 318/week @ 2024-10-06 1050/week @ 2024-10-13 1284/week @ 2024-10-20 1113/week @ 2024-10-27 1082/week @ 2024-11-03

4,538 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