#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

#177 in Windows APIs

Download history 995/week @ 2024-11-17 1121/week @ 2024-11-24 1337/week @ 2024-12-01 1241/week @ 2024-12-08 1261/week @ 2024-12-15 477/week @ 2024-12-22 401/week @ 2024-12-29 997/week @ 2025-01-05 1669/week @ 2025-01-12 1190/week @ 2025-01-19 614/week @ 2025-01-26 1204/week @ 2025-02-02 1958/week @ 2025-02-09 1916/week @ 2025-02-16 2686/week @ 2025-02-23 1777/week @ 2025-03-02

8,467 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