Commit Graph

111 Commits

Author SHA1 Message Date
Zhiyi Zhang f9d838423d setupapi: Return CR_SUCCESS for CM_Get_DevNode_Status{_Ex}.
One Piece: Pirate Warriors 4 relies on CM_Get_DevNode_Status() to return CR_SUCCESS. Otherwise, it
shows a graphics driver error dialog and exits.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-30 11:03:38 +02:00
Gijs Vermeulen b8a4b9f93b setupapi: Add SetupDiGetClassRegistryPropertyW stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52520
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-14 18:30:28 +01:00
Eric Pouech e498e0ec9b setupapi: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-17 18:57:17 +01:00
Louis Lenders f48b9700b8 setupapi: Add stub for CM_Get_Device_Interface_Alias{A,W}.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49147
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-14 23:12:31 +02:00
Fabian Maurer c77ba713d2 setupapi: Correct function parameter for CM_Set_Class_Registry_PropertyA/W.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47249
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-23 08:57:42 +02:00
Zebediah Figura 9fa4a2af1c setupapi: Add a semi-stub implementation of SetupDiSelectBestCompatDrv().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-21 18:08:37 +02:00
Zebediah Figura 23be8593e9 setupapi: Implement SetupDiEnumDriverInfo().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-21 18:08:37 +02:00
Zebediah Figura 8369f60c5b setupapi: Add an initial implementation of SetupDiBuildDriverInfoList().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-21 18:08:37 +02:00
Zhiyi Zhang 17d58c93f3 setupapi: Implement SetupDiOpenDeviceInfoA().
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-18 11:50:01 +01:00
Zhiyi Zhang cb5d191064 setupapi: Implement SetupDiOpenDeviceInfoW().
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-18 11:49:54 +01:00
Alistair Leslie-Hughes 343e486e83 setupapi: Added CM_Request_Device_EjectA/W stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45879
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-07 19:19:31 +01:00
Vijay Kiran Kamuju 01b8a79595 setupapi: Add stub for CM_Get_Sibling.
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-13 19:45:24 +01:00
Zebediah Figura 03e9ef38a7 setupapi: Implement SetupDiDeleteDeviceInfo().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=43211
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-04 10:02:23 +01:00
Tim Wanders 074345edd6 setupapi: Return CR_NO_SUCH_DEVNODE from CM_Get_Parent stub.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-02 20:47:11 +02:00
Austin English 852cd999f3 setupapi: Add SetupDiEnumDriverInfoA/W stubs.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-17 18:53:30 +01:00
Andrey Gusev 1ce4029994 setupapi: Add CM_Get_Sibling_Ex stub.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-30 13:07:35 +01:00
Andrey Gusev afa920a73f setupapi: Add CM_Get_Child_Ex stub.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-30 13:06:33 +01:00
Christoph Brill 6b05583005 setupapi: Stub CM_Open_DevNode_Key and CM_Get_Child.
Signed-off-by: Christoph Brill <egore911@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-25 17:15:27 +01:00
Rob Walker 10058e7c4e setupapi: Add stub for setupapi.dll.CM_Get_DevNode_Status.
Signed-off-by: Rob Walker <bob.mt.wya@gmail.com>
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-03 22:26:07 +09:00
Austin English 9ad0bc6372 setupapi: Add SetupDiSelectBestCompatDrv stubs.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-24 12:05:08 +01:00
Pierre Schweitzer a851aaa424 setupapi: Implement SetupLogErrorA(), SetupLogErrorW(). 2015-03-27 00:12:17 +09:00
Pierre Schweitzer 799dfa6ada setupapi: Implement SetupOpenLog(), SetupCloseLog(). 2015-03-27 00:12:13 +09:00
André Hentschel f272c12607 setupapi: Add stubs for CM_Get_Device_Interface_List_SizeA/W. 2014-10-08 17:44:50 +02:00
Mark Harmstone cfb81f2c60 setupapi: Add CM_Get_DevNode_Registry_Property wrapper around CM_Get_DevNode_Registry_Property_Ex. 2014-05-08 19:41:55 +02:00
Vincent Povirk bdadd760a3 setupapi: Stub SetupDiDestroyDriverInfoList. 2014-01-28 11:49:18 +01:00
André Hentschel f8c77fbd62 setupapi: Add stub keyword to some FIXMEs. 2013-04-15 15:14:30 +02:00
André Hentschel f79fa294c9 setupapi: Add stubs for CM_Reenumerate_DevNode and CM_Reenumerate_DevNode_Ex. 2013-04-15 15:14:25 +02:00
André Hentschel 32fb489f1c setupapi: Add CM_Get_Device_ID_ExA stub. 2013-04-04 13:28:45 +02:00
Sylvain Petreolle 8a04421244 setupapi: Add stub for SetupAddToSourceListW. 2012-12-11 20:45:45 +01:00
Stefan Leichter b3b78b337e setupapi: Add stub for SetupAddToSourceListA. 2012-06-01 13:25:42 +02:00
Michael Stefaniuc 8f6801fdc0 setupapi: Print the debug string and not the pointer to it. 2012-03-26 18:15:29 +02:00
André Hentschel 88baa9e700 setupapi: Add stub for CM_Get_Class_Registry_PropertyW. 2012-01-13 17:34:30 +01:00
André Hentschel 0309066f15 setupapi: Add stub for CM_Get_Class_Registry_PropertyA. 2012-01-13 17:34:30 +01:00
André Hentschel 9ea3c46e71 setuapi: Add stub for CM_Get_DevNode_Registry_Property_ExA. 2012-01-12 12:25:58 +01:00
André Hentschel 33d60e9060 setuapi: Add stub for CM_Set_Class_Registry_PropertyW. 2012-01-12 12:25:55 +01:00
André Hentschel ed4b8cb617 setuapi: Add stub for CM_Set_Class_Registry_PropertyA. 2012-01-12 12:25:52 +01:00
André Hentschel c83b67bc4f setupapi: Add stub for CM_Get_DevNode_Registry_Property_ExW. 2012-01-10 17:55:22 +01:00
Stefan Leichter 8fc7a01a2c setupapi: Add stub for SetupDiDrawMiniIcon. 2011-12-30 17:12:47 +01:00
Stefan Leichter 649d0f85ba setupapi: Add stub for SetupDiGetClassBitmapIndex. 2011-12-30 17:12:47 +01:00
André Hentschel c6e38bfee6 setupapi: Add stubs for CM_Get_Device_ID_List_SizeA/W. 2011-05-27 12:26:28 +02:00
Stefan Leichter 8fffb22f1e setupapi: Add stub for SetupDiSetSelectedDevice. 2011-01-07 10:22:58 +01:00
Stefan Leichter 05a1416c93 setupapi: Implement SetupDiGetINFClassA on top of SetupDiGetINFClassW. 2010-10-05 13:04:26 +02:00
Stefan Leichter 803b81c1b7 setupapi: Add partial implementation of SetupDiGetINFClassW. 2010-10-05 13:03:44 +02:00
Stefan Leichter 7e8ab4c8b4 setupapi: Added tests for SetupDiGetINFClassA. 2010-09-14 13:31:46 -05:00
Julius Schwartzenberg 53aef28e36 setupapi: Add stubs SetupQueryDrivesInDiskSpaceList{A,W}. 2010-08-23 11:55:09 +02:00
Paul Vriens aaf4ce8ac6 setupapi: Add a stub for SetupDiLoadClassIcon. 2010-07-29 10:22:25 +02:00
Austin English dab1bbef29 setupapi: Add stubs for SetupDiBuildDriverInfoList and SetupDiDeleteDeviceInfo:. 2010-06-28 11:42:59 +02:00
Vitaly Perov c7d4b0c69f setupapi: Add stub for SetupLogFile{A,W}. 2010-02-08 17:14:43 +01:00
Andrew Nguyen 3eea5a8ae9 setupapi: Implement SetupDiOpenDeviceInfoA/W as stubs. 2009-12-22 13:48:26 +01:00
Vladimir Pankratov 6f2ec37b60 setupapi: Add stub for CM_Get_Device_ID_ExW. 2009-12-16 12:42:40 +01:00