Function symLinkW [src]

Windows-only. Same as symLink except the pathname parameters are WTF16 LE encoded.

Prototype

pub fn symLinkW( self: Dir, target_path_w: [:0]const u16, sym_link_path_w: []const u16, flags: SymLinkFlags, ) !void

Parameters

self: Dirtarget_path_w: [:0]const u16WTF-16, does not need to be NT-prefixed. The NT-prefixing of this path is handled by CreateSymbolicLink. Any path separators must be \, not /. sym_link_path_w: []const u16WTF-16, must be NT-prefixed or relative flags: SymLinkFlags

Source

pub fn symLinkW( self: Dir, /// WTF-16, does not need to be NT-prefixed. The NT-prefixing /// of this path is handled by CreateSymbolicLink. /// Any path separators must be `\`, not `/`. target_path_w: [:0]const u16, /// WTF-16, must be NT-prefixed or relative sym_link_path_w: []const u16, flags: SymLinkFlags, ) !void { return windows.CreateSymbolicLink(self.fd, sym_link_path_w, target_path_w, flags.is_directory); }