webview2_com

Function pwstr_from_str

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

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