From 49fc20ca7acc3cac32e47d054d20d1dde9d5ffd8 Mon Sep 17 00:00:00 2001 From: Bagietka Date: Wed, 4 Sep 2024 17:31:59 +0200 Subject: [PATCH] Ntdll stub --- dlls/ntdll/Exports.def | 2 +- dlls/ntdll/ntdll.cpp | 8 ++++++++ dlls/ntdll/ntdll.vcxproj | 13 +++++++++---- dlls/ntdll/ntdll.vcxproj.filters | 7 ++++--- 4 files changed, 22 insertions(+), 8 deletions(-) create mode 100644 dlls/ntdll/ntdll.cpp diff --git a/dlls/ntdll/Exports.def b/dlls/ntdll/Exports.def index 45760d2..dbd248c 100644 --- a/dlls/ntdll/Exports.def +++ b/dlls/ntdll/Exports.def @@ -1,3 +1,3 @@ LIBRARY ntdll EXPORTS - TpSetPoolAffinityMask = TpSetPoolAffinityMask_X @860 \ No newline at end of file + TpSetPoolAffinityMask = TpSetPoolAffinityMask_X @860 diff --git a/dlls/ntdll/ntdll.cpp b/dlls/ntdll/ntdll.cpp new file mode 100644 index 0000000..74b3808 --- /dev/null +++ b/dlls/ntdll/ntdll.cpp @@ -0,0 +1,8 @@ +#include "pch.h" +#include "framework.h" +#include +#include + +__int64 TpSetPoolAffinityMask_X(PTP_POOL ptpp, DWORD_PTR dwThreadPoolAffinityMask) { + return 0; +} \ No newline at end of file diff --git a/dlls/ntdll/ntdll.vcxproj b/dlls/ntdll/ntdll.vcxproj index a29c71b..799f155 100644 --- a/dlls/ntdll/ntdll.vcxproj +++ b/dlls/ntdll/ntdll.vcxproj @@ -22,15 +22,16 @@ + - - - + + + 17.0 Win32Proj @@ -108,6 +109,7 @@ Windows true false + Exports.def @@ -127,6 +129,7 @@ true true false + Exports.def @@ -135,13 +138,14 @@ true _DEBUG;NTDLL_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) true - Use + Create pch.h Windows true false + Exports.def @@ -161,6 +165,7 @@ true true false + Exports.def diff --git a/dlls/ntdll/ntdll.vcxproj.filters b/dlls/ntdll/ntdll.vcxproj.filters index 8a580e9..9be64c3 100644 --- a/dlls/ntdll/ntdll.vcxproj.filters +++ b/dlls/ntdll/ntdll.vcxproj.filters @@ -5,12 +5,13 @@ - - - + + + + \ No newline at end of file