[SETUPAPI]: Fix a 9-year old bug in the SETUP_CreateClassKey() logic, introduced...
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 4 Jun 2017 18:16:24 +0000 (18:16 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 4 Jun 2017 18:16:24 +0000 (18:16 +0000)
commit93cfc0363318f90fd6fc4f649c4c7004afde36d3
tree45c27ae26553c29cd01dcc19136c7c759095a0d0
parenta53818114054251428a7c9cc1c728f55f0f07e41
[SETUPAPI]: Fix a 9-year old bug in the SETUP_CreateClassKey() logic, introduced in r31860, that set a wrong Class name value if the corresponding registry key already existed. The bug was unveiled by my commit r74761.
[SETUPAPI_APITEST]: When selecting another test_class_guid and test_class_name couple via SetupDiClassNameFromGuidA(), check whether this function actually succeeds. Also, improve some error output.

svn path=/trunk/; revision=74916
reactos/dll/win32/setupapi/devinst.c
rostests/apitests/setupapi/devclass.c