Start; wrote conversion from UTF-8 to UTF-16 and ANSI.
Finished conversion routines; w32-unicode-filenames exposed to Lisp.
getcwd and dflt_passwd stuff is done.
Adapted dostounix_filename.  w32-short/long-filename work with wide APIs.
Done with init_environment and emacs_root_dir.
Adapt 'utime' and enhance its error handling.
Converted map_w32_filename and its subroutines.
Dirent functions and directory-files are converted and work.
Convert faccessat, sys_chdir, sys_chmod, sys_creat, sys_fopen.
sys_link works, including enhanced error handling.
Converted sys_mkdir and sys_open.
sys_rename_replace converted.
Converted sys_unlink and sys_rmdir, got rid of pending deletion in w32proc.c.
Converted and fixed w32_delayed_load.
Converted and tested stat and fstatat.
Merge from mainline.
Converted symlink-related functions with minimal testing.
File ACL functions converted and tested.
File selection converted and tested.
Minor tweaks of the Cygwin code.