Commit graph

10 commits

Author SHA1 Message Date
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
Amine Khaldi 6feb8748d3 [RPCRT4] Sync with Wine Staging 4.18. CORE-16441 2019-11-23 12:12:31 +01:00
Jérôme Gardou 23373acbb9 [CMAKE] Use modules instead of shared libraries
There is no need to compile our DLLs as shared libraries since we are
managing symbols exports and imports through spec files.

On my system, this reduces the configure-time by a factor of two.
2019-04-06 17:43:38 +02:00
Thomas Faber 1a14dcb53f
[RPCRT4][RPCRT4_WINETEST] Don't unset IDL_FLAGS. Fixes build on 64 bit hosts. 2019-02-02 19:06:04 +01:00
Amine Khaldi b6fdb56b9a [RPCRT4] Sync with Wine Staging 4.0. CORE-15682 2019-01-30 12:31:33 +01:00
Eric Kohl 24cd7bbe0b [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
Amine Khaldi 96d77d846f [RPCRT4] Sync with Wine Staging 3.9. CORE-14656 2018-06-04 03:49:11 +01:00
Amine Khaldi 87a48c832a [RPCRT4] Sync with Wine Staging 3.3. CORE-14434 2018-03-04 23:49:21 +01:00
Amine Khaldi 90155f749f [RPCRT4] Sync with Wine 3.0. CORE-14225 2018-01-20 13:13:03 +01:00
Colin Finck c2c66aff7d Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00