mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 09:50:02 +00:00
- Return ERROR_NOT_SUPPORTED error code instead ERROR_CALL_NOT_IMPLEMENTED (in BackupRead, BackupSeek, BackupWrite)
- Direct call for Set(Get)LastError - Add RemoveVectoredContinueHandler, InterlockedCompareExchange64, GetCurrentProcessorNumber, BaseCheckRunApp, AddVectoredContinueHandler to export list svn path=/trunk/; revision=41865
This commit is contained in:
parent
f1ab67f6ce
commit
4fa43e4494
3 changed files with 12 additions and 29 deletions
|
@ -33,7 +33,7 @@ BackupRead (
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
SetLastError(ERROR_NOT_SUPPORTED);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@ BackupSeek (
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
SetLastError(ERROR_NOT_SUPPORTED);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -74,7 +74,7 @@ BackupWrite (
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
SetLastError(ERROR_NOT_SUPPORTED);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,9 +8,10 @@
|
||||||
@ stdcall AddLocalAlternateComputerNameA(str ptr)
|
@ stdcall AddLocalAlternateComputerNameA(str ptr)
|
||||||
@ stdcall AddLocalAlternateComputerNameW(wstr ptr)
|
@ stdcall AddLocalAlternateComputerNameW(wstr ptr)
|
||||||
;@ stdcall AddRefActCtx(ptr)
|
;@ stdcall AddRefActCtx(ptr)
|
||||||
|
@ stdcall AddVectoredContinueHandler(long ptr) ntdll.RtlAddVectoredContinueHandler
|
||||||
@ stdcall AddVectoredExceptionHandler(long ptr) ntdll.RtlAddVectoredExceptionHandler
|
@ stdcall AddVectoredExceptionHandler(long ptr) ntdll.RtlAddVectoredExceptionHandler
|
||||||
@ stdcall AllocConsole()
|
@ stdcall AllocConsole()
|
||||||
@ stub AllocLSCallback ; missing in XP SP3
|
@ stub AllocLSCallback ; missing in XP SP3 and 2003 R2
|
||||||
@ stdcall AllocateUserPhysicalPages(long ptr ptr)
|
@ stdcall AllocateUserPhysicalPages(long ptr ptr)
|
||||||
@ stdcall AreFileApisANSI()
|
@ stdcall AreFileApisANSI()
|
||||||
@ stdcall AssignProcessToJobObject(ptr ptr)
|
@ stdcall AssignProcessToJobObject(ptr ptr)
|
||||||
|
@ -19,6 +20,7 @@
|
||||||
@ stdcall BackupSeek(ptr long long ptr ptr ptr)
|
@ stdcall BackupSeek(ptr long long ptr ptr ptr)
|
||||||
@ stdcall BackupWrite(ptr ptr long ptr long long ptr)
|
@ stdcall BackupWrite(ptr ptr long ptr long long ptr)
|
||||||
@ stdcall BaseCheckAppcompatCache(long long long ptr) ;check
|
@ stdcall BaseCheckAppcompatCache(long long long ptr) ;check
|
||||||
|
@ stub BaseCheckRunApp
|
||||||
@ stdcall BaseCleanupAppcompatCache()
|
@ stdcall BaseCleanupAppcompatCache()
|
||||||
@ stdcall BaseCleanupAppcompatCacheSupport(ptr)
|
@ stdcall BaseCleanupAppcompatCacheSupport(ptr)
|
||||||
@ stdcall BaseDumpAppcompatCache()
|
@ stdcall BaseDumpAppcompatCache()
|
||||||
|
@ -336,6 +338,7 @@
|
||||||
@ stdcall GetCurrentDirectoryW(long ptr)
|
@ stdcall GetCurrentDirectoryW(long ptr)
|
||||||
@ stdcall GetCurrentProcess()
|
@ stdcall GetCurrentProcess()
|
||||||
@ stdcall GetCurrentProcessId()
|
@ stdcall GetCurrentProcessId()
|
||||||
|
@ stdcall GetCurrentProcessorNumber() ntdll.RtlGetCurrentProcessorNumber
|
||||||
@ stdcall GetCurrentThread()
|
@ stdcall GetCurrentThread()
|
||||||
@ stdcall GetCurrentThreadId()
|
@ stdcall GetCurrentThreadId()
|
||||||
@ stdcall GetDateFormatA(long long ptr str ptr long)
|
@ stdcall GetDateFormatA(long long ptr str ptr long)
|
||||||
|
@ -388,7 +391,7 @@
|
||||||
@ stub GetSCallbackTemplate ; missing in XP SP3
|
@ stub GetSCallbackTemplate ; missing in XP SP3
|
||||||
@ stdcall GetLargePageMinimum()
|
@ stdcall GetLargePageMinimum()
|
||||||
@ stdcall GetLargestConsoleWindowSize(long)
|
@ stdcall GetLargestConsoleWindowSize(long)
|
||||||
@ stdcall GetLastError()
|
@ stdcall GetLastError() ntdll.RtlGetLastWin32Error
|
||||||
@ stdcall GetLinguistLangSize(ptr)
|
@ stdcall GetLinguistLangSize(ptr)
|
||||||
@ stdcall GetLocalTime(ptr)
|
@ stdcall GetLocalTime(ptr)
|
||||||
@ stdcall GetLocaleInfoA(long long ptr long)
|
@ stdcall GetLocaleInfoA(long long ptr long)
|
||||||
|
@ -574,6 +577,7 @@
|
||||||
@ stdcall InitializeSListHead(ptr) ntdll.RtlInitializeSListHead
|
@ stdcall InitializeSListHead(ptr) ntdll.RtlInitializeSListHead
|
||||||
@ stdcall InitializeSRWLock(ptr) ntdll.RtlInitializeSRWLock
|
@ stdcall InitializeSRWLock(ptr) ntdll.RtlInitializeSRWLock
|
||||||
@ stdcall InterlockedCompareExchange(ptr long long)
|
@ stdcall InterlockedCompareExchange(ptr long long)
|
||||||
|
@ stdcall InterlockedCompareExchange64(ptr double double) ntdll.RtlInterlockedCompareExchange64
|
||||||
@ stdcall InterlockedDecrement(ptr)
|
@ stdcall InterlockedDecrement(ptr)
|
||||||
@ stdcall InterlockedExchange(ptr long)
|
@ stdcall InterlockedExchange(ptr long)
|
||||||
@ stdcall InterlockedExchangeAdd (ptr long )
|
@ stdcall InterlockedExchangeAdd (ptr long )
|
||||||
|
@ -742,6 +746,7 @@
|
||||||
@ stdcall RemoveDirectoryW(wstr)
|
@ stdcall RemoveDirectoryW(wstr)
|
||||||
@ stdcall RemoveLocalAlternateComputerNameA(str long)
|
@ stdcall RemoveLocalAlternateComputerNameA(str long)
|
||||||
@ stdcall RemoveLocalAlternateComputerNameW(wstr long)
|
@ stdcall RemoveLocalAlternateComputerNameW(wstr long)
|
||||||
|
@ stdcall RemoveVectoredContinueHandler(ptr) ntdll.RtlRemoveVectoredContinueHandler
|
||||||
@ stdcall RemoveVectoredExceptionHandler(ptr) ntdll.RtlRemoveVectoredExceptionHandler
|
@ stdcall RemoveVectoredExceptionHandler(ptr) ntdll.RtlRemoveVectoredExceptionHandler
|
||||||
@ stdcall ReplaceFile(wstr wstr wstr long ptr ptr) ReplaceFileW
|
@ stdcall ReplaceFile(wstr wstr wstr long ptr ptr) ReplaceFileW
|
||||||
@ stdcall ReplaceFileA(str str str long ptr ptr)
|
@ stdcall ReplaceFileA(str str str long ptr ptr)
|
||||||
|
@ -838,7 +843,7 @@
|
||||||
@ stdcall SetHandleInformation(long long long)
|
@ stdcall SetHandleInformation(long long long)
|
||||||
@ stdcall SetInformationJobObject(long long ptr long)
|
@ stdcall SetInformationJobObject(long long ptr long)
|
||||||
@ stub SetLastConsoleEventActive ; missing in XP SP3
|
@ stub SetLastConsoleEventActive ; missing in XP SP3
|
||||||
@ stdcall SetLastError(long)
|
@ stdcall SetLastError(long) ntdll.RtlSetLastWin32Error
|
||||||
@ stub SetLocalPrimaryComputerNameA ; missing in XP SP3
|
@ stub SetLocalPrimaryComputerNameA ; missing in XP SP3
|
||||||
@ stub SetLocalPrimaryComputerNameW ; missing in XP SP3
|
@ stub SetLocalPrimaryComputerNameW ; missing in XP SP3
|
||||||
@ stdcall SetLocalTime(ptr)
|
@ stdcall SetLocalTime(ptr)
|
||||||
|
|
|
@ -17,28 +17,6 @@
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* @implemented
|
|
||||||
*/
|
|
||||||
VOID
|
|
||||||
WINAPI
|
|
||||||
SetLastError (DWORD dwErrorCode)
|
|
||||||
{
|
|
||||||
NtCurrentTeb ()->LastErrorValue = (ULONG) dwErrorCode;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* @implemented
|
|
||||||
*/
|
|
||||||
DWORD
|
|
||||||
WINAPI
|
|
||||||
GetLastError (VOID)
|
|
||||||
{
|
|
||||||
return (DWORD) (NtCurrentTeb ()->LastErrorValue);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue