Change SHCreateDirectory and Win32DeleteFile to be Unicode or ANSI depending on OS version. Add ShCreateDirectoryEx API.