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