Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 01080e6750abcad22ac30df0e4efe669b458f8ab by Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id cdb72f3997174afeb9bc6a8ecafc5de7b5d25afa by Hans Leidekker <hans@codeweavers.com>
SYNC NOTE: Move our already-existing stub to the correct file.
See commit 25b44b332 (r75031)
Co-authored-by: Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
wine commit id b8c42020a98e3a5f486cbd03ef80302d6d605871 by Thomas Faber <thomas.faber@reactos.org>
SYNC NOTE: Already in ReactOS but reformatted following Wine.
See commit dcb9fa585 (r58019)
Co-authored-by: Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
wine commit id bdadd760a3b0685d828a3cfa09ed8a82df72e48c by Vincent Povirk <vincent@codeweavers.com>
SYNC NOTE: Fixed 1st parameter type in .spec file.
Co-authored-by: Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
wine commit id 09524be58380b612d0a9d2ba023ac25791e3fe03 by Michael Stefaniuc <mstefani@redhat.de>
SYNC NOTE: Minus the uglier parameters formatting.
Co-authored-by: Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
[WINESYNC] setupapi: Make sure machine name is non-empty before failing.
wine commit id 4fe8cc61642c462883e748b566f93f984e3b4f2a by Juan Lang <juan.lang@gmail.com>
SYNC NOTE: Applied to ReactOS-specific code, with adaptations.
Co-authored-by: Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
wine commit id f6b3dba7a08a718f633804da508e4586ae72e6f5 by Alexandre Julliard <julliard@winehq.org>
SYNC NOTE: This is Wine-specific functionality, placed in __WINESRC__
REG_LINK is _NOT_ supported by (official) Windows INF AddReg section.
See the WDK ChkInf.pm tool (from Win2003 up to Win10), for example at:
https://github.com/skycipher/CNGProvider/blob/master/Windows%20Kits/10/Tools/x86/ChkInf/chkinf.pm#L3870
For compatibility with Windows' setupapi.
https://learn.microsoft.com/en-us/windows/win32/api/mscat/nf-mscat-cryptcatadminacquirecontext
> A pointer to the GUID that identifies the subsystem. DRIVER_ACTION_VERIFY
> represents the subsystem for operating system components and third party
> drivers. This is the subsystem used by most implementations.
This is also what SetupCopyOEMInfW uses too.
[WINESYNC] setupapi: Sign-compare warnings fix.
wine commit id 1c64c934db07bf9e6431ee43c6e9a53e58c78120 by Andrew Talbot <andrew.talbot@talbotville.com>
[WINESYNC] setupapi: Assign to structs instead of using memcpy.
wine commit id bd0fec2511cc33fe1bbbc311d5c48f83a909a7fc by Andrew Talbot <andrew.talbot@talbotville.com>
SYNC NOTE: Applied to ReactOS-specific code.
Co-authored-by: Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
[WINESYNC] setupapi: Implement SetupDiGetClassDevsW.
wine commit id f841667cac1558d2131543c5dc9baba1c6418b01 by Juan Lang <juan.lang@gmail.com>
SYNC NOTE: The functions added there (and still existing in Wine's code up to now)
have our own equivalent (see comments):
SETUPDI_EnumerateDevices --> SETUP_CreateDevicesList
SETUPDI_EnumerateInterfaces --> SETUP_CreateInterfaceList
The other SETUPDI_* are internal helpers for the previous ones:
SETUPDI_EnumerateMatchingDevices
SETUPDI_EnumerateMatchingInterfaces
TODO: Sync the name and functionality?
This follows a similar change by Wine commit:
```
Added support for optional section.ntx86 and section.nt in
InstallHinfSection when current version is set to NT.
wine commit id 4f128fa874dc632ebc83da94afa9fd15ba9269ca by Alexandre Julliard <julliard@winehq.org>
```
wine commit id 34556854eda0de9d098968e8d948090d44030d25 by Rob Shearman <rob@codeweavers.com>
SYNC NOTE: Adapted for ReactOS code.
Co-authored-by: Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>