[ADVAPI32] Ignore the return value of the HandlerFunctionEx as well

Ignore the return value of the HandlerFunctionEx because we already ignore the return value of the HandlerFunction.
This fixes a winetest failure.
This commit is contained in:
Eric Kohl 2018-04-19 06:09:57 +02:00
parent 6d912629f7
commit aba6ce5b84

View file

@ -536,9 +536,10 @@ ScControlService(PACTIVE_SERVICE lpService,
else if (lpService->HandlerFunctionEx) else if (lpService->HandlerFunctionEx)
{ {
/* FIXME: Send correct 2nd and 3rd parameters */ /* FIXME: Send correct 2nd and 3rd parameters */
dwError = (lpService->HandlerFunctionEx)(ControlPacket->dwControl, (lpService->HandlerFunctionEx)(ControlPacket->dwControl,
0, NULL, 0, NULL,
lpService->HandlerContext); lpService->HandlerContext);
dwError = ERROR_SUCCESS;
} }
TRACE("ScControlService() done (Error %lu)\n", dwError); TRACE("ScControlService() done (Error %lu)\n", dwError);