reactos/dll/win32/rpcrt4
Oleg Dubinskiy be460fe03f [RPCRT4] Stub RpcGetAuthorizationContextForClient (#2042)
## Purpose

Add a stub for RpcGetAuthorizationContextForClient function into rpcrt4, according to https://docs.microsoft.com/en-us/windows/win32/api/rpcasync/nf-rpcasync-rpcgetauthorizationcontextforclient (but with Wine-specific diffs in the syntax, according to the code guidelines: https://wiki.winehq.org/Submitting_Patches#Code_guidelines, since we're syncing rpcrt4 with Wine). Required by MS Winlogon with also Win32 subsystem and some other dlls replaced (aka ROS-Frankenstein), so after my changes it doesn't fail with our rpcrt4.dll at the system startup.
I think I also need to submit a patch in Wine, but it is a bit problematically to reproduce this error there, since Wine has no even winlogon.exe, and launching MS Winlogon in pair with profmap.dll, causes the crash due to unimplemented RtlSetProcessIsCritical function in ntdll (which is completely different than our). Ftr, our ntdll already has it implemented: https://git.reactos.org/?p=reactos.git;a=blob;f=sdk/lib/rtl/process.c;hb=67c78d88c885ca92c72e2bcf59ddcf1d429096b1#l453 But with MS ntdll.dll, as far as I know, Wine will not work.

JIRA issue: CORE-16458

Although this PR doesn't fix that shutdown issue, it at least improves the situation with replaced system files and allows to investigate it more.

## Proposed changes

- Add a stub for the function in `dll/win32/rpcrt4/rpc_async.c`;
- Properly call it in `dll/win32/rpcrt4/rpcrt4.spec`.
2019-11-29 14:19:56 +01:00
..
CMakeLists.txt [CMAKE] Use modules instead of shared libraries 2019-04-06 17:43:38 +02:00
cproxy.c [RPCRT4] Sync with Wine Staging 4.18. CORE-16441 2019-11-23 12:12:31 +01:00
cpsf.c [RPCRT4] Sync with Wine Staging 4.18. CORE-16441 2019-11-23 12:12:31 +01:00
cpsf.h [RPCRT4] Sync with Wine Staging 4.0. CORE-15682 2019-01-30 12:31:33 +01:00
cstub.c [RPCRT4] Sync with Wine Staging 4.18. CORE-16441 2019-11-23 12:12:31 +01:00
epm.idl
epm_towers.h
msvc.S
ncastatus.h
ndr_clientserver.c
ndr_contexthandle.c [RPCRT4] Sync with Wine Staging 4.18. CORE-16441 2019-11-23 12:12:31 +01:00
ndr_es.c [RPCRT4] Sync with Wine Staging 4.0. CORE-15682 2019-01-30 12:31:33 +01:00
ndr_fullpointer.c
ndr_marshall.c [RPCRT4] Sync with Wine Staging 4.18. CORE-16441 2019-11-23 12:12:31 +01:00
ndr_misc.h
ndr_ole.c [RPCRT4] Sync with Wine Staging 4.0. CORE-15682 2019-01-30 12:31:33 +01:00
ndr_stubless.c [RPCRT4] Sync with Wine Staging 4.18. CORE-16441 2019-11-23 12:12:31 +01:00
ndr_stubless.h [RPCRT4] Sync with Wine Staging 4.18. CORE-16441 2019-11-23 12:12:31 +01:00
ndr_typelib.c [RPCRT4] Sync with Wine Staging 4.18. CORE-16441 2019-11-23 12:12:31 +01:00
ndr_types.idl [RPCRT4] Sync with Wine Staging 4.0. CORE-15682 2019-01-30 12:31:33 +01:00
precomp.h [RPCRT4] Sync with Wine Staging 4.18. CORE-16441 2019-11-23 12:12:31 +01:00
rpc_assoc.c [RPCRT4] Sync with Wine Staging 4.18. CORE-16441 2019-11-23 12:12:31 +01:00
rpc_assoc.h [RPCRT4] Sync with Wine Staging 4.0. CORE-15682 2019-01-30 12:31:33 +01:00
rpc_async.c [RPCRT4] Stub RpcGetAuthorizationContextForClient (#2042) 2019-11-29 14:19:56 +01:00
rpc_binding.c [RPCRT4] Sync with Wine Staging 4.18. CORE-16441 2019-11-23 12:12:31 +01:00
rpc_binding.h [RPCRT4] Sync with Wine Staging 4.0. CORE-15682 2019-01-30 12:31:33 +01:00
rpc_defs.h
rpc_epmap.c [RPCRT4] Sync with Wine Staging 4.0. CORE-15682 2019-01-30 12:31:33 +01:00
rpc_message.c [RPCRT4] Sync with Wine Staging 4.0. CORE-15682 2019-01-30 12:31:33 +01:00
rpc_message.h
rpc_server.c [RPCRT4] Sync with Wine Staging 4.18. CORE-16441 2019-11-23 12:12:31 +01:00
rpc_server.h
rpc_transport.c [RPCRT4] Sync with Wine Staging 4.18. CORE-16441 2019-11-23 12:12:31 +01:00
rpcrt4.rc
rpcrt4.spec [RPCRT4] Stub RpcGetAuthorizationContextForClient (#2042) 2019-11-29 14:19:56 +01:00
rpcrt4_main.c [RPCRT4] Sync with Wine Staging 4.18. CORE-16441 2019-11-23 12:12:31 +01:00
rpcrt4_ros.diff [RPCRT4] Update the support for remote pipes which was dropped by the sync to Wine Staging 2.9 and update rpcrt4_ros.diff accordingly 2018-07-29 07:30:43 +02:00
unix_func.c
version.rc