Crate windows_strings

source ·
Expand description

Learn more about Rust for Windows here: https://github.com/microsoft/windows-rs

Macros§

  • A literal HSTRING, length-prefixed wide string with a trailing null terminator.
  • A literal UTF-8 string with a trailing null terminator.
  • A literal UTF-16 wide string with a trailing null terminator.

Structs§

  • A BSTR string (BSTR) is a length-prefixed wide string.
  • An (HSTRING) is a reference-counted and immutable UTF-16 string type.
  • An HSTRING builder that supports preallocating the HSTRING to avoid extra allocations and copies.
  • A pointer to a constant null-terminated string of 8-bit Windows (ANSI) characters.
  • A pointer to a constant null-terminated string of 16-bit Unicode characters.
  • A pointer to a null-terminated string of 8-bit Windows (ANSI) characters.
  • A pointer to a null-terminated string of 16-bit Unicode characters.

Type Aliases§

  • A specialized Result type that provides Windows error information.