Commit graph

86336 commits

Author SHA1 Message Date
winesync
da2842bd79
[WINESYNC] setupapi: Stub SetupDiDestroyDriverInfoList.
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>
2024-10-24 14:53:32 +02:00
winesync
244774bbd4
[WINESYNC] setupapi: Constify a character string.
wine commit id 7102459c60be38e9aaf7501d0eca4134f48420d3 by Frédéric Delanoy <frederic.delanoy@gmail.com>
2024-10-24 14:53:32 +02:00
winesync
3dfdd263b0
[WINESYNC] setupapi: Support signature $Windows NT$ in SetupDiGetINFClassA/W too.
wine commit id 6aace3014d355d355e802299d62a34e8865951ba by Stefan Leichter <Stefan.Leichter@camline.com>
2024-10-24 14:53:31 +02:00
winesync
fb30edf4cb
[WINESYNC] setupapi: Use BOOL type where appropriate.
wine commit id cef6b07372bb29cb491721f64d2c1017f960b45b by Frédéric Delanoy <frederic.delanoy@gmail.com>
2024-10-24 14:53:30 +02:00
winesync
db042ace3f
[WINESYNC] setupapi: Avoid using CONST.
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>
2024-10-24 14:53:29 +02:00
winesync
03625ba405
[WINESYNC] setupapi: Add a stub for SetupDiSetDeviceInstallParamsA.
wine commit id a829c2b3ad5ac82ad658a22722f169a7d19dea75 by Stefan Leichter <Stefan.Leichter@camline.com>
2024-10-24 14:53:28 +02:00
winesync
cfd27f5e10
[WINESYNC] setupapi: Add stub keyword to some FIXMEs.
wine commit id f8c77fbd628a62221f985755baf7de675d4f31f0 by André Hentschel <nerv@dawncrow.de>
2024-10-24 14:53:27 +02:00
winesync
1ad18d52e6
[WINESYNC] setupapi: Add stubs for CM_Reenumerate_DevNode and CM_Reenumerate_DevNode_Ex.
wine commit id f79fa294c9f7c15286e575c6a38aa2827ff06d1e by André Hentschel <nerv@dawncrow.de>
2024-10-24 14:53:26 +02:00
winesync
580a7ee187
[WINESYNC] setupapi: Add CM_Get_Device_ID_ExA stub.
wine commit id 32fb489f1c603b112e62e0e103ae23d390b9cc1a by André Hentschel <nerv@dawncrow.de>
2024-10-24 14:53:25 +02:00
winesync
f835b381db
[WINESYNC] setupapi: Add stub for SetupAddToSourceListW.
wine commit id 8a0442124462ac37273b94b22c35b6ccb8dc6145 by Sylvain Petreolle <spetreolle@yahoo.fr>
2024-10-24 14:53:25 +02:00
winesync
1d8d3ed7bb
[WINESYNC] setupapi: Fix total size when appending multi-string values.
wine commit id 4b7085fdd499ca39a7e0ae47bd27323876103df0 by Alexandre Julliard <julliard@winehq.org>
2024-10-24 14:53:24 +02:00
winesync
9ee6b27fda
****** FIXME: This commit also touches SetupGetInfFileListW
[WINESYNC] setupapi: Avoid memory leaks (coverity).

wine commit id 4d796458d0ed517d45adc57a1aedaf1c3bdde232 by André Hentschel <nerv@dawncrow.de>
2024-10-24 14:53:23 +02:00
winesync
c167b3dafc
[WINESYNC] setupapi: Add a stub for SetupDiGetDeviceInstallParamsW.
wine commit id 7b32809890a148346648d7dd06084ada83479850 by André Hentschel <nerv@dawncrow.de>
2024-10-24 14:53:22 +02:00
winesync
4f6eee5785
****** FIXME: INSPECT: The ROS-equivalent SetupInstallServicesFromInfSectionExW does not support DelService section yet!
[WINESYNC] setupapi: SetupInstallServicesFromInfSection doesn't fail if there are no AddService or DelService directives in the section.

wine commit id da922769c5536932185d7bfce604ee1b7885b75d by Hans Leidekker <hans@codeweavers.com>
2024-10-24 14:53:21 +02:00
winesync
08b67f7502
[WINESYNC] setupapi: Add stub for SetupAddToSourceListA.
wine commit id b3b78b337ea6ba0cf96ddc37161fe71844440851 by Stefan Leichter <Stefan.Leichter@camline.com>
2024-10-24 14:53:20 +02:00
winesync
bfc189e8a2
[WINESYNC] setupapi: Add support for a WinePreInstall section for registry keys that need to be created before anything else.
wine commit id 9a6a1126b9b8b4b5f17b16249eba761063be4be8 by Alexandre Julliard <julliard@winehq.org>
2024-10-24 14:53:19 +02:00
winesync
4d88011a96
[WINESYNC] setupapi: Print the debug string and not the pointer to it.
wine commit id 8f6801fdc02ff8307d81368be5d231505c78a35a by Michael Stefaniuc <mstefani@redhat.de>
2024-10-24 14:53:18 +02:00
winesync
56f17994df
[WINESYNC] setupapi: Correctly handle errors in fake_dlls_callback (Coverity).
wine commit id edd9066d5b676104c036cb621574f36ea055951b by Frédéric Delanoy <frederic.delanoy@gmail.com>
2024-10-24 14:53:18 +02:00
winesync
1c055cefd9
[WINESYNC] setupapi: Add stub for CM_Get_Class_Registry_PropertyW.
wine commit id 88baa9e700027b4d57cc8c5589c3a4e8843b31c1 by André Hentschel <nerv@dawncrow.de>
2024-10-24 14:53:17 +02:00
winesync
78375522b0
[WINESYNC] setupapi: Add stub for CM_Get_Class_Registry_PropertyA.
wine commit id 0309066f15f2a6fa40f362f3b431f1869af580d2 by André Hentschel <nerv@dawncrow.de>
2024-10-24 14:53:16 +02:00
winesync
8e61e4ea35
[WINESYNC] setuapi: Add stub for CM_Get_DevNode_Registry_Property_ExA.
wine commit id 9ea3c46e7180cf8a08cf0fdb01850b7a7447b9ed by André Hentschel <nerv@dawncrow.de>
2024-10-24 14:53:15 +02:00
winesync
89cf0b771c
[WINESYNC] setuapi: Add stub for CM_Set_Class_Registry_PropertyW.
wine commit id 33d60e9060daecbe3bd99d4c21c4a3e67569a493 by André Hentschel <nerv@dawncrow.de>
2024-10-24 14:53:14 +02:00
winesync
5e729a089a
[WINESYNC] setuapi: Add stub for CM_Set_Class_Registry_PropertyA.
wine commit id ed4b8cb617096fbb03cbca382e07a35fbeb6432e by André Hentschel <nerv@dawncrow.de>
2024-10-24 14:53:13 +02:00
winesync
9e1b9db08f
[WINESYNC] setupapi: Add stub for CM_Get_DevNode_Registry_Property_ExW.
wine commit id c83b67bc4ff37222d56761669618f7533d6d0c17 by André Hentschel <nerv@dawncrow.de>
2024-10-24 14:53:12 +02:00
winesync
acb51d0056
[WINESYNC] setupapi: Add stub for SetupDiDrawMiniIcon.
wine commit id 8fc7a01a2c4f023672f34d907be607d6e5948f0e by Stefan Leichter <Stefan.Leichter@camline.com>
2024-10-24 14:53:12 +02:00
winesync
15b0c4ec80
[WINESYNC] setupapi: Add stub for SetupDiGetClassBitmapIndex.
wine commit id 649d0f85ba45870ac9238bfbc4e9233d4d33d5e6 by Stefan Leichter <Stefan.Leichter@camline.com>
2024-10-24 14:53:11 +02:00
winesync
7f6b10a776
[WINESYNC] setupapi: Specify the correct binary file name when registering an executable.
wine commit id f9c8afd320a71ed4a04fbbd199844738a84068b5 by Alexandre Julliard <julliard@winehq.org>
2024-10-24 14:53:10 +02:00
winesync
4d3fabd5e3
[WINESYNC] setupapi: Add a trace for the install mode value.
wine commit id 721e73543e31cb62e6b9f8e374425a9eacddc6a3 by Alexandre Julliard <julliard@winehq.org>
2024-10-24 14:53:09 +02:00
Hermès Bélusca-Maïto
56f9b09bcd
[SETUPAPI] Prepare for wine sync -- __REACTOS__-specific code 2024-10-24 14:53:08 +02:00
winesync
6f31d758d5
[WINESYNC] setupapi: Delay freeing registered dlls until they have all been processed.
wine commit id a192b707f2d102374771ed90e6c94ea40e79a08a by Alexandre Julliard <julliard@winehq.org>
2024-10-24 14:53:07 +02:00
winesync
aa114378e5
[WINESYNC] dlls: Assorted spelling fixes.
wine commit id 7e309601f3cb55deadaab9bd444757483a0fb065 by Frédéric Delanoy <frederic.delanoy@gmail.com>
2024-10-24 14:53:06 +02:00
winesync
8eec9db0a9
[WINESYNC] setupapi: Fix return behaviour when the device key doesn't exist.
wine commit id 309914f315ff95b8b5af36e0cb76a5513bedbc73 by Christian Inci <chris.pcguy.inci@gmail.com>
2024-10-24 14:53:05 +02:00
winesync
a428d58865
****** ROS-specific code sync too
[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>
2024-10-24 14:53:05 +02:00
winesync
00fce7dcc0
[WINESYNC] setupapi: Add stubs for CM_Get_Device_ID_List_SizeA/W.
wine commit id c6e38bfee65cf16009cff1fbeb1a39b52c119390 by André Hentschel <nerv@dawncrow.de>
2024-10-24 14:53:04 +02:00
winesync
a9434f27a7
[WINESYNC] setupapi: Always initialize output parameter to avoid crash in buggy applications.
wine commit id 53b287530961beaaae89bd063bc0d63ef41036ff by Juan Lang <juan.lang@gmail.com>
2024-10-24 14:53:03 +02:00
winesync
09e9a8c139
[WINESYNC] setupapi: Avoid shadowing a parameter.
wine commit id a326c9ee67d5a66b9634ae8e0850a99ba5fec26c by Austin English <austinenglish@gmail.com>
2024-10-24 14:53:02 +02:00
winesync
c0f05cc264
[WINESYNC] setupapi: Fix some memory leaks in SetupDiGetINFClassA.
Spotted with Valgrind.

wine commit id c66d27c55588b0ab3406ce4729348beec3aab536 by Andrew Nguyen <anguyen@codeweavers.com>
2024-10-24 14:53:01 +02:00
winesync
cf229e5fe2
[WINESYNC] setupapi: Add stub for SetupDiSetSelectedDevice.
wine commit id 8fffb22f1e3e81dd5f745020f6fb235a9794697b by Stefan Leichter <Stefan.Leichter@camline.com>
2024-10-24 14:53:00 +02:00
winesync
0cc5898980
[WINESYNC] setupapi: Implement SetupDiGetINFClassA on top of SetupDiGetINFClassW.
wine commit id 05a1416c9324dfee9fb0ff8854718fda46d9a0bb by Stefan Leichter <Stefan.Leichter@camline.com>
2024-10-24 14:52:59 +02:00
winesync
ee57b41275
[WINESYNC] setupapi: Add partial implementation of SetupDiGetINFClassW.
wine commit id 803b81c1b7e299692c18f73d6125f3737f159dc3 by Stefan Leichter <Stefan.Leichter@camline.com>
2024-10-24 14:52:59 +02:00
winesync
45c2c6e294
[WINESYNC] setupapi: Added tests for SetupDiGetINFClassA.
wine commit id 7e8ab4c8b4642f9952c687c04c1cf259b2bf9192 by Stefan Leichter <Stefan.Leichter@camline.com>
2024-10-24 14:52:58 +02:00
winesync
bae254c148
[WINESYNC] setupapi: Add stubs SetupQueryDrivesInDiskSpaceList{A,W}.
wine commit id 53aef28e36078f0eb28d925c01a9f81e9aeb94ad by Julius Schwartzenberg <julius.schwartzenberg@gmail.com>
2024-10-24 14:52:57 +02:00
winesync
de1ccffb85
[WINESYNC] setupapi: Add a stub for SetupDiLoadClassIcon.
wine commit id aaf4ce8ac6d70f19b6bce495d1b580acb61c1c69 by Paul Vriens <Paul.Vriens.Wine@gmail.com>
2024-10-24 14:52:56 +02:00
winesync
0b8f395814
[WINESYNC] setupapi: Add stubs for SetupDiBuildDriverInfoList and SetupDiDeleteDeviceInfo:.
wine commit id dab1bbef29c84d11d07b80f5262d70689c216366 by Austin English <austinenglish@gmail.com>
2024-10-24 14:52:55 +02:00
winesync
5a79de26b2
[WINESYNC] setupapi: Add a few traces for SetupDecompressOrCopyFileW.
wine commit id 6456e14055584db1d67238a5e70c3bc42c881695 by Andrew Nguyen <anguyen@codeweavers.com>
2024-10-24 14:52:54 +02:00
winesync
8d7e2dc72e
[WINESYNC] setupapi: Only extract the first MSZIP cabinet file in SetupDecompressOrExtractFile.
wine commit id a44506b563af5a1f852c3c26478adb75ffe01b38 by Andrew Nguyen <anguyen@codeweavers.com>
2024-10-24 14:52:53 +02:00
Hermès Bélusca-Maïto
f15cf67112
[SETUPAPI] Prepare for wine sync 2024-10-24 14:52:53 +02:00
winesync
5bb8d48d10
[WINESYNC] setupapi: Add stub implementations of SetupGetNonInteractiveMode and SetupSetNonInteractiveMode.
wine commit id bb36e75a403170aba995a094cd20bed9d484bdf9 by Hans Leidekker <hans@codeweavers.com>
2024-10-24 14:52:52 +02:00
winesync
e9c2fb5e37
[WINESYNC] setupapi: Implement SetupGetInfFileListA.
wine commit id 05a308a80ba8acef2f25732d652a5ffd5361479b by Stefan Leichter <Stefan.Leichter@camline.com>
2024-10-24 14:52:51 +02:00
winesync
4f305a9bfd
[WINESYNC] setupapi: Only cleanup fake dlls once the whole section has been executed.
wine commit id 6836990e0b1143cad40d6f9cf54d85483e353cf5 by Alexandre Julliard <julliard@winehq.org>
2024-10-24 14:52:50 +02:00