[REACTOS] Fix parameter types on some exports (#3217)

Fix some wrong parameter types on some exports in NTDLL, KERNEL32, WTSAPI32, and NTOSKRNL.
This commit is contained in:
Serge Gautherie 2021-05-01 21:11:34 +02:00 committed by GitHub
parent 5d89643311
commit 249f2388bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 27 additions and 27 deletions

View file

@ -284,7 +284,7 @@
@ stdcall NtCreateProcessEx(ptr long ptr ptr long ptr ptr ptr long) @ stdcall NtCreateProcessEx(ptr long ptr ptr long ptr ptr ptr long)
@ stdcall NtCreateProfile(ptr ptr ptr long long ptr long long long) ; CHECKME @ stdcall NtCreateProfile(ptr ptr ptr long long ptr long long long) ; CHECKME
@ stub -version=0x600+ NtCreateResourceManager @ stub -version=0x600+ NtCreateResourceManager
@ stdcall NtCreateSection(ptr long ptr ptr long long long) @ stdcall NtCreateSection(ptr long ptr ptr long long ptr)
@ stdcall NtCreateSemaphore(ptr long ptr long long) @ stdcall NtCreateSemaphore(ptr long ptr long long)
@ stdcall NtCreateSymbolicLinkObject(ptr long ptr ptr) @ stdcall NtCreateSymbolicLinkObject(ptr long ptr ptr)
@ stdcall NtCreateThread(ptr long ptr ptr ptr ptr ptr long) @ stdcall NtCreateThread(ptr long ptr ptr ptr ptr ptr long)
@ -427,13 +427,13 @@
@ stdcall NtQueryFullAttributesFile(ptr ptr) @ stdcall NtQueryFullAttributesFile(ptr ptr)
@ stdcall NtQueryInformationAtom(long long ptr long ptr) @ stdcall NtQueryInformationAtom(long long ptr long ptr)
@ stub -version=0x600+ NtQueryInformationEnlistment @ stub -version=0x600+ NtQueryInformationEnlistment
@ stdcall NtQueryInformationFile(long ptr ptr long long) @ stdcall NtQueryInformationFile(ptr ptr ptr long long)
@ stdcall NtQueryInformationJobObject(long long ptr long ptr) @ stdcall NtQueryInformationJobObject(ptr long ptr long ptr)
@ stdcall NtQueryInformationPort(ptr long ptr long ptr) @ stdcall NtQueryInformationPort(ptr long ptr long ptr)
@ stdcall NtQueryInformationProcess(long long ptr long ptr) @ stdcall NtQueryInformationProcess(ptr long ptr long ptr)
@ stub -version=0x600+ NtQueryInformationResourceManager @ stub -version=0x600+ NtQueryInformationResourceManager
@ stdcall NtQueryInformationThread(long long ptr long ptr) @ stdcall NtQueryInformationThread(ptr long ptr long ptr)
@ stdcall NtQueryInformationToken(long long ptr long ptr) @ stdcall NtQueryInformationToken(ptr long ptr long ptr)
@ stub -version=0x600+ NtQueryInformationTransaction @ stub -version=0x600+ NtQueryInformationTransaction
@ stub -version=0x600+ NtQueryInformationTransactionManager @ stub -version=0x600+ NtQueryInformationTransactionManager
@ stub -version=0x600+ NtQueryInformationWorkerFactory @ stub -version=0x600+ NtQueryInformationWorkerFactory
@ -524,14 +524,14 @@
@ stdcall NtSetHighWaitLowEventPair(ptr) @ stdcall NtSetHighWaitLowEventPair(ptr)
@ stdcall NtSetInformationDebugObject(ptr long ptr long ptr) @ stdcall NtSetInformationDebugObject(ptr long ptr long ptr)
@ stub -version=0x600+ NtSetInformationEnlistment @ stub -version=0x600+ NtSetInformationEnlistment
@ stdcall NtSetInformationFile(long long long long long) @ stdcall NtSetInformationFile(ptr ptr ptr long long)
@ stdcall NtSetInformationJobObject(long long ptr long) @ stdcall NtSetInformationJobObject(ptr long ptr long)
@ stdcall NtSetInformationKey(long long ptr long) @ stdcall NtSetInformationKey(ptr long ptr long)
@ stdcall NtSetInformationObject(long long ptr long) @ stdcall NtSetInformationObject(ptr long ptr long)
@ stdcall NtSetInformationProcess(long long long long) @ stdcall NtSetInformationProcess(ptr long ptr long)
@ stub -version=0x600+ NtSetInformationResourceManager @ stub -version=0x600+ NtSetInformationResourceManager
@ stdcall NtSetInformationThread(long long ptr long) @ stdcall NtSetInformationThread(ptr long ptr long)
@ stdcall NtSetInformationToken(long long ptr long) @ stdcall NtSetInformationToken(ptr long ptr long)
@ stub -version=0x600+ NtSetInformationTransaction @ stub -version=0x600+ NtSetInformationTransaction
@ stub -version=0x600+ NtSetInformationTransactionManager @ stub -version=0x600+ NtSetInformationTransactionManager
@ stub -version=0x600+ NtSetInformationWorkerFactory @ stub -version=0x600+ NtSetInformationWorkerFactory
@ -562,9 +562,9 @@
@ stdcall NtSuspendProcess(ptr) @ stdcall NtSuspendProcess(ptr)
@ stdcall NtSuspendThread(long ptr) @ stdcall NtSuspendThread(long ptr)
@ stdcall NtSystemDebugControl(long ptr long ptr long ptr) @ stdcall NtSystemDebugControl(long ptr long ptr long ptr)
@ stdcall NtTerminateJobObject(long long) @ stdcall NtTerminateJobObject(ptr long)
@ stdcall NtTerminateProcess(long long) @ stdcall NtTerminateProcess(ptr long)
@ stdcall NtTerminateThread(long long) @ stdcall NtTerminateThread(ptr long)
@ stdcall NtTestAlert() @ stdcall NtTestAlert()
@ stub -version=0x600+ NtThawRegistry @ stub -version=0x600+ NtThawRegistry
@ stub -version=0x600+ NtThawTransactions @ stub -version=0x600+ NtThawTransactions
@ -1720,9 +1720,9 @@
@ stdcall ZwSuspendProcess(ptr) @ stdcall ZwSuspendProcess(ptr)
@ stdcall ZwSuspendThread(long ptr) @ stdcall ZwSuspendThread(long ptr)
@ stdcall ZwSystemDebugControl(long ptr long ptr long ptr) @ stdcall ZwSystemDebugControl(long ptr long ptr long ptr)
@ stdcall ZwTerminateJobObject(long long) @ stdcall ZwTerminateJobObject(ptr long)
@ stdcall ZwTerminateProcess(long long) @ stdcall ZwTerminateProcess(ptr long)
@ stdcall ZwTerminateThread(long long) @ stdcall ZwTerminateThread(ptr long)
@ stdcall ZwTestAlert() @ stdcall ZwTestAlert()
@ stub -version=0x600+ ZwThawRegistry @ stub -version=0x600+ ZwThawRegistry
@ stub -version=0x600+ ZwThawTransactions @ stub -version=0x600+ ZwThawTransactions

View file

@ -1109,9 +1109,9 @@
@ stdcall SwitchToThread() @ stdcall SwitchToThread()
@ stdcall SystemTimeToFileTime(ptr ptr) @ stdcall SystemTimeToFileTime(ptr ptr)
@ stdcall SystemTimeToTzSpecificLocalTime (ptr ptr ptr) @ stdcall SystemTimeToTzSpecificLocalTime (ptr ptr ptr)
@ stdcall TerminateJobObject(long long) @ stdcall TerminateJobObject(ptr long)
@ stdcall TerminateProcess(long long) @ stdcall TerminateProcess(ptr long)
@ stdcall TerminateThread(long long) @ stdcall TerminateThread(ptr long)
@ stdcall TermsrvAppInstallMode() @ stdcall TermsrvAppInstallMode()
@ stdcall Thread32First(long ptr) @ stdcall Thread32First(long ptr)
@ stdcall Thread32Next(long ptr) @ stdcall Thread32Next(long ptr)

View file

@ -38,7 +38,7 @@
@ stdcall WTSStartRemoteControlSessionA(ptr long long long) @ stdcall WTSStartRemoteControlSessionA(ptr long long long)
@ stdcall WTSStartRemoteControlSessionW(ptr long long long) @ stdcall WTSStartRemoteControlSessionW(ptr long long long)
@ stdcall WTSStopRemoteControlSession(long) @ stdcall WTSStopRemoteControlSession(long)
@ stdcall WTSTerminateProcess(long long long) @ stdcall WTSTerminateProcess(ptr long long)
@ stdcall WTSUnRegisterSessionNotification(long) @ stdcall WTSUnRegisterSessionNotification(long)
@ stdcall WTSUnRegisterSessionNotificationEx(long long) @ stdcall WTSUnRegisterSessionNotificationEx(long long)
@ stdcall WTSVirtualChannelClose(long) @ stdcall WTSVirtualChannelClose(long)

View file

@ -868,9 +868,9 @@
@ stdcall NtOpenThreadTokenEx(ptr long long long ptr) @ stdcall NtOpenThreadTokenEx(ptr long long long ptr)
@ stdcall NtQueryDirectoryFile(ptr ptr ptr ptr ptr ptr long long long ptr long) @ stdcall NtQueryDirectoryFile(ptr ptr ptr ptr ptr ptr long long long ptr long)
@ stdcall NtQueryEaFile(ptr ptr ptr long long ptr long ptr long) @ stdcall NtQueryEaFile(ptr ptr ptr long long ptr long ptr long)
@ stdcall NtQueryInformationAtom(ptr long ptr long ptr) @ stdcall NtQueryInformationAtom(long long ptr long ptr)
@ stdcall NtQueryInformationFile(ptr ptr ptr long long) @ stdcall NtQueryInformationFile(ptr ptr ptr long long)
@ stdcall NtQueryInformationProcess(ptr ptr ptr long ptr) @ stdcall NtQueryInformationProcess(ptr long ptr long ptr)
@ stdcall NtQueryInformationThread(ptr long ptr long ptr) @ stdcall NtQueryInformationThread(ptr long ptr long ptr)
@ stdcall NtQueryInformationToken(ptr long ptr long ptr) @ stdcall NtQueryInformationToken(ptr long ptr long ptr)
@ stdcall NtQueryQuotaInformationFile(ptr ptr ptr long long ptr long ptr long) @ stdcall NtQueryQuotaInformationFile(ptr ptr ptr long long ptr long ptr long)
@ -883,7 +883,7 @@
@ stdcall NtSetEaFile(ptr ptr ptr long) @ stdcall NtSetEaFile(ptr ptr ptr long)
@ stdcall NtSetEvent(ptr ptr) @ stdcall NtSetEvent(ptr ptr)
@ stdcall NtSetInformationFile(ptr ptr ptr long long) @ stdcall NtSetInformationFile(ptr ptr ptr long long)
@ stdcall NtSetInformationProcess(ptr ptr ptr long) @ stdcall NtSetInformationProcess(ptr long ptr long)
@ stdcall NtSetInformationThread(ptr long ptr long) @ stdcall NtSetInformationThread(ptr long ptr long)
@ stdcall NtSetQuotaInformationFile(ptr ptr ptr long) @ stdcall NtSetQuotaInformationFile(ptr ptr ptr long)
@ stdcall NtSetSecurityObject(ptr long ptr) @ stdcall NtSetSecurityObject(ptr long ptr)
@ -1249,7 +1249,7 @@
@ fastcall RtlPrefetchMemoryNonTemporal(ptr long) @ fastcall RtlPrefetchMemoryNonTemporal(ptr long)
@ stdcall RtlPrefixString(ptr ptr long) @ stdcall RtlPrefixString(ptr ptr long)
@ stdcall RtlPrefixUnicodeString(ptr ptr long) @ stdcall RtlPrefixUnicodeString(ptr ptr long)
@ stdcall RtlQueryAtomInAtomTable(ptr ptr ptr ptr ptr ptr) @ stdcall RtlQueryAtomInAtomTable(ptr long ptr ptr ptr ptr)
@ stdcall RtlQueryRegistryValues(long wstr ptr ptr ptr) @ stdcall RtlQueryRegistryValues(long wstr ptr ptr ptr)
@ stdcall RtlQueryTimeZoneInformation(ptr) @ stdcall RtlQueryTimeZoneInformation(ptr)
@ stdcall RtlRaiseException(ptr) @ stdcall RtlRaiseException(ptr)