Function webview2_com::pwstr_from_str[][src]

pub fn pwstr_from_str(source: &str) -> PWSTR
Expand description

Allocate a PWSTR with Com::CoTaskMemAlloc and copy a &str into it.