--
v2: iphlpapi/tests: Add tests for Icmp6SendEcho2().
iphlpapi: Implement Icmp6SendEcho2().
nsiproxy.sys: Don't try to check for original packet for ping socket.
iphlpapi: Implement Icmp6CreateFile().
iphlpapi: Implement Icmp6ParseReplies().
iphlpapi: Only supply APC routine if no event in icmp_send_echo().
https://gitlab.winehq.org/wine/wine/-/merge_requests/8782
Esme Povirk (@madewokherd) commented about dlls/sane.ds/cfg.c:
> + }
> + *last_slash = L'\0';
> + attr = GetFileAttributesW(path);
> + if (attr == INVALID_FILE_ATTRIBUTES)
> + {
> + if (!CreateDirectoryW(path, NULL))
> + {
> + DWORD err = GetLastError();
> + ERR("CreateDirectoryW returned error: %lu\n", err);
> + return FALSE;
> + }
> + }
> + return TRUE;
> +}
> +
> +BOOL is_exist_file(WCHAR* path)
I would suggest simply trying to create the file you will use when it's time to use it and handling any errors that come up. Checking first can cause race conditions: https://en.wikipedia.org/wiki/Time-of-check_to_time-of-use
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/8778#note_113132
The Visual Studio 2022 installer needs to be able to lookup a valid
WinMD file for the 'Windows.Networking.Connectivity' namespace
in order for the installation to start.
A normal Windows installation contains lots of individual
'.winmd' files (e.g. 'Windows.Networking.winmd'), which we
cannot redistribute. Fortunately, Microsoft provides an open-source
project called 'windows-rs', which contains a combined 'Windows.winmd'
file that is explicitly MIT-licensed:
https://github.com/microsoft/windows-rs/blob/master/crates/libs/bindgen/def…
Make RoResolveNamespace resolve anything starting with 'Windows' by just
pointing to this giant file. A full implementation will require us to
actually walk the 'WinMetadata' directory (if the caller provides
a custom path) and parse the matched '.winmd' file. However, this
implementation is good enough for Visual Studio 2022
To actually run the vs2022 installer, a patch for
the SHELL_execute trailing-space bug https://bugs.winehq.org/show_bug.cgi?id=56940
is needed: https://gitlab.winehq.org/wine/wine/-/merge_requests/6079
--
v2: wintypes: Partially implement RoResolveNamespace and add 'Windows.winmd'
https://gitlab.winehq.org/wine/wine/-/merge_requests/6288