- Avoid importing from kernel32. We're supposed to be... ntdll
CORE-13361
svn path=/trunk/; revision=74928
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)
#include <winreg.h>
#include <winuser.h>
#include <winwlx.h>
+#include <ndk/rtltypes.h>
+#include <ndk/umfuncs.h>
#define NDEBUG
#include <debug.h>
{
if (dwReason == DLL_PROCESS_ATTACH)
{
- DisableThreadLibraryCalls(hDll);
+ LdrDisableThreadCalloutsForDll(hDll);
RtlpInitializeKeyedEvent();
}
else if (dwReason == DLL_PROCESS_DETACH)