I looked a bit at mmdevice properties, turns out device strings are available directly from property store, using this key:
{9c119480-ddc2-4954-a150-5bd240d454ad},1
The only problem is it's not documented in SDK. But the idea would be to populate property store with setupapi, or use setupapi/cfgmgr directly.
Anyway, mentioning this in case we'll even need it.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/5734#note_71634
Killsquad sends a MESessionClose at various times depending on user input. It always expects a MESessionClosed event and will wait indefinitely if not received. There are currently a number of scenarios where we don't report the MESessionClose event. This MR attempts to fix that.
--
v3: mf: Handle Source/Sink shutdown whilst waiting for an event.
mf: Handle an error during Media Session Close.
mf: Handle MediaSession Close when state is SESSION_STATE_RESTARTING_SOURCES.
mf/tests: Add additional tests for MESessionClosed event.
https://gitlab.winehq.org/wine/wine/-/merge_requests/5584
When `FindFirstFileA` is called with `<path>/<file>/*` (where file is expected to be a directory), Windows uses the `ERROR_DIRECTORY` error.
This patch changes Wine's implementation to match Windows. This fixes a crash in Unity of Command II.
--
v3: server: Don't always return STATUS_OBJECT_NAME_INVALID on ENOTDIR.
https://gitlab.winehq.org/wine/wine/-/merge_requests/5737
On Tue May 28 08:16:35 2024 +0000, Brendan McGrath wrote:
> I just tested on Windows, and that's exactly what it does. I'll update
> the MR.
Thanks for taking a look @nsivov. I think I've fixed it in the right spot now.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/5737#note_71615
When `FindFirstFileA` is called with `<path>/<file>/*` (where file is expected to be a directory), Windows uses the `ERROR_DIRECTORY` error.
This patch changes Wine's implementation to match Windows. This fixes a crash in Unity of Command II.
--
v2: server: Don't return STATUS_OBJECT_NAME_INVALID on ENOTDIR.
ntdll/tests: Test error code when NtOpenFile uses file as directory.
https://gitlab.winehq.org/wine/wine/-/merge_requests/5737