[][src]Function fenestroj::wide_null

pub fn wide_null(s: &str) -> Vec<u16>

Allocates a utf-16, null-terminated version of the &str given.

Note: This will not filter any null characters ('\0') that are in the string. If you have an internal null Windows will think it means the end of the string and not see your full string, which will probably make it do something you don't want.