add stubs for CreateSymbolicLinkA/W
[reactos.git] / reactos / lib / kernel32 / kernel32.def
index d0105d6..7d64ca0 100644 (file)
@@ -38,7 +38,7 @@ AddConsoleAliasW@12
 ;AddLocalAlternateComputerNameA
 ;AddLocalAlternateComputerNameW
 AddRefActCtx@4
-AddVectoredExceptionHandler@8
+AddVectoredExceptionHandler@8=NTDLL.RtlAddVectoredExceptionHandler
 AllocateUserPhysicalPages@12
 AllocConsole@0
 AreFileApisANSI@0
@@ -48,15 +48,15 @@ BackupRead@28
 BackupSeek@24
 BackupWrite@28
 BaseAttachCompleteThunk@0
-;BaseCheckAppcompatCache
+BaseCheckAppcompatCache@16
 ;BaseCleanupAppcompatCache
 ;BaseCleanupAppcompatCacheSupport
-;BaseDumpAppcompatCache
-;BaseFlushAppcompatCache
+BaseDumpAppcompatCache@0
+BaseFlushAppcompatCache@0
 ;BaseInitAppcompatCache
 ;BaseInitAppcompatCacheSupport
 ;BaseProcessInitPostImport
-;BaseUpdateAppcompatCache
+BaseUpdateAppcompatCache@12
 Beep@8
 BeginUpdateResourceA@8
 BeginUpdateResourceW@8
@@ -135,6 +135,8 @@ CreateRemoteThread@28
 CreateSemaphoreA@16
 CreateSemaphoreW@16
 CreateSocketHandle@0
+CreateSymbolicLinkA@12
+CreateSymbolicLinkW@12
 CreateTapePartition@16
 CreateThread@24
 CreateTimerQueue@0
@@ -146,14 +148,14 @@ CreateWaitableTimerW@12
 DeactivateActCtx@8
 DebugActiveProcess@4
 DebugActiveProcessStop@4
-DebugBreak@0
+DebugBreak@0=NTDLL.DbgBreakPoint
 DebugBreakProcess@4
 DebugSetProcessKillOnExit@4
 DefineDosDeviceA@12
 DefineDosDeviceW@12
 DelayLoadFailureHook@8
 DeleteAtom@4
-DeleteCriticalSection@4
+DeleteCriticalSection@4=NTDLL.RtlDeleteCriticalSection
 DeleteFiber@4
 DeleteFileA@4
 DeleteFileW@4
@@ -168,17 +170,17 @@ DisconnectNamedPipe@4
 DnsHostnameToComputerNameA@12
 DnsHostnameToComputerNameW@12
 DosDateTimeToFileTime@12
-;DosPathToSessionPathA
-;DosPathToSessionPathW
+DosPathToSessionPathA@12
+DosPathToSessionPathW@12
 DuplicateConsoleHandle@16
 DuplicateHandle@28
 EndUpdateResourceA@8
 EndUpdateResourceW@8
-EnterCriticalSection@4
+EnterCriticalSection@4=NTDLL.RtlEnterCriticalSection
 EnumCalendarInfoA@16
 EnumCalendarInfoExA@16
 EnumCalendarInfoExW@16
-EnumCalendarInfoW@16
+;EnumCalendarInfoW@16
 EnumDateFormatsA@12
 EnumDateFormatsExA@12
 EnumDateFormatsExW@12
@@ -253,10 +255,10 @@ FindResourceExW@16
 FindResourceW@12
 FindVolumeClose@4
 FindVolumeMountPointClose@4
-FlsAlloc@4 ;new for 2003
-FlsFree@4 ;new for 2003
-FlsGetValue@4 ;new for 2003
-FlsSetValue@8 ;new for 2003
+;FlsAlloc@4 ;new for 2003
+;FlsFree@4 ;new for 2003
+;FlsGetValue@4 ;new for 2003
+;FlsSetValue@8 ;new for 2003
 FlushConsoleInputBuffer@4
 FlushFileBuffers@4
 FlushInstructionCache@12
@@ -277,10 +279,10 @@ GenerateConsoleCtrlEvent@8
 GetACP@0
 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 +363,7 @@ GetDllDirectoryA@8
 GetDllDirectoryW@8
 GetDriveTypeA@4
 GetDriveTypeW@4
+GetEnvironmentStrings=GetEnvironmentStringsA@0
 GetEnvironmentStringsA@0
 GetEnvironmentStringsW@0
 GetEnvironmentVariableA@12
@@ -371,6 +374,7 @@ GetExpandedNameA@8
 GetExpandedNameW@8
 GetFileAttributesA@4
 GetFileAttributesW@4
+GetFileAttributesByHandle@12
 GetFileAttributesExA@12
 GetFileAttributesExW@12
 GetFileInformationByHandle@8
@@ -409,7 +413,7 @@ GetNamedPipeHandleStateW@28
 GetNamedPipeInfo@20
 GetNativeSystemInfo@4
 GetNextVDMCommand@4
-;GetNlsSectionName
+GetNlsSectionName@24
 GetNumaHighestNodeNumber@4
 GetNumaNodeProcessorMask@8
 ;GetNumaProcessorMap
@@ -438,6 +442,7 @@ GetProcessHandleCount@8
 GetProcessHeap@0
 GetProcessHeaps@8
 GetProcessId@4
+GetProcessIdOfThread@4
 GetProcessIoCounters@8
 GetProcessPriorityBoost@8
 GetProcessShutdownParameters@8
@@ -474,8 +479,8 @@ GetSystemTimeAsFileTime@4
 GetSystemTimes@12
 GetSystemWow64DirectoryA@8
 GetSystemWow64DirectoryW@8
-GetWindowsDirectoryA@8
-GetWindowsDirectoryW@8
+GetSystemWindowsDirectoryA@8
+GetSystemWindowsDirectoryW@8
 GetTapeParameters@16
 GetTapePosition@20
 GetTapeStatus@4
@@ -484,6 +489,7 @@ GetTempFileNameW@16
 GetTempPathA@8
 GetTempPathW@8
 GetThreadContext@8
+GetThreadId@4
 GetThreadIOPendingFlag@8
 GetThreadLocale@0
 GetThreadPriority@4
@@ -539,19 +545,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
@@ -560,15 +566,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
@@ -583,6 +589,7 @@ IsDebuggerPresent@0
 IsProcessInJob@12
 IsProcessorFeaturePresent@4
 IsSystemResumeAutomatic@0
+IsThreadAFiber@0
 IsValidCodePage@4
 IsValidLanguageGroup@8
 IsValidLocale@8
@@ -590,7 +597,7 @@ IsValidUILanguage@4
 IsWow64Process@8
 LCMapStringA@24
 LCMapStringW@24
-LeaveCriticalSection@4
+LeaveCriticalSection@4=NTDLL.RtlLeaveCriticalSection
 LoadLibraryA@4
 LoadLibraryExA@12
 LoadLibraryExW@12
@@ -638,6 +645,8 @@ MoveFileW@8
 MoveFileWithProgressW@20
 MulDiv@12
 MultiByteToWideChar@24
+NeedCurrentDirectoryForExePathA@4
+NeedCurrentDirectoryForExePathW@4
 NlsConvertIntegerToString@20
 ;NlsGetCacheUpdateCount
 ;NlsResetProcessLocale
@@ -654,7 +663,7 @@ OpenJobObjectW@12
 OpenMutexA@12
 OpenMutexW@12
 OpenProcess@12
-OpenProfileUserMapping@0
+;OpenProfileUserMapping@0
 OpenSemaphoreA@12
 OpenSemaphoreW@12
 OpenThread@12
@@ -677,7 +686,7 @@ Process32NextW@8
 PulseEvent@4
 PurgeComm@8
 QueryActCtxW@28
-QueryDepthSList@4
+QueryDepthSList@4=NTDLL.RtlQueryDepthSList
 QueryDosDeviceA@12
 QueryDosDeviceW@12
 QueryInformationJobObject@20
@@ -686,7 +695,7 @@ QueryPerformanceCounter@4
 QueryPerformanceFrequency@4
 QueueUserAPC@12
 QueueUserWorkItem@12
-QueryWin31IniFilesMappedToRegistry@16
+;QueryWin31IniFilesMappedToRegistry@16
 RaiseException@16
 ReadConsoleA@20
 ReadConsoleInputA@16
@@ -719,7 +728,8 @@ RemoveDirectoryA@4
 RemoveDirectoryW@4
 ;RemoveLocalAlternateComputerNameA
 ;RemoveLocalAlternateComputerNameW
-RemoveVectoredExceptionHandler@4
+RemoveVectoredExceptionHandler@4=NTDLL.RtlRemoveVectoredExceptionHandler
+ReplaceFile=ReplaceFileW@24
 ReplaceFileA@24
 ReplaceFileW@24
 RequestDeviceWakeup@4
@@ -728,12 +738,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
@@ -782,7 +792,7 @@ SetConsoleTextAttribute@8
 SetConsoleTitleA@4
 SetConsoleTitleW@4
 SetConsoleWindowInfo@12
-SetCriticalSectionSpinCount@8
+SetCriticalSectionSpinCount@8=NTDLL.RtlSetCriticalSectionSpinCount
 SetCurrentDirectoryA@4
 SetCurrentDirectoryW@4
 SetDefaultCommConfigA@12
@@ -798,6 +808,7 @@ SetFileApisToANSI@0
 SetFileApisToOEM@0
 SetFileAttributesA@8
 SetFileAttributesW@8
+SetFileAttributesByHandle@12
 SetFilePointer@16
 SetFilePointerEx@20
 SetFileShortNameA@8
@@ -839,7 +850,7 @@ SetThreadIdealProcessor@8
 SetThreadLocale@4
 SetThreadPriority@8
 SetThreadPriorityBoost@8
-;SetThreadUILanguage
+SetThreadUILanguage@4
 SetTimerQueueTimer@24
 SetTimeZoneInformation@4
 SetUnhandledExceptionFilter@4
@@ -875,7 +886,7 @@ Toolhelp32ReadProcessMemory@20
 TransactNamedPipe@28
 TransmitCommChar@8
 TrimVirtualBuffer@4
-TryEnterCriticalSection@4
+TryEnterCriticalSection@4=NTDLL.RtlTryEnterCriticalSection
 TzSpecificLocalTimeToSystemTime@12
 UnhandledExceptionFilter@4
 UnlockFile@20
@@ -894,7 +905,7 @@ VDMConsoleOperation@8
 VDMOperationStarted@4
 VerLanguageNameA@12
 VerLanguageNameW@12
-VerSetConditionMask@16
+VerSetConditionMask@16=NTDLL.VerSetConditionMask
 VerifyConsoleIoHandle@4
 VerifyVersionInfoA@16
 VerifyVersionInfoW@16
@@ -953,23 +964,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