Skip to content

A couple of functions wrapping winapi calls to return useful system info.

Notifications You must be signed in to change notification settings

DaveLancaster/winutil-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

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

About

A couple of functions wrapping winapi calls to return useful system info.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages