pub fn take_pwstr(source: PWSTR) -> String
Expand description
Copy a PWSTR
allocated with Com::CoTaskMemAlloc
from an input param to a String
and free the original buffer with Com::CoTaskMemFree
.
pub fn take_pwstr(source: PWSTR) -> String
Copy a PWSTR
allocated with Com::CoTaskMemAlloc
from an input param to a String
and free the original buffer with Com::CoTaskMemFree
.