https://git.reactos.org/?p=reactos.git;a=commitdiff;h=16b4c9ff3c183bd88b01a…
commit 16b4c9ff3c183bd88b01ad43ecb3ebb3339b4c60
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Tue Nov 21 22:19:43 2023 +0100
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Tue Nov 21 22:23:54 2023 +0100
[NTDLL] Fix long vs. ptr in some Ldr* exports
---
dll/ntdll/def/ntdll.spec | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/dll/ntdll/def/ntdll.spec b/dll/ntdll/def/ntdll.spec
index b7659f042d5..0dec2c84c88 100644
--- a/dll/ntdll/def/ntdll.spec
+++ b/dll/ntdll/def/ntdll.spec
@@ -133,23 +133,23 @@
@ stdcall KiUserCallbackDispatcher(ptr ptr long) ; CHECKME
@ stdcall KiUserExceptionDispatcher(ptr ptr)
@ stdcall -version=0x502 LdrAccessOutOfProcessResource(ptr ptr ptr ptr ptr)
-@ stdcall LdrAccessResource(long ptr ptr ptr)
+@ stdcall LdrAccessResource(ptr ptr ptr ptr)
@ stdcall -stub -version=0x600+ LdrAddLoadAsDataTable(ptr wstr long ptr)
@ stdcall LdrAddRefDll(long ptr)
@ stdcall -version=0x502 LdrAlternateResourcesEnabled()
@ stdcall -version=0x502 LdrCreateOutOfProcessImage(long ptr ptr ptr)
@ stdcall -version=0x502 LdrDestroyOutOfProcessImage(ptr)
-@ stdcall LdrDisableThreadCalloutsForDll(long)
+@ stdcall LdrDisableThreadCalloutsForDll(ptr)
@ stdcall LdrEnumResources(ptr ptr long ptr ptr)
-@ stdcall LdrEnumerateLoadedModules(long ptr long)
+@ stdcall LdrEnumerateLoadedModules(long ptr ptr)
@ stdcall -version=0x501-0x502 LdrFindCreateProcessManifest(long ptr ptr long ptr)
@ stdcall LdrFindEntryForAddress(ptr ptr)
-@ stdcall LdrFindResourceDirectory_U(long ptr long ptr)
+@ stdcall LdrFindResourceDirectory_U(ptr ptr long ptr)
@ stdcall -stub LdrFindResourceEx_U(ptr ptr ptr ptr ptr) ; 5.1 and higher
-@ stdcall LdrFindResource_U(long ptr long ptr)
+@ stdcall LdrFindResource_U(ptr ptr long ptr)
@ stdcall LdrFlushAlternateResourceModules()
-@ stdcall LdrGetDllHandle(wstr long ptr ptr)
-@ stdcall LdrGetDllHandleEx(long wstr long ptr ptr)
+@ stdcall LdrGetDllHandle(wstr ptr ptr ptr)
+@ stdcall LdrGetDllHandleEx(long wstr ptr ptr ptr)
@ stub -version=0x600+ LdrGetFailureData
@ stdcall -stub -version=0x600+ LdrGetFileNameFromLoadAsDataTable(ptr ptr)
@ stdcall -stub -version=0x600+ -arch=x86_64 LdrGetKnownDllSectionHandle(wstr long ptr)