Function webview2_com::pwstr_from_str
source · pub fn pwstr_from_str(source: &str) -> PWSTRExpand description
Allocate a PWSTR with Com::CoTaskMemAlloc and copy a &str into it.
pub fn pwstr_from_str(source: &str) -> PWSTRAllocate a PWSTR with Com::CoTaskMemAlloc and copy a &str into it.