Skip to main content

pwstr_to_string

Function pwstr_to_string 

Source
pub fn pwstr_to_string(value: PWSTR) -> Option<String>
Expand description

Convert a NUL-terminated PWSTR into String.

Returns None if the pointer is null or the string is empty.