added stubs for Wow64DisableWow64FsRedirection, Wow64RevertWow64FsRedirection
[reactos.git] / reactos / lib / kernel32 / kernel32.def
index bfaf164..fff1240 100644 (file)
@@ -38,7 +38,7 @@ AddConsoleAliasW@12
 ;AddLocalAlternateComputerNameA
 ;AddLocalAlternateComputerNameW
 AddRefActCtx@4
-AddVectoredExceptionHandler@8
+AddVectoredExceptionHandler@8=NTDLL.RtlAddVectoredExceptionHandler
 AllocateUserPhysicalPages@12
 AllocConsole@0
 AreFileApisANSI@0
@@ -55,7 +55,8 @@ BaseDumpAppcompatCache@0
 BaseFlushAppcompatCache@0
 ;BaseInitAppcompatCache
 ;BaseInitAppcompatCacheSupport
-;BaseProcessInitPostImport
+BaseProcessInitPostImport@0
+BaseQueryModuleData@20
 BaseUpdateAppcompatCache@12
 Beep@8
 BeginUpdateResourceA@8
@@ -128,13 +129,15 @@ CreateNamedPipeW@32
 CreateNlsSecurityDescriptor@12
 CreatePipe@16
 CreateProcessA@40
-;CreateProcessInternalA
-;CreateProcessInternalW
+CreateProcessInternalA@48
+CreateProcessInternalW@48
 CreateProcessW@40
 CreateRemoteThread@28
 CreateSemaphoreA@16
 CreateSemaphoreW@16
 CreateSocketHandle@0
+CreateSymbolicLinkA@12
+CreateSymbolicLinkW@12
 CreateTapePartition@16
 CreateThread@24
 CreateTimerQueue@0
@@ -146,14 +149,15 @@ CreateWaitableTimerW@12
 DeactivateActCtx@8
 DebugActiveProcess@4
 DebugActiveProcessStop@4
-DebugBreak@0
+DebugBreak@0=NTDLL.DbgBreakPoint
 DebugBreakProcess@4
 DebugSetProcessKillOnExit@4
+DecodePointer@4=NTDLL.RtlDecodePointer
 DefineDosDeviceA@12
 DefineDosDeviceW@12
 DelayLoadFailureHook@8
 DeleteAtom@4
-DeleteCriticalSection@4
+DeleteCriticalSection@4=NTDLL.RtlDeleteCriticalSection
 DeleteFiber@4
 DeleteFileA@4
 DeleteFileW@4
@@ -168,13 +172,14 @@ DisconnectNamedPipe@4
 DnsHostnameToComputerNameA@12
 DnsHostnameToComputerNameW@12
 DosDateTimeToFileTime@12
-;DosPathToSessionPathA
-;DosPathToSessionPathW
+DosPathToSessionPathA@12
+DosPathToSessionPathW@12
 DuplicateConsoleHandle@16
 DuplicateHandle@28
+EncodePointer@4=NTDLL.RtlEncodePointer
 EndUpdateResourceA@8
 EndUpdateResourceW@8
-EnterCriticalSection@4
+EnterCriticalSection@4=NTDLL.RtlEnterCriticalSection
 EnumCalendarInfoA@16
 EnumCalendarInfoExA@16
 EnumCalendarInfoExW@16
@@ -275,12 +280,14 @@ FreeUserPhysicalPages@12
 FreeVirtualBuffer@4
 GenerateConsoleCtrlEvent@8
 GetACP@0
+GetApplicationRecoveryCallback@12
+GetApplicationRestart@16
 GetAtomNameA@12
 GetAtomNameW@12
-GetBinaryType@8
+GetBinaryType@8=GetBinaryTypeA@8
 GetBinaryTypeA@8
 GetBinaryTypeW@8
-;GetCPFileNameFromRegistry
+GetCPFileNameFromRegistry@12
 GetCPInfo@8
 GetCPInfoExA@12
 GetCPInfoExW@12
@@ -361,6 +368,7 @@ GetDllDirectoryA@8
 GetDllDirectoryW@8
 GetDriveTypeA@4
 GetDriveTypeW@4
+GetEnvironmentStrings=GetEnvironmentStringsA@0
 GetEnvironmentStringsA@0
 GetEnvironmentStringsW@0
 GetEnvironmentVariableA@12
@@ -371,6 +379,7 @@ GetExpandedNameA@8
 GetExpandedNameW@8
 GetFileAttributesA@4
 GetFileAttributesW@4
+GetFileAttributesByHandle@12
 GetFileAttributesExA@12
 GetFileAttributesExW@12
 GetFileInformationByHandle@8
@@ -409,7 +418,7 @@ GetNamedPipeHandleStateW@28
 GetNamedPipeInfo@20
 GetNativeSystemInfo@4
 GetNextVDMCommand@4
-;GetNlsSectionName
+GetNlsSectionName@24
 GetNumaHighestNodeNumber@4
 GetNumaNodeProcessorMask@8
 ;GetNumaProcessorMap
@@ -438,6 +447,7 @@ GetProcessHandleCount@8
 GetProcessHeap@0
 GetProcessHeaps@8
 GetProcessId@4
+GetProcessIdOfThread@4
 GetProcessIoCounters@8
 GetProcessPriorityBoost@8
 GetProcessShutdownParameters@8
@@ -476,8 +486,6 @@ GetSystemWow64DirectoryA@8
 GetSystemWow64DirectoryW@8
 GetSystemWindowsDirectoryA@8
 GetSystemWindowsDirectoryW@8
-GetWindowsDirectoryA@8
-GetWindowsDirectoryW@8
 GetTapeParameters@16
 GetTapePosition@20
 GetTapeStatus@4
@@ -486,6 +494,7 @@ GetTempFileNameW@16
 GetTempPathA@8
 GetTempPathW@8
 GetThreadContext@8
+GetThreadId@4
 GetThreadIOPendingFlag@8
 GetThreadLocale@0
 GetThreadPriority@4
@@ -541,19 +550,19 @@ Heap32First@12
 Heap32ListFirst@8
 Heap32ListNext@8
 Heap32Next@4
-HeapAlloc@12
+HeapAlloc@12=NTDLL.RtlAllocateHeap
 HeapCompact@8
 HeapCreate@12
 HeapCreateTagsW@16
 HeapDestroy@4
 HeapExtend@16
-HeapFree@12
+HeapFree@12=NTDLL.RtlFreeHeap
 HeapLock@4
 HeapQueryInformation@20
 HeapQueryTagW@20
-HeapReAlloc@16
+HeapReAlloc@16=NTDLL.RtlReAllocateHeap
 HeapSetInformation@16
-HeapSize@12
+HeapSize@12=NTDLL.RtlSizeHeap
 HeapSummary@12
 HeapUnlock@4
 HeapUsage@20
@@ -562,15 +571,15 @@ HeapWalk@8
 InitAtomTable@4
 InitializeCriticalSection@4
 InitializeCriticalSectionAndSpinCount@8
-InitializeSListHead@4
+InitializeSListHead@4=NTDLL.RtlInitializeSListHead
 InterlockedCompareExchange@12
 InterlockedDecrement@4
 InterlockedExchange@8
 InterlockedExchangeAdd@8
-InterlockedFlushSList@4
+InterlockedFlushSList@4=NTDLL.RtlInterlockedFlushSList
 InterlockedIncrement@4
-InterlockedPopEntrySList@4
-InterlockedPushEntrySList@8
+InterlockedPopEntrySList@4=NTDLL.RtlInterlockedPopEntrySList
+InterlockedPushEntrySList@8=NTDLL.RtlInterlockedPushEntrySList
 InvalidateConsoleDIBits@8
 IsBadCodePtr@4
 IsBadHugeReadPtr@8
@@ -585,6 +594,7 @@ IsDebuggerPresent@0
 IsProcessInJob@12
 IsProcessorFeaturePresent@4
 IsSystemResumeAutomatic@0
+IsThreadAFiber@0
 IsValidCodePage@4
 IsValidLanguageGroup@8
 IsValidLocale@8
@@ -592,7 +602,7 @@ IsValidUILanguage@4
 IsWow64Process@8
 LCMapStringA@24
 LCMapStringW@24
-LeaveCriticalSection@4
+LeaveCriticalSection@4=NTDLL.RtlLeaveCriticalSection
 LoadLibraryA@4
 LoadLibraryExA@12
 LoadLibraryExW@12
@@ -640,8 +650,10 @@ MoveFileW@8
 MoveFileWithProgressW@20
 MulDiv@12
 MultiByteToWideChar@24
+NeedCurrentDirectoryForExePathA@4
+NeedCurrentDirectoryForExePathW@4
 NlsConvertIntegerToString@20
-;NlsGetCacheUpdateCount
+NlsGetCacheUpdateCount@0
 ;NlsResetProcessLocale
 ;NumaVirtualQueryNode
 OpenConsoleW@16
@@ -656,7 +668,7 @@ OpenJobObjectW@12
 OpenMutexA@12
 OpenMutexW@12
 OpenProcess@12
-OpenProfileUserMapping@0
+;OpenProfileUserMapping@0
 OpenSemaphoreA@12
 OpenSemaphoreW@12
 OpenThread@12
@@ -667,7 +679,7 @@ OutputDebugStringW@4
 PeekConsoleInputA@16
 PeekConsoleInputW@16
 PeekNamedPipe@24
-;PrivCopyFileExW
+PrivCopyFileExW@24
 ;PrivMoveFileIdentityW
 PostQueuedCompletionStatus@16
 PrepareTape@12
@@ -679,7 +691,7 @@ Process32NextW@8
 PulseEvent@4
 PurgeComm@8
 QueryActCtxW@28
-QueryDepthSList@4
+QueryDepthSList@4=NTDLL.RtlQueryDepthSList
 QueryDosDeviceA@12
 QueryDosDeviceW@12
 QueryInformationJobObject@20
@@ -706,6 +718,10 @@ ReadFile@20
 ReadFileEx@20
 ReadFileScatter@20
 ReadProcessMemory@20
+RecoveryFinished@4
+RecoveryInProgress@4
+RegisterApplicationRecoveryCallback@8
+RegisterApplicationRestart@8
 ;RegisterConsoleIME
 ;RegisterConsoleOS2
 RegisterConsoleVDM@44
@@ -721,7 +737,8 @@ RemoveDirectoryA@4
 RemoveDirectoryW@4
 ;RemoveLocalAlternateComputerNameA
 ;RemoveLocalAlternateComputerNameW
-RemoveVectoredExceptionHandler@4
+RemoveVectoredExceptionHandler@4=NTDLL.RtlRemoveVectoredExceptionHandler
+ReplaceFile=ReplaceFileW@24
 ReplaceFileA@24
 ReplaceFileW@24
 RequestDeviceWakeup@4
@@ -730,12 +747,12 @@ ResetEvent@4
 ResetWriteWatch@8
 RestoreLastError@4
 ResumeThread@4
-RtlCaptureContext@4
+RtlCaptureContext@4=NTDLL.RtlCaptureContext
 ;RtlCaptureStackBackTrace
-RtlFillMemory@12
-RtlMoveMemory@12
-RtlUnwind@16
-RtlZeroMemory@8
+RtlFillMemory@12=NTDLL.RtlFillMemory
+RtlMoveMemory@12=NTDLL.RtlMoveMemory
+RtlUnwind@16=NTDLL.RtlUnwind
+RtlZeroMemory@8=NTDLL.RtlZeroMemory
 ScrollConsoleScreenBufferA@20
 ScrollConsoleScreenBufferW@20
 SearchPathA@24
@@ -765,6 +782,7 @@ SetConsoleCursorPosition@8
 SetConsoleDisplayMode@12
 SetConsoleFont@8
 SetConsoleHardwareState@12
+SetConsoleHistoryInfo@4
 SetConsoleIcon@4
 SetConsoleInputExeNameA@4
 SetConsoleInputExeNameW@4
@@ -779,12 +797,13 @@ SetConsoleNumberOfCommandsW@8
 ;SetConsoleOS2OemFormat
 SetConsoleOutputCP@4
 SetConsolePalette@12
+SetConsoleScreenBufferInfoEx@8
 SetConsoleScreenBufferSize@8
 SetConsoleTextAttribute@8
 SetConsoleTitleA@4
 SetConsoleTitleW@4
 SetConsoleWindowInfo@12
-SetCriticalSectionSpinCount@8
+SetCriticalSectionSpinCount@8=NTDLL.RtlSetCriticalSectionSpinCount
 SetCurrentDirectoryA@4
 SetCurrentDirectoryW@4
 SetDefaultCommConfigA@12
@@ -800,6 +819,7 @@ SetFileApisToANSI@0
 SetFileApisToOEM@0
 SetFileAttributesA@8
 SetFileAttributesW@8
+SetFileAttributesByHandle@12
 SetFilePointer@16
 SetFilePointerEx@20
 SetFileShortNameA@8
@@ -841,7 +861,7 @@ SetThreadIdealProcessor@8
 SetThreadLocale@4
 SetThreadPriority@8
 SetThreadPriorityBoost@8
-;SetThreadUILanguage
+SetThreadUILanguage@4
 SetTimerQueueTimer@24
 SetTimeZoneInformation@4
 SetUnhandledExceptionFilter@4
@@ -877,7 +897,7 @@ Toolhelp32ReadProcessMemory@20
 TransactNamedPipe@28
 TransmitCommChar@8
 TrimVirtualBuffer@4
-TryEnterCriticalSection@4
+TryEnterCriticalSection@4=NTDLL.RtlTryEnterCriticalSection
 TzSpecificLocalTimeToSystemTime@12
 UnhandledExceptionFilter@4
 UnlockFile@20
@@ -896,7 +916,7 @@ VDMConsoleOperation@8
 VDMOperationStarted@4
 VerLanguageNameA@12
 VerLanguageNameW@12
-VerSetConditionMask@16
+VerSetConditionMask@16=NTDLL.VerSetConditionMask
 VerifyConsoleIoHandle@4
 VerifyVersionInfoA@16
 VerifyVersionInfoW@16
@@ -921,6 +941,8 @@ WaitNamedPipeA@8
 WaitNamedPipeW@8
 WideCharToMultiByte@32
 WinExec@8
+Wow64DisableWow64FsRedirection@4
+Wow64RevertWow64FsRedirection@4
 WriteConsoleA@20
 WriteConsoleInputA@16
 WriteConsoleInputVDMA@16
@@ -955,23 +977,23 @@ _lclose@4
 _lcreat@8
 _llseek@12
 _lopen@8
-_lread@12
-_lwrite@12
-lstrcat@8
+_lread@12=_hread@12
+_lwrite@12=_hwrite@12
+lstrcat@8=lstrcatA@8
 lstrcatA@8
 lstrcatW@8
-lstrcmp@8
+lstrcmp@8=lstrcmpA@8
 lstrcmpA@8
 lstrcmpW@8
-lstrcmpi@8
+lstrcmpi@8=lstrcmpiA@8
 lstrcmpiA@8
 lstrcmpiW@8
-lstrcpy@8
+lstrcpy@8=lstrcpyA@8
 lstrcpyA@8
 lstrcpyW@8
-lstrcpyn@12
+lstrcpyn@12=lstrcpynA@12
 lstrcpynA@12
 lstrcpynW@12
-lstrlen@4
+lstrlen@4=lstrlenA@4
 lstrlenA@4
 lstrlenW@4