Alexandre Julliard
|
87b7132b37
|
ntdll: Implement RtlFindExportedRoutineByName().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-05-05 21:52:22 +02:00 |
Henri Verbeet
|
b9070e1153
|
ntdll: Clear ret->Buffer on failure in get_env_var() (Valgrind).
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-04-26 21:34:02 +02:00 |
Alexandre Julliard
|
893febda14
|
makefiles: Install PE fake dlls in the architecture-specific directory.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-04-26 21:34:02 +02:00 |
Alexandre Julliard
|
f93713b157
|
ntdll: Support loading builtins from the architecture-specific PE directory.
Based on a patch by Jacek Caban.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-04-26 21:34:02 +02:00 |
Alexandre Julliard
|
aaa501fe93
|
ntdll: Fix buffer allocation size in get_env_var().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-04-21 17:08:06 +02:00 |
Alexandre Julliard
|
1cf2ae1907
|
ntdll: Support a full path name in the loadFrom dll redirection entry.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50978
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-04-21 08:55:38 +02:00 |
Alexandre Julliard
|
55d98c572c
|
ntdll: Use the loadFrom directory to load dlls from the activation context.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50978
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-04-19 15:39:55 +02:00 |
Alexandre Julliard
|
8ffb9b31d0
|
ntdll: Initialize version and session id on the Unix side.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-04-13 13:05:29 +02:00 |
Alexandre Julliard
|
277a5728da
|
ntdll: Don't try to open the file in the prefix for 16-bit builtins.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-04-08 18:16:52 +02:00 |
Alexandre Julliard
|
446f7e3aa8
|
ntdll: Add a WINEBOOTSTRAPMODE environment variable to allow loading non-existent builtins.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50905
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-04-08 18:16:00 +02:00 |
Alexandre Julliard
|
6d5a6c3466
|
ntdll: Avoid closing a handle twice.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-04-06 22:46:12 +02:00 |
Alexandre Julliard
|
beff5c56cd
|
ntdll: Move the PEB initialization to LdrInitializeThunk().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-04-05 12:08:09 +02:00 |
Alexandre Julliard
|
04762b3576
|
ntdll: Move the global options initialization to LdrInitializeThunk().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-04-05 12:08:09 +02:00 |
Alexandre Julliard
|
4f594e1552
|
ntdll: Move Wow64 initialization to LdrInitializeThunk().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-04-05 12:08:09 +02:00 |
Alexandre Julliard
|
7929b21ede
|
ntdll: Define NtCurrentTeb64() on 64-bit to avoid some #ifdefs.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-04-01 12:25:21 +02:00 |
Alexandre Julliard
|
e6ed943028
|
ntdll: Move creation of the initial modules to LdrInitializeThunk().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-04-01 12:01:43 +02:00 |
Alexandre Julliard
|
c00c62bbfd
|
ntdll: Create the initial stack on the Unix side.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-04-01 11:25:48 +02:00 |
Alexandre Julliard
|
2a8a4cbbe6
|
ntdll: Move kernel32 loading into LdrInitializeThunk().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-03-31 21:13:45 +02:00 |
Alexandre Julliard
|
0bbbf016b1
|
ntdll: Return system dir path for PE mapping bootstrap placeholders.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-03-31 21:13:45 +02:00 |
Alexandre Julliard
|
42de71c387
|
ntdll: Fail to load non-existent dlls, except during prefix bootstrap.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-03-31 21:01:31 +02:00 |
Alexandre Julliard
|
bb065801a6
|
ntdll: Map the builtin or fake dll from the Wine dirs if it's missing from the prefix.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-03-30 11:51:25 +02:00 |
Alexandre Julliard
|
f17483b936
|
ntdll: Check the loadorder for .so dlls on the Unix side.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-03-26 16:16:12 +01:00 |
Alexandre Julliard
|
e8ec7a8cec
|
ntdll: Don't pass the application name to get_load_order().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-03-26 16:16:12 +01:00 |
Alexandre Julliard
|
47fed8f5bc
|
ntdll: Don't set the DllPath parameter by default.
Recent Windows versions don't set it either.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-03-24 20:43:49 +01:00 |
Alexandre Julliard
|
28fe84da45
|
ntdll: Load the main image from the Unix side.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-03-24 20:43:49 +01:00 |
Mark Harmstone
|
3fd9a423d4
|
ntdll: Take into account ordinal base when resolving forwarded ordinals.
Signed-off-by: Mark Harmstone <mark@harmstone.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-03-24 20:43:48 +01:00 |
Alexandre Julliard
|
ab8f0c3e21
|
ntdll: Load builtin dlls through NtMapViewOfSection().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-03-22 20:38:45 +01:00 |
Alexandre Julliard
|
0ea5772113
|
ntdll: Use NtAreMappedFilesTheSame() to find duplicated module mappings.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-03-22 20:38:25 +01:00 |
Alexandre Julliard
|
4ea07a30ce
|
ntdll: Check the builtin signature when creating a module.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-03-17 11:49:23 +01:00 |
Rémi Bernon
|
4d5824112e
|
ntdll: Don't call possibly deadly DbgUiGetThreadDebugObject.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-03-16 22:16:54 +01:00 |
Alexandre Julliard
|
e0fc8d7acb
|
ntdll: Call the Unix entry point from the Unix side.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-03-16 20:36:43 +01:00 |
Alexandre Julliard
|
22da5bd757
|
ntdll: Move the loadorder support to the Unix library.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-03-16 20:36:43 +01:00 |
Alexandre Julliard
|
8824474e08
|
ntdll: Move the builtin dll list to virtual.c.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-03-16 10:58:14 +01:00 |
Alexandre Julliard
|
e5cade0ff1
|
ntdll: Remove DLL_WINE_PREATTACH support.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-03-02 11:01:25 +01:00 |
Zebediah Figura
|
0421ea3975
|
ntdll: Stub Wow64Transition.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45567
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-03-01 18:03:18 +01:00 |
Alexandre Julliard
|
65cff86951
|
ntdll: Remove no longer needed Unix codepage functions from the PE side.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-02-28 11:29:46 +01:00 |
Alexandre Julliard
|
1e2b060eb1
|
ntdll: Pass correct pointer to build_module().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50731
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-02-27 17:42:50 +01:00 |
Alexandre Julliard
|
a46515d449
|
ntdll: Get rid of attach_implicitly_loaded_dlls().
This should no longer happen.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-02-26 16:24:25 +01:00 |
Alexandre Julliard
|
305cb8af27
|
ntdll: Initialize the ShowDotFiles option on the Unix side.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-02-25 16:15:26 +01:00 |
Alexandre Julliard
|
93eb4dbde8
|
ntdll: Add a separate helper for creating the initial ntdll module.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-02-25 16:15:26 +01:00 |
Alexandre Julliard
|
d89b304eb7
|
ntdll: Avoid sign conversion warnings in Thumb-2 relocation processing.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-02-19 23:46:25 +01:00 |
Alexandre Julliard
|
3f3f673c29
|
ntdll: Print the version mismatch error from the Unix side.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-02-19 22:54:09 +01:00 |
Alexandre Julliard
|
37600028fc
|
ntdll: Check the prefer-native flag in the PE header for default load order.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-02-18 11:11:22 +01:00 |
Alexandre Julliard
|
58eceff167
|
ntdll: Don't use wine/server.h from the PE side.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-02-16 23:01:37 +01:00 |
Alexandre Julliard
|
c2c57e8dba
|
ntdll: Use the SECTION_IMAGE_INFORMATION bitfields where possible.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-02-16 21:20:47 +01:00 |
Alexandre Julliard
|
e7fa4fd147
|
server: Remove the load/unload_dll requests and the dll list.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-02-11 16:31:30 +01:00 |
Alexandre Julliard
|
7163c78234
|
ntdll: Close the debug port on thread exit.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-02-11 16:31:30 +01:00 |
Alexandre Julliard
|
4f2ed66a5f
|
server: Use TEB->ArbitraryUserPointer to store the loaded dll names.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-02-11 11:49:41 +01:00 |
David Koolhoven
|
4f7a4146cd
|
ntdll: Don't try to convert module to 64-bit if it doesn't contain code.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50647
Signed-off-by: David Koolhoven <david@koolhoven-home.net>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-02-10 09:20:46 +01:00 |
Alexandre Julliard
|
d7bdd5a554
|
ntdll: Pass the full NT path name to load_builtin_dll().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-02-09 13:23:17 +01:00 |