Added LdrDisableThreadCalloutsForDll.
This commit is contained in:
parent
e1ff66a814
commit
1e55094e8a
|
@ -14,6 +14,7 @@ C_SRCS = \
|
||||||
file.c \
|
file.c \
|
||||||
heap.c \
|
heap.c \
|
||||||
large_int.c \
|
large_int.c \
|
||||||
|
loader.c \
|
||||||
misc.c \
|
misc.c \
|
||||||
nt.c \
|
nt.c \
|
||||||
om.c \
|
om.c \
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
#include "winbase.h"
|
||||||
|
#include "ntdef.h"
|
||||||
|
#include "winnt.h"
|
||||||
|
|
||||||
|
NTSTATUS WINAPI LdrDisableThreadCalloutsForDll(HANDLE hModule)
|
||||||
|
{
|
||||||
|
if (DisableThreadLibraryCalls(hModule))
|
||||||
|
return STATUS_SUCCESS;
|
||||||
|
else
|
||||||
|
return STATUS_DLL_NOT_FOUND;
|
||||||
|
}
|
|
@ -43,7 +43,7 @@ debug_channels (atom cdrom console debug delayhlp dll dosfs dosmem file fixup
|
||||||
@ stub KiUserCallbackDispatcher
|
@ stub KiUserCallbackDispatcher
|
||||||
@ stub KiUserExceptionDispatcher
|
@ stub KiUserExceptionDispatcher
|
||||||
@ stub LdrAccessResource
|
@ stub LdrAccessResource
|
||||||
@ stub LdrDisableThreadCalloutsForDll
|
@ stdcall LdrDisableThreadCalloutsForDll(long) LdrDisableThreadCalloutsForDll
|
||||||
@ stub LdrEnumResources
|
@ stub LdrEnumResources
|
||||||
@ stub LdrFindEntryForAddress
|
@ stub LdrFindEntryForAddress
|
||||||
@ stub LdrFindResourceDirectory_U
|
@ stub LdrFindResourceDirectory_U
|
||||||
|
@ -394,6 +394,7 @@ debug_channels (atom cdrom console debug delayhlp dll dosfs dosmem file fixup
|
||||||
@ stdcall RtlFreeUnicodeString(ptr) RtlFreeUnicodeString
|
@ stdcall RtlFreeUnicodeString(ptr) RtlFreeUnicodeString
|
||||||
@ stub RtlGenerate8dot3Name
|
@ stub RtlGenerate8dot3Name
|
||||||
@ stdcall RtlGetAce(ptr long ptr) RtlGetAce
|
@ stdcall RtlGetAce(ptr long ptr) RtlGetAce
|
||||||
|
@ stub RtlGetVersion
|
||||||
@ stub RtlGetCallersAddress
|
@ stub RtlGetCallersAddress
|
||||||
@ stub RtlGetCompressionWorkSpaceSize
|
@ stub RtlGetCompressionWorkSpaceSize
|
||||||
@ stdcall RtlGetControlSecurityDescriptor(ptr ptr ptr) RtlGetControlSecurityDescriptor
|
@ stdcall RtlGetControlSecurityDescriptor(ptr ptr ptr) RtlGetControlSecurityDescriptor
|
||||||
|
@ -511,6 +512,7 @@ debug_channels (atom cdrom console debug delayhlp dll dosfs dosmem file fixup
|
||||||
@ stdcall RtlSizeHeap(long long ptr) RtlSizeHeap
|
@ stdcall RtlSizeHeap(long long ptr) RtlSizeHeap
|
||||||
@ stub RtlSplay
|
@ stub RtlSplay
|
||||||
@ stub RtlStartRXact
|
@ stub RtlStartRXact
|
||||||
|
@ stub RtlStringFromGUID
|
||||||
@ stdcall RtlSubAuthorityCountSid(ptr) RtlSubAuthorityCountSid
|
@ stdcall RtlSubAuthorityCountSid(ptr) RtlSubAuthorityCountSid
|
||||||
@ stdcall RtlSubAuthoritySid(ptr long) RtlSubAuthoritySid
|
@ stdcall RtlSubAuthoritySid(ptr long) RtlSubAuthoritySid
|
||||||
@ stub RtlSubtreePredecessor
|
@ stub RtlSubtreePredecessor
|
||||||
|
|
Loading…
Reference in New Issue