Author: akhaldi
Date: Wed Mar 5 12:06:28 2014
New Revision: 62427
URL:
http://svn.reactos.org/svn/reactos?rev=62427&view=rev
Log:
[NTDLL]
* Mark as hotpatchable.
CORE-7959
Modified:
trunk/reactos/dll/ntdll/CMakeLists.txt
trunk/reactos/dll/ntdll/ldr/ldrapi.c
Modified: trunk/reactos/dll/ntdll/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/ntdll/CMakeLists.txt?r…
==============================================================================
--- trunk/reactos/dll/ntdll/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/ntdll/CMakeLists.txt [iso-8859-1] Wed Mar 5 12:06:28 2014
@@ -42,7 +42,7 @@
def/ntdll.rc
${CMAKE_CURRENT_BINARY_DIR}/ntdll.def)
-set_module_type(ntdll win32dll ENTRYPOINT 0)
+set_module_type(ntdll win32dll HOTPATCHABLE ENTRYPOINT 0)
#############################################
## HACK FOR MSVC COMPILATION WITH win32dll ##
set_subsystem(ntdll console)
Modified: trunk/reactos/dll/ntdll/ldr/ldrapi.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/ntdll/ldr/ldrapi.c?rev…
==============================================================================
--- trunk/reactos/dll/ntdll/ldr/ldrapi.c [iso-8859-1] (original)
+++ trunk/reactos/dll/ntdll/ldr/ldrapi.c [iso-8859-1] Wed Mar 5 12:06:28 2014
@@ -307,6 +307,7 @@
*/
NTSTATUS
NTAPI
+DECLSPEC_HOTPATCH
LdrLoadDll(IN PWSTR SearchPath OPTIONAL,
IN PULONG DllCharacteristics OPTIONAL,
IN PUNICODE_STRING DllName,