4 ; Exports for KERNEL32 DLL
6 ; Copyright (C) 1996 Free Software Foundation, Inc.
8 ; Author: Scott Christley <scottc@net-community.com>
11 ; This file is part of the Windows32 API Library.
13 ; This library is free software; you can redistribute it and/or
14 ; modify it under the terms of the GNU Library General Public
15 ; License as published by the Free Software Foundation; either
16 ; version 2 of the License, or (at your option) any later version.
18 ; This library is distributed in the hope that it will be useful,
19 ; but WITHOUT ANY WARRANTY; without even the implied warranty of
20 ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 ; Library General Public License for more details.
23 ; If you are interested in a warranty or support for this source code,
24 ; contact Scott Christley <scottc@net-community.com> for more information.
26 ; You should have received a copy of the GNU Library General Public
27 ; License along with this library; see the file COPYING.LIB.
28 ; If not, write to the Free Software Foundation,
29 ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
33 AcquireSRWLockExclusive@4=NTDLL.RtlAcquireSRWLockExclusive
34 AcquireSRWLockShared@4=NTDLL.RtlAcquireSRWLockShared
40 ;AddLocalAlternateComputerNameA
41 ;AddLocalAlternateComputerNameW
43 AddVectoredExceptionHandler@8=NTDLL.RtlAddVectoredExceptionHandler
44 AllocateUserPhysicalPages@12
47 AssignProcessToJobObject@8
52 BaseAttachCompleteThunk@0
53 BaseCheckAppcompatCache@16
54 ;BaseCleanupAppcompatCache
55 ;BaseCleanupAppcompatCacheSupport
56 BaseDumpAppcompatCache@0
57 BaseFlushAppcompatCache@0
58 ;BaseInitAppcompatCache
59 ;BaseInitAppcompatCacheSupport
60 BaseProcessInitPostImport@0
61 BaseQueryModuleData@20
62 BaseUpdateAppcompatCache@12
64 BeginUpdateResourceA@8
65 BeginUpdateResourceW@8
66 BindIoCompletionCallback@12
68 BuildCommDCBAndTimeoutsA@12
69 BuildCommDCBAndTimeoutsW@12
73 CancelDeviceWakeupRequest@4
77 CancelTimerQueueTimer@8
79 ChangeTimerQueueTimer@16
80 CheckNameLegalDOS8Dot3A@20
81 CheckNameLegalDOS8Dot3W@20
82 CheckRemoteDebuggerPresent@8
87 CloseProfileUserMapping@0
97 ConvertDefaultLocale@4
98 ConvertFiberToThread@0
99 ConvertThreadToFiber@4
107 CreateConsoleScreenBuffer@20
109 CreateDirectoryExA@12
110 CreateDirectoryExW@12
119 CreateFileMappingA@24
120 CreateFileMappingW@24
124 CreateIoCompletionPort@16
130 CreateMemoryResourceNotification@4
137 CreateNlsSecurityDescriptor@12
140 CreateProcessInternalA@48
141 CreateProcessInternalW@48
143 CreateRemoteThread@28
146 CreateSemaphoreExA@24
147 CreateSemaphoreExW@24
149 CreateSymbolicLinkA@12
150 CreateSymbolicLinkW@12
151 CreateTapePartition@16
154 CreateTimerQueueTimer@28
155 CreateToolhelp32Snapshot@8
156 CreateVirtualBuffer@12
157 CreateWaitableTimerA@12
158 CreateWaitableTimerW@12
159 CreateWaitableTimerExA@16
160 CreateWaitableTimerExW@16
163 DebugActiveProcessStop@4
164 DebugBreak@0=NTDLL.DbgBreakPoint
166 DebugSetProcessKillOnExit@4
167 DecodePointer@4=NTDLL.RtlDecodePointer
170 DelayLoadFailureHook@8
172 DeleteCriticalSection@4=NTDLL.RtlDeleteCriticalSection
178 DeleteTimerQueueTimer@12
179 DeleteVolumeMountPointA@4
180 DeleteVolumeMountPointW@4
182 DisableThreadLibraryCalls@4
183 DisconnectNamedPipe@4
184 DnsHostnameToComputerNameA@12
185 DnsHostnameToComputerNameW@12
186 DosDateTimeToFileTime@12
187 DosPathToSessionPathA@12
188 DosPathToSessionPathW@12
189 DuplicateConsoleHandle@16
191 EncodePointer@4=NTDLL.RtlEncodePointer
194 EnterCriticalSection@4=NTDLL.RtlEnterCriticalSection
196 EnumCalendarInfoExA@16
197 EnumCalendarInfoExW@16
200 EnumDateFormatsExA@12
201 EnumDateFormatsExW@12
203 EnumLanguageGroupLocalesA@16
204 EnumLanguageGroupLocalesW@16
205 EnumResourceLanguagesA@20
206 EnumResourceLanguagesW@20
207 EnumResourceNamesA@16
208 EnumResourceNamesW@16
209 EnumResourceTypesA@12
210 EnumResourceTypesW@12
211 EnumSystemCodePagesA@8
212 EnumSystemCodePagesW@8
214 EnumSystemLanguageGroupsA@12
215 EnumSystemLanguageGroupsW@12
222 ;EnumerateLocalComputerNamesA
223 ;EnumerateLocalComputerNamesW
229 ExpandEnvironmentStringsA@12
230 ExpandEnvironmentStringsW@12
231 ExpungeConsoleCommandHistoryA@4
232 ExpungeConsoleCommandHistoryW@4
233 ExtendVirtualBuffer@8
237 FileTimeToDosDateTime@12
238 FileTimeToLocalFileTime@8
239 FileTimeToSystemTime@8
240 FillConsoleOutputAttribute@20
241 FillConsoleOutputCharacterA@20
242 FillConsoleOutputCharacterW@20
243 FindActCtxSectionGuid@20
244 FindActCtxSectionStringA@20
245 FindActCtxSectionStringW@20
249 FindCloseChangeNotification@4
250 FindFirstChangeNotificationA@12
251 FindFirstChangeNotificationW@12
257 FindNextChangeNotification@4
262 FindFirstVolumeMountPointA@12
263 FindFirstVolumeMountPointW@12
266 FindNextVolumeMountPointA@12
267 FindNextVolumeMountPointW@12
274 FindVolumeMountPointClose@4
275 ;FlsAlloc@4 ;new for 2003
276 ;FlsFree@4 ;new for 2003
277 ;FlsGetValue@4 ;new for 2003
278 ;FlsSetValue@8 ;new for 2003
279 FlushConsoleInputBuffer@4
281 FlushInstructionCache@12
288 FreeEnvironmentStringsA@4
289 FreeEnvironmentStringsW@4
291 FreeLibraryAndExitThread@8
293 FreeUserPhysicalPages@12
295 GenerateConsoleCtrlEvent@8
297 GetApplicationRecoveryCallback@20
298 GetApplicationRestart@16
301 GetBinaryType@8=GetBinaryTypeA@8
304 GetCPFileNameFromRegistry@12
318 ;GetComPlusPackageInstallStatus
319 GetCompressedFileSizeA@8
320 GetCompressedFileSizeW@8
322 GetComputerNameExA@12
323 GetComputerNameExW@12
326 GetConsoleAliasExesA@8
327 GetConsoleAliasExesLengthA@0
328 GetConsoleAliasExesLengthW@0
329 GetConsoleAliasExesW@8
331 GetConsoleAliasesA@12
332 GetConsoleAliasesLengthA@4
333 GetConsoleAliasesLengthW@4
334 GetConsoleAliasesW@12
337 GetConsoleCommandHistoryA@12
338 GetConsoleCommandHistoryLengthA@4
339 GetConsoleCommandHistoryLengthW@4
340 GetConsoleCommandHistoryW@12
341 GetConsoleCursorInfo@8
342 ;GetConsoleCursorMode
343 GetConsoleDisplayMode@4
344 GetConsoleFontInfo@16
346 GetConsoleHardwareState@12
347 GetConsoleInputExeNameA@8
348 GetConsoleInputExeNameW@8
349 GetConsoleInputWaitHandle@0
350 GetConsoleKeyboardLayoutNameA@4
351 GetConsoleKeyboardLayoutNameW@4
355 GetConsoleProcessList@8
356 GetConsoleScreenBufferInfo@8
357 GetConsoleSelectionInfo@4
361 GetCurrencyFormatA@24
362 GetCurrencyFormatW@24
364 GetCurrentConsoleFont@12
365 GetCurrentDirectoryA@8
366 GetCurrentDirectoryW@8
368 GetCurrentProcessId@0
373 GetDefaultCommConfigA@12
374 GetDefaultCommConfigW@12
375 ;GetDefaultSortkeySize
376 GetDevicePowerState@8
379 GetDiskFreeSpaceExA@16
380 GetDiskFreeSpaceExW@16
385 GetEnvironmentStrings@0
386 GetEnvironmentStringsA=GetEnvironmentStrings@0
387 GetEnvironmentStringsW@0
388 GetEnvironmentVariableA@12
389 GetEnvironmentVariableW@12
396 GetFileAttributesByHandle@12
397 GetFileAttributesExA@12
398 GetFileAttributesExW@12
399 GetFileBandwidthReservation@24
400 GetFileInformationByHandle@8
405 GetFinalPathNameByHandleA@16
406 GetFinalPathNameByHandleW@16
407 GetFirmwareEnvironmentVariableA@16
408 GetFirmwareEnvironmentVariableW@16
414 GetHandleInformation@8
415 GetLargestConsoleWindowSize@4
421 GetLogicalDriveStringsA@8
422 GetLogicalDriveStringsW@8
427 GetModuleFileNameA@12
428 GetModuleFileNameW@12
430 GetModuleHandleExA@12
431 GetModuleHandleExW@12
433 GetNamedPipeHandleStateA@28
434 GetNamedPipeHandleStateW@28
436 GetNativeSystemInfo@4
439 GetNumaHighestNodeNumber@4
440 GetNumaNodeProcessorMask@8
442 GetNumaProcessorNode@8
445 GetNumberOfConsoleFonts@0
446 GetNumberOfConsoleInputEvents@8
447 GetNumberOfConsoleMouseButtons@4
449 GetOverlappedResult@16
451 GetPrivateProfileIntA@16
452 GetPrivateProfileIntW@16
453 GetPrivateProfileSectionA@16
454 GetPrivateProfileSectionNamesA@12
455 GetPrivateProfileSectionNamesW@12
456 GetPrivateProfileSectionW@16
457 GetPrivateProfileStringA@24
458 GetPrivateProfileStringW@24
459 GetPrivateProfileStructA@20
460 GetPrivateProfileStructW@20
462 GetProcessAffinityMask@12
463 GetProcessHandleCount@8
467 GetProcessIdOfThread@4
468 GetProcessIoCounters@8
469 GetProcessPriorityBoost@8
470 GetProcessShutdownParameters@8
473 GetProcessWorkingSetSize@12
476 GetProfileSectionA@12
477 GetProfileSectionW@12
480 GetQueuedCompletionStatus@20
490 GetSystemDefaultLCID@0
491 GetSystemDefaultLangID@0
492 GetSystemDefaultUILanguage@0
493 GetSystemDirectoryA@8
494 GetSystemDirectoryW@8
496 GetSystemPowerStatus@4
497 GetSystemRegistryQuota@8
499 GetSystemTimeAdjustment@12
500 GetSystemTimeAsFileTime@4
502 GetSystemWow64DirectoryA@8
503 GetSystemWow64DirectoryW@8
504 GetSystemWindowsDirectoryA@8
505 GetSystemWindowsDirectoryW@8
515 GetThreadIOPendingFlag@8
518 GetThreadPriorityBoost@8
519 GetThreadSelectorEntry@12
525 GetTimeZoneInformation@4
527 GetUserDefaultLangID@0
528 GetUserDefaultUILanguage@0
530 GetVDMCurrentDirectories@8
534 GetVolumeInformationA@32
535 GetVolumeInformationW@32
536 GetVolumeNameForVolumeMountPointA@12
537 GetVolumeNameForVolumeMountPointW@12
538 GetVolumePathNameA@12
539 GetVolumePathNameW@12
540 GetVolumePathNamesForVolumeNameA@16
541 GetVolumePathNamesForVolumeNameW@16
542 GetWindowsDirectoryA@8
543 GetWindowsDirectoryW@8
555 GlobalGetAtomNameA@12
556 GlobalGetAtomNameW@12
560 GlobalMemoryStatusEx@4
571 HeapAlloc@12=NTDLL.RtlAllocateHeap
577 HeapFree@12=NTDLL.RtlFreeHeap
579 HeapQueryInformation@20
581 HeapReAlloc@16=NTDLL.RtlReAllocateHeap
582 HeapSetInformation@16
583 HeapSize@12=NTDLL.RtlSizeHeap
590 InitializeConditionVariable@4=NTDLL.RtlInitializeConditionVariable
591 InitializeCriticalSection@4
592 InitializeCriticalSectionAndSpinCount@8
593 InitializeSListHead@4=NTDLL.RtlInitializeSListHead
594 InitializeSRWLock@4=NTDLL.RtlInitializeSRWLock
595 InterlockedCompareExchange@12
596 InterlockedDecrement@4
597 InterlockedExchange@8
598 InterlockedExchangeAdd@8
599 InterlockedFlushSList@4=NTDLL.RtlInterlockedFlushSList
600 InterlockedIncrement@4
601 InterlockedPopEntrySList@4=NTDLL.RtlInterlockedPopEntrySList
602 InterlockedPushEntrySList@8=NTDLL.RtlInterlockedPushEntrySList
603 InvalidateConsoleDIBits@8
615 IsProcessorFeaturePresent@4
616 IsSystemResumeAutomatic@0
619 IsValidLanguageGroup@8
625 LeaveCriticalSection@4=NTDLL.RtlLeaveCriticalSection
634 LocalFileTimeToFileTime@8
657 MapUserPhysicalPages@12
658 MapUserPhysicalPagesScatter@12
667 MoveFileWithProgressA@20
670 MoveFileWithProgressW@20
672 MultiByteToWideChar@24
673 NeedCurrentDirectoryForExePathA@4
674 NeedCurrentDirectoryForExePathW@4
675 NlsConvertIntegerToString@20
676 NlsGetCacheUpdateCount@0
677 ;NlsResetProcessLocale
678 ;NumaVirtualQueryNode
692 ;OpenProfileUserMapping@0
696 OpenWaitableTimerA@12
697 OpenWaitableTimerW@12
704 ;PrivMoveFileIdentityW
705 PostQueuedCompletionStatus@16
707 ProcessIdToSessionId@8
715 QueryDepthSList@4=NTDLL.RtlQueryDepthSList
718 QueryInformationJobObject@20
719 QueryMemoryResourceNotification@8
720 QueryPerformanceCounter@4
721 QueryPerformanceFrequency@4
724 QueryWin31IniFilesMappedToRegistry@16
731 ReadConsoleOutputA@20
732 ReadConsoleOutputAttribute@20
733 ReadConsoleOutputCharacterA@20
734 ReadConsoleOutputCharacterW@20
735 ReadConsoleOutputW@20
737 ReadDirectoryChangesW@32
744 RegisterApplicationRecoveryCallback@16
745 RegisterApplicationRestart@8
748 RegisterConsoleVDM@44
749 RegisterWaitForInputIdle@4
750 RegisterWaitForSingleObject@24
751 RegisterWaitForSingleObjectEx@20
752 RegisterWowBaseHandlers@4
757 ReleaseSRWLockExclusive@4=NTDLL.RtlReleaseSRWLockExclusive
758 ReleaseSRWLockShared@4=NTDLL.RtlReleaseSRWLockShared
761 ;RemoveLocalAlternateComputerNameA
762 ;RemoveLocalAlternateComputerNameW
763 RemoveVectoredExceptionHandler@4=NTDLL.RtlRemoveVectoredExceptionHandler
764 ReplaceFile=ReplaceFileW@24
767 RequestDeviceWakeup@4
768 RequestWakeupLatency@4
773 RtlCaptureContext@4=NTDLL.RtlCaptureContext
774 ;RtlCaptureStackBackTrace
775 RtlFillMemory@12=NTDLL.RtlFillMemory
776 RtlMoveMemory@12=NTDLL.RtlMoveMemory
777 RtlUnwind@16=NTDLL.RtlUnwind
778 RtlZeroMemory@8=NTDLL.RtlZeroMemory
779 ScrollConsoleScreenBufferA@20
780 ScrollConsoleScreenBufferW@20
786 SetClientTimeZoneInformation@4
787 ;SetComPlusPackageInstallStatus
797 SetConsoleActiveScreenBuffer@4
799 SetConsoleCommandHistoryMode@4
800 SetConsoleCtrlHandler@8
802 SetConsoleCursorInfo@8
803 ;SetConsoleCursorMode
804 SetConsoleCursorPosition@8
805 SetConsoleDisplayMode@12
807 SetConsoleHardwareState@12
808 SetConsoleHistoryInfo@4
810 SetConsoleInputExeNameA@4
811 SetConsoleInputExeNameW@4
812 SetConsoleKeyShortcuts@16
814 SetConsoleMaximumWindowSize@8
815 SetConsoleMenuClose@4
818 SetConsoleNumberOfCommandsA@8
819 SetConsoleNumberOfCommandsW@8
820 ;SetConsoleOS2OemFormat
823 SetConsoleScreenBufferInfoEx@8
824 SetConsoleScreenBufferSize@8
825 SetConsoleTextAttribute@8
828 SetConsoleWindowInfo@12
829 SetCriticalSectionSpinCount@8=NTDLL.RtlSetCriticalSectionSpinCount
830 SetCurrentDirectoryA@4
831 SetCurrentDirectoryW@4
832 SetDefaultCommConfigA@12
833 SetDefaultCommConfigW@12
837 SetEnvironmentVariableA@8
838 SetEnvironmentVariableW@8
845 SetFileAttributesByHandle@12
846 SetFileBandwidthReservation@24
847 SetFileCompletionNotificationModes@8
854 SetFirmwareEnvironmentVariableA@16
855 SetFirmwareEnvironmentVariableW@16
858 SetHandleInformation@12
859 SetInformationJobObject@16
860 SetLastConsoleEventActive@0
862 ;SetLocalPrimaryComputerNameA
863 ;SetLocalPrimaryComputerNameW
868 SetMessageWaitingIndicator@8
869 SetNamedPipeHandleState@16
871 SetProcessAffinityMask@8
872 SetProcessPriorityBoost@8
873 SetProcessShutdownParameters@8
874 SetProcessWorkingSetSize@12
876 SetSystemPowerState@8
878 SetSystemTimeAdjustment@8
881 ;SetTermsrvAppInstallMode
882 SetThreadAffinityMask@8
884 SetThreadExecutionState@4
885 SetThreadIdealProcessor@8
888 SetThreadPriorityBoost@8
889 SetThreadUILanguage@4
890 SetTimerQueueTimer@24
891 SetTimeZoneInformation@4
892 SetUnhandledExceptionFilter@4
894 SetUserDefaultUILanguage@4
896 SetVDMCurrentDirectories@8
899 SetVolumeMountPointA@8
900 SetVolumeMountPointW@8
904 SignalObjectAndWait@16
907 SleepConditionVariableCS@12
908 SleepConditionVariableSRW@16
913 SystemTimeToFileTime@8
914 SystemTimeToTzSpecificLocalTime@12
918 ;TermsrvAppInstallMode
925 Toolhelp32ReadProcessMemory@20
929 TryEnterCriticalSection@4=NTDLL.RtlTryEnterCriticalSection
930 TzSpecificLocalTimeToSystemTime@12
931 UnhandledExceptionFilter@4
939 ;UnregisterConsoleIME
944 VDMConsoleOperation@8
945 VDMOperationStarted@4
948 VerSetConditionMask@16=NTDLL.VerSetConditionMask
949 VerifyConsoleIoHandle@4
950 VerifyVersionInfoA@16
951 VerifyVersionInfoW@16
954 VirtualBufferExceptionHandler@12
963 WakeAllConditionVariable@4=NTDLL.RtlWakeAllConditionVariable
964 WakeConditionVariable@4=NTDLL.RtlWakeConditionVariable
967 WaitForMultipleObjects@16
968 WaitForMultipleObjectsEx@20
969 WaitForSingleObject@8
970 WaitForSingleObjectEx@12
973 WideCharToMultiByte@32
975 Wow64DisableWow64FsRedirection@4
976 Wow64RevertWow64FsRedirection@4
978 WriteConsoleInputA@16
979 WriteConsoleInputVDMA@16
980 WriteConsoleInputVDMW@16
981 WriteConsoleInputW@16
982 WriteConsoleOutputA@20
983 WriteConsoleOutputAttribute@20
984 WriteConsoleOutputCharacterA@20
985 WriteConsoleOutputCharacterW@20
986 WriteConsoleOutputW@20
991 WritePrivateProfileSectionA@12
992 WritePrivateProfileSectionW@12
993 WritePrivateProfileStringA@16
994 WritePrivateProfileStringW@16
995 WritePrivateProfileStructA@20
996 WritePrivateProfileStructW@20
997 WriteProcessMemory@20
998 WriteProfileSectionA@8
999 WriteProfileSectionW@8
1000 WriteProfileStringA@12
1001 WriteProfileStringW@12
1003 WTSGetActiveConsoleSessionId@0
1012 _lwrite@12=_hwrite@12
1013 lstrcat@8=lstrcatA@8
1016 lstrcmp@8=lstrcmpA@8
1019 lstrcmpi@8=lstrcmpiA@8
1022 lstrcpy@8=lstrcpyA@8
1025 lstrcpyn@12=lstrcpynA@12
1028 lstrlen@4=lstrlenA@4