Crates.io | fenestroj |
lib.rs | fenestroj |
version | 0.0.11 |
source | src |
created_at | 2019-07-17 07:25:15.205201 |
updated_at | 2020-02-22 03:25:22.877333 |
description | Easier wrappers for Win32 API stuff, safe when possible |
homepage | |
repository | https://github.com/Lokathor/fenestroj |
max_upload_size | |
id | 149607 |
size | 95,628 |
Easier to use wrappers for winapi stuff.
All wrappers are kept in feature gated modules the same as how winapi
works.
GetLastError
becomes get_last_error
A
and W
variant of a winapi
function, the W
variant is
used without "_w" on the end: GetMessageW
becomes get_message
winapi
name.Option
is
sometimes used and it will do the calculation for you.bool
, Option
, or Result
is done whenever possible.u32
error
values become wrapped in pub struct ErrorCode(pub u32)
for example.unsafe
until a careful investigation of the
safety involved can be done.