https://bugs.winehq.org/show_bug.cgi?id=50770
--- Comment #4 from Hans Leidekker hans@meelstraat.net --- So NT symlinks come in two flavors, file symlinks and directory symlinks, and to remove them you need to use DeleteFile and RemoveDirectory respectively.
This means we need to know the symlink type. We can't take it from the target because it may not exist, which suggests it should be encoded in the symlink itself.