Module utilities

Module utilities 

Source
Expand description

Minor utilities for working with Windows APIs.

Functions§

buf_from_os
Create a WTF-16-encoded NUL-terminated buffer from an OsStr.
current_process_sid
Get the user SID of the current process
has_bit
Check whether a given bitfield has a particular bit set
os_from_buf
Create an OsString from a NUL-terminated buffer
ptr_from_opt
Get a pointer from an option
search_buffer
Unsafely hunt through memory until an item is found