#[repr(C)]pub struct UNICODE_STRING {
pub Length: u16,
pub MaximumLength: u16,
pub Buffer: *mut u16,
}Expand description
Represents a counted, UTF-16 encoded Unicode string buffer
Fields§
§Length: u16Length, in bytes, of the string stored in Buffer.
This does not include the terminating null character.
MaximumLength: u16Maximum size, in bytes, allocated for Buffer.
This value typically includes space for the terminating null character.
Buffer: *mut u16Pointer to a wide-character string buffer (UTF-16 encoded).
Trait Implementations§
Source§impl Clone for UNICODE_STRING
impl Clone for UNICODE_STRING
Source§fn clone(&self) -> UNICODE_STRING
fn clone(&self) -> UNICODE_STRING
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UNICODE_STRING
impl Debug for UNICODE_STRING
Source§impl PartialEq for UNICODE_STRING
impl PartialEq for UNICODE_STRING
impl Copy for UNICODE_STRING
impl StructuralPartialEq for UNICODE_STRING
Auto Trait Implementations§
impl Freeze for UNICODE_STRING
impl RefUnwindSafe for UNICODE_STRING
impl !Send for UNICODE_STRING
impl !Sync for UNICODE_STRING
impl Unpin for UNICODE_STRING
impl UnwindSafe for UNICODE_STRING
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more