Macro nt_unicode_str

Source
macro_rules! nt_unicode_str {
    ($text:expr) => { ... };
}
Expand description

Creates an NtUnicodeStr with 'static lifetime for a string literal.

The internal buffer of the NtUnicodeStr will consist entirely of valid UTF-16 characters.

The internal buffer will also be NUL-terminated. See the unicode_string module-level documentation for the implications of that.