[ADVAPI32] OpenSCManagerA/W: Set the last error even in case of success
authorEric Kohl <eric.kohl@reactos.org>
Tue, 31 Dec 2019 22:23:23 +0000 (23:23 +0100)
committerEric Kohl <eric.kohl@reactos.org>
Tue, 31 Dec 2019 22:23:23 +0000 (23:23 +0100)
commit5d3fe05505781e3d5add6afc1b64aa062fa7c0db
tree18f8875379aacdb3e48c1a9ac6527e671b5dd203
parent17864b49e33d5da8f067aa043d4dcb3a19e33cde
[ADVAPI32] OpenSCManagerA/W: Set the last error even in case of success

This fixes a failure in the QueryServiceConfig2 api test.
dll/win32/advapi32/service/scm.c