#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

#135 in Windows APIs

Download history 6556/week @ 2023-12-07 11689/week @ 2023-12-14 6251/week @ 2023-12-21 3007/week @ 2023-12-28 3897/week @ 2024-01-04 2297/week @ 2024-01-11 6222/week @ 2024-01-18 5667/week @ 2024-01-25 4631/week @ 2024-02-01 9577/week @ 2024-02-08 2288/week @ 2024-02-15 4511/week @ 2024-02-22 6742/week @ 2024-02-29 6404/week @ 2024-03-07 7500/week @ 2024-03-14 1973/week @ 2024-03-21

23,454 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