mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
[NTDLL_VISTA]
- Avoid importing from kernel32. We're supposed to be... ntdll CORE-13361 svn path=/trunk/; revision=74928
This commit is contained in:
parent
d70eb21b6b
commit
605a7dfec9
2 changed files with 4 additions and 2 deletions
|
@ -15,6 +15,6 @@ list(APPEND SOURCE
|
|||
|
||||
add_library(ntdll_vista SHARED ${SOURCE})
|
||||
set_module_type(ntdll_vista win32dll ENTRYPOINT DllMain 12)
|
||||
add_importlibs(ntdll_vista ntdll kernel32)
|
||||
add_importlibs(ntdll_vista ntdll)
|
||||
add_dependencies(ntdll_vista psdk)
|
||||
add_cd_file(TARGET ntdll_vista DESTINATION reactos/system32 FOR all)
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
#include <winreg.h>
|
||||
#include <winuser.h>
|
||||
#include <winwlx.h>
|
||||
#include <ndk/rtltypes.h>
|
||||
#include <ndk/umfuncs.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
@ -25,7 +27,7 @@ DllMain(HANDLE hDll,
|
|||
{
|
||||
if (dwReason == DLL_PROCESS_ATTACH)
|
||||
{
|
||||
DisableThreadLibraryCalls(hDll);
|
||||
LdrDisableThreadCalloutsForDll(hDll);
|
||||
RtlpInitializeKeyedEvent();
|
||||
}
|
||||
else if (dwReason == DLL_PROCESS_DETACH)
|
||||
|
|
Loading…
Reference in a new issue