Function webview2_com::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.