[0.4.10][RPCRT4] Add I_RpcSNCHOption() as 'stub' CORE-12534, and fix 'Routeines'...
authorJoachim Henze <Joachim.Henze@reactos.org>
Sat, 15 Oct 2022 20:23:05 +0000 (22:23 +0200)
committerJoachim Henze <Joachim.Henze@reactos.org>
Sat, 15 Oct 2022 20:23:05 +0000 (22:23 +0200)
fixes BSOD 0xc0000139 STATUS_ENTRYPOINT_NOT_FOUND upon boot when
replacing just the file advapi32.dll with 2k3SP2 version 5.2.3790.3959

We can not reach the desktop yet, but at least the GUI,
and we do no longer BSOD and can instead properly ACPI-shutdown at this point.

picked from 0.4.15-dev-71-g 0b530fe4964b2cf29a75ba540bd9e956dbfc7e42
----------
also pick unrelated 0.4.14-dev-1260-g 6e79e60883aed64ab18201ac24e945d2933faa2b [RPCRT4] Fix 'Routeines' typos (#2481)
which contrary to its commits comment in master is very little only 'related' to CORE15682
but it imports https://source.winehq.org/git/wine.git/commit/c73352047d20a503c67bdd583f6ef8d98711a678
and is a very safe fix, so I picked that as well.

dll/win32/rpcrt4/rpcrt4.spec

index dc4fb2e..bbe954f 100644 (file)
@@ -71,7 +71,7 @@
 # I_RpcRecordCalloutFailure
 # I_RpcReplyToClientWithStatus
 73 stub I_RpcRequestMutex
-# I_RpcSNCHOption
+74 stub I_RpcSNCHOption
 75 stdcall I_RpcSend(ptr)
 76 stdcall I_RpcSendReceive(ptr)
 77 stub I_RpcServerAllocateIpPort
 511 stub long_from_ndr
 512 stub long_from_ndr_temp
 513 stub pfnFreeRoutines
-514 stub pfnMarshallRouteines
+514 stub pfnMarshallRoutines
 515 stub pfnSizeRoutines
-516 stub pfnUnmarshallRouteines
+516 stub pfnUnmarshallRoutines
 517 stub short_array_from_ndr
 518 stub short_from_ndr
 519 stub short_from_ndr_temp