Skip to main content

Module utils

Module utils 

Source
Expand description

Shared utility helpers for UTF-16/Wide conversions and owned Win32 handle RAII. Shared utility helpers.

This namespace contains reusable internals that are safe to expose publicly for advanced callers, while remaining focused on low-level interop concerns.

Re-exports§

pub use handles::OwnedHandle;
pub use strings::pwstr_to_string;
pub use strings::pwstr_to_string_len;
pub use strings::to_utf16;
pub use strings::to_utf16_nul;
pub use strings::to_utf16_nul_in;

Modules§

handles
Shared Win32 handle ownership helpers.
strings
Shared UTF-16 and wide-string conversion helpers.