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.
38 ;AddLocalAlternateComputerNameA
39 ;AddLocalAlternateComputerNameW
41 AddVectoredExceptionHandler@8=NTDLL.RtlAddVectoredExceptionHandler
42 AllocateUserPhysicalPages@12
45 AssignProcessToJobObject@8
50 BaseAttachCompleteThunk@0
51 BaseCheckAppcompatCache@16
52 ;BaseCleanupAppcompatCache
53 ;BaseCleanupAppcompatCacheSupport
54 BaseDumpAppcompatCache@0
55 BaseFlushAppcompatCache@0
56 ;BaseInitAppcompatCache
57 ;BaseInitAppcompatCacheSupport
58 BaseProcessInitPostImport@0
59 BaseQueryModuleData@20
60 BaseUpdateAppcompatCache@12
62 BeginUpdateResourceA@8
63 BeginUpdateResourceW@8
64 BindIoCompletionCallback@12
66 BuildCommDCBAndTimeoutsA@12
67 BuildCommDCBAndTimeoutsW@12
71 CancelDeviceWakeupRequest@4
73 CancelTimerQueueTimer@8
75 ChangeTimerQueueTimer@16
76 CheckNameLegalDOS8Dot3A@20
77 CheckNameLegalDOS8Dot3W@20
78 CheckRemoteDebuggerPresent@8
83 CloseProfileUserMapping@0
93 ConvertDefaultLocale@4
94 ConvertFiberToThread@0
95 ConvertThreadToFiber@4
103 CreateConsoleScreenBuffer@20
105 CreateDirectoryExA@12
106 CreateDirectoryExW@12
113 CreateFileMappingA@24
114 CreateFileMappingW@24
118 CreateIoCompletionPort@16
124 CreateMemoryResourceNotification@4
129 CreateNlsSecurityDescriptor@12
132 CreateProcessInternalA@48
133 CreateProcessInternalW@48
135 CreateRemoteThread@28
139 CreateSymbolicLinkA@12
140 CreateSymbolicLinkW@12
141 CreateTapePartition@16
144 CreateTimerQueueTimer@28
145 CreateToolhelp32Snapshot@8
146 CreateVirtualBuffer@12
147 CreateWaitableTimerA@12
148 CreateWaitableTimerW@12
151 DebugActiveProcessStop@4
152 DebugBreak@0=NTDLL.DbgBreakPoint
154 DebugSetProcessKillOnExit@4
157 DelayLoadFailureHook@8
159 DeleteCriticalSection@4=NTDLL.RtlDeleteCriticalSection
165 DeleteTimerQueueTimer@12
166 DeleteVolumeMountPointA@4
167 DeleteVolumeMountPointW@4
169 DisableThreadLibraryCalls@4
170 DisconnectNamedPipe@4
171 DnsHostnameToComputerNameA@12
172 DnsHostnameToComputerNameW@12
173 DosDateTimeToFileTime@12
174 DosPathToSessionPathA@12
175 DosPathToSessionPathW@12
176 DuplicateConsoleHandle@16
180 EnterCriticalSection@4=NTDLL.RtlEnterCriticalSection
182 EnumCalendarInfoExA@16
183 EnumCalendarInfoExW@16
186 EnumDateFormatsExA@12
187 EnumDateFormatsExW@12
189 EnumLanguageGroupLocalesA@16
190 EnumLanguageGroupLocalesW@16
191 EnumResourceLanguagesA@20
192 EnumResourceLanguagesW@20
193 EnumResourceNamesA@16
194 EnumResourceNamesW@16
195 EnumResourceTypesA@12
196 EnumResourceTypesW@12
197 EnumSystemCodePagesA@8
198 EnumSystemCodePagesW@8
200 EnumSystemLanguageGroupsA@12
201 EnumSystemLanguageGroupsW@12
208 ;EnumerateLocalComputerNamesA
209 ;EnumerateLocalComputerNamesW
215 ExpandEnvironmentStringsA@12
216 ExpandEnvironmentStringsW@12
217 ExpungeConsoleCommandHistoryA@4
218 ExpungeConsoleCommandHistoryW@4
219 ExtendVirtualBuffer@8
223 FileTimeToDosDateTime@12
224 FileTimeToLocalFileTime@8
225 FileTimeToSystemTime@8
226 FillConsoleOutputAttribute@20
227 FillConsoleOutputCharacterA@20
228 FillConsoleOutputCharacterW@20
229 FindActCtxSectionGuid@20
230 FindActCtxSectionStringA@20
231 FindActCtxSectionStringW@20
235 FindCloseChangeNotification@4
236 FindFirstChangeNotificationA@12
237 FindFirstChangeNotificationW@12
242 FindNextChangeNotification@4
246 FindFirstVolumeMountPointA@12
247 FindFirstVolumeMountPointW@12
250 FindNextVolumeMountPointA@12
251 FindNextVolumeMountPointW@12
258 FindVolumeMountPointClose@4
259 ;FlsAlloc@4 ;new for 2003
260 ;FlsFree@4 ;new for 2003
261 ;FlsGetValue@4 ;new for 2003
262 ;FlsSetValue@8 ;new for 2003
263 FlushConsoleInputBuffer@4
265 FlushInstructionCache@12
272 FreeEnvironmentStringsA@4
273 FreeEnvironmentStringsW@4
275 FreeLibraryAndExitThread@8
277 FreeUserPhysicalPages@12
279 GenerateConsoleCtrlEvent@8
283 GetBinaryType@8=GetBinaryTypeA@8
286 GetCPFileNameFromRegistry@12
300 ;GetComPlusPackageInstallStatus
301 GetCompressedFileSizeA@8
302 GetCompressedFileSizeW@8
304 GetComputerNameExA@12
305 GetComputerNameExW@12
308 GetConsoleAliasExesA@8
309 GetConsoleAliasExesLengthA@0
310 GetConsoleAliasExesLengthW@0
311 GetConsoleAliasExesW@8
313 GetConsoleAliasesA@12
314 GetConsoleAliasesLengthA@4
315 GetConsoleAliasesLengthW@4
316 GetConsoleAliasesW@12
319 GetConsoleCommandHistoryA@12
320 GetConsoleCommandHistoryLengthA@4
321 GetConsoleCommandHistoryLengthW@4
322 GetConsoleCommandHistoryW@12
323 GetConsoleCursorInfo@8
324 ;GetConsoleCursorMode
325 GetConsoleDisplayMode@4
326 GetConsoleFontInfo@16
328 GetConsoleHardwareState@12
329 GetConsoleInputExeNameA@8
330 GetConsoleInputExeNameW@8
331 GetConsoleInputWaitHandle@0
332 GetConsoleKeyboardLayoutNameA@4
333 GetConsoleKeyboardLayoutNameW@4
337 GetConsoleProcessList@8
338 GetConsoleScreenBufferInfo@8
339 GetConsoleSelectionInfo@4
343 GetCurrencyFormatA@24
344 GetCurrencyFormatW@24
346 GetCurrentConsoleFont@12
347 GetCurrentDirectoryA@8
348 GetCurrentDirectoryW@8
350 GetCurrentProcessId@0
355 GetDefaultCommConfigA@12
356 GetDefaultCommConfigW@12
357 ;GetDefaultSortkeySize
358 GetDevicePowerState@8
361 GetDiskFreeSpaceExA@16
362 GetDiskFreeSpaceExW@16
367 GetEnvironmentStrings=GetEnvironmentStringsA@0
368 GetEnvironmentStringsA@0
369 GetEnvironmentStringsW@0
370 GetEnvironmentVariableA@12
371 GetEnvironmentVariableW@12
378 GetFileAttributesByHandle@12
379 GetFileAttributesExA@12
380 GetFileAttributesExW@12
381 GetFileInformationByHandle@8
386 GetFirmwareEnvironmentVariableA@16
387 GetFirmwareEnvironmentVariableW@16
393 GetHandleInformation@8
394 GetLargestConsoleWindowSize@4
400 GetLogicalDriveStringsA@8
401 GetLogicalDriveStringsW@8
406 GetModuleFileNameA@12
407 GetModuleFileNameW@12
409 GetModuleHandleExA@12
410 GetModuleHandleExW@12
412 GetNamedPipeHandleStateA@28
413 GetNamedPipeHandleStateW@28
415 GetNativeSystemInfo@4
418 GetNumaHighestNodeNumber@4
419 GetNumaNodeProcessorMask@8
421 GetNumaProcessorNode@8
424 GetNumberOfConsoleFonts@0
425 GetNumberOfConsoleInputEvents@8
426 GetNumberOfConsoleMouseButtons@4
428 GetOverlappedResult@16
430 GetPrivateProfileIntA@16
431 GetPrivateProfileIntW@16
432 GetPrivateProfileSectionA@16
433 GetPrivateProfileSectionNamesA@12
434 GetPrivateProfileSectionNamesW@12
435 GetPrivateProfileSectionW@16
436 GetPrivateProfileStringA@24
437 GetPrivateProfileStringW@24
438 GetPrivateProfileStructA@20
439 GetPrivateProfileStructW@20
441 GetProcessAffinityMask@12
442 GetProcessHandleCount@8
446 GetProcessIdOfThread@4
447 GetProcessIoCounters@8
448 GetProcessPriorityBoost@8
449 GetProcessShutdownParameters@8
452 GetProcessWorkingSetSize@12
455 GetProfileSectionA@12
456 GetProfileSectionW@12
459 GetQueuedCompletionStatus@20
469 GetSystemDefaultLCID@0
470 GetSystemDefaultLangID@0
471 GetSystemDefaultUILanguage@0
472 GetSystemDirectoryA@8
473 GetSystemDirectoryW@8
475 GetSystemPowerStatus@4
476 GetSystemRegistryQuota@8
478 GetSystemTimeAdjustment@12
479 GetSystemTimeAsFileTime@4
481 GetSystemWow64DirectoryA@8
482 GetSystemWow64DirectoryW@8
483 GetSystemWindowsDirectoryA@8
484 GetSystemWindowsDirectoryW@8
494 GetThreadIOPendingFlag@8
497 GetThreadPriorityBoost@8
498 GetThreadSelectorEntry@12
503 GetTimeZoneInformation@4
505 GetUserDefaultLangID@0
506 GetUserDefaultUILanguage@0
508 GetVDMCurrentDirectories@8
512 GetVolumeInformationA@32
513 GetVolumeInformationW@32
514 GetVolumeNameForVolumeMountPointA@12
515 GetVolumeNameForVolumeMountPointW@12
516 GetVolumePathNameA@12
517 GetVolumePathNameW@12
518 GetVolumePathNamesForVolumeNameA@16
519 GetVolumePathNamesForVolumeNameW@16
520 GetWindowsDirectoryA@8
521 GetWindowsDirectoryW@8
533 GlobalGetAtomNameA@12
534 GlobalGetAtomNameW@12
538 GlobalMemoryStatusEx@4
549 HeapAlloc@12=NTDLL.RtlAllocateHeap
555 HeapFree@12=NTDLL.RtlFreeHeap
557 HeapQueryInformation@20
559 HeapReAlloc@16=NTDLL.RtlReAllocateHeap
560 HeapSetInformation@16
561 HeapSize@12=NTDLL.RtlSizeHeap
568 InitializeCriticalSection@4
569 InitializeCriticalSectionAndSpinCount@8
570 InitializeSListHead@4=NTDLL.RtlInitializeSListHead
571 InterlockedCompareExchange@12
572 InterlockedDecrement@4
573 InterlockedExchange@8
574 InterlockedExchangeAdd@8
575 InterlockedFlushSList@4=NTDLL.RtlInterlockedFlushSList
576 InterlockedIncrement@4
577 InterlockedPopEntrySList@4=NTDLL.RtlInterlockedPopEntrySList
578 InterlockedPushEntrySList@8=NTDLL.RtlInterlockedPushEntrySList
579 InvalidateConsoleDIBits@8
591 IsProcessorFeaturePresent@4
592 IsSystemResumeAutomatic@0
595 IsValidLanguageGroup@8
601 LeaveCriticalSection@4=NTDLL.RtlLeaveCriticalSection
610 LocalFileTimeToFileTime@8
633 MapUserPhysicalPages@12
634 MapUserPhysicalPagesScatter@12
643 MoveFileWithProgressA@20
646 MoveFileWithProgressW@20
648 MultiByteToWideChar@24
649 NeedCurrentDirectoryForExePathA@4
650 NeedCurrentDirectoryForExePathW@4
651 NlsConvertIntegerToString@20
652 ;NlsGetCacheUpdateCount
653 ;NlsResetProcessLocale
654 ;NumaVirtualQueryNode
667 ;OpenProfileUserMapping@0
671 OpenWaitableTimerA@12
672 OpenWaitableTimerW@12
679 ;PrivMoveFileIdentityW
680 PostQueuedCompletionStatus@16
682 ProcessIdToSessionId@8
690 QueryDepthSList@4=NTDLL.RtlQueryDepthSList
693 QueryInformationJobObject@20
694 QueryMemoryResourceNotification@8
695 QueryPerformanceCounter@4
696 QueryPerformanceFrequency@4
699 QueryWin31IniFilesMappedToRegistry@16
706 ReadConsoleOutputA@20
707 ReadConsoleOutputAttribute@20
708 ReadConsoleOutputCharacterA@20
709 ReadConsoleOutputCharacterW@20
710 ReadConsoleOutputW@20
712 ReadDirectoryChangesW@32
719 RegisterConsoleVDM@44
720 RegisterWaitForInputIdle@4
721 RegisterWaitForSingleObject@24
722 RegisterWaitForSingleObjectEx@20
723 RegisterWowBaseHandlers@4
730 ;RemoveLocalAlternateComputerNameA
731 ;RemoveLocalAlternateComputerNameW
732 RemoveVectoredExceptionHandler@4=NTDLL.RtlRemoveVectoredExceptionHandler
733 ReplaceFile=ReplaceFileW@24
736 RequestDeviceWakeup@4
737 RequestWakeupLatency@4
742 RtlCaptureContext@4=NTDLL.RtlCaptureContext
743 ;RtlCaptureStackBackTrace
744 RtlFillMemory@12=NTDLL.RtlFillMemory
745 RtlMoveMemory@12=NTDLL.RtlMoveMemory
746 RtlUnwind@16=NTDLL.RtlUnwind
747 RtlZeroMemory@8=NTDLL.RtlZeroMemory
748 ScrollConsoleScreenBufferA@20
749 ScrollConsoleScreenBufferW@20
755 SetClientTimeZoneInformation@4
756 ;SetComPlusPackageInstallStatus
766 SetConsoleActiveScreenBuffer@4
768 SetConsoleCommandHistoryMode@4
769 SetConsoleCtrlHandler@8
771 SetConsoleCursorInfo@8
772 ;SetConsoleCursorMode
773 SetConsoleCursorPosition@8
774 SetConsoleDisplayMode@12
776 SetConsoleHardwareState@12
777 SetConsoleHistoryInfo@4
779 SetConsoleInputExeNameA@4
780 SetConsoleInputExeNameW@4
781 SetConsoleKeyShortcuts@16
783 SetConsoleMaximumWindowSize@8
784 SetConsoleMenuClose@4
787 SetConsoleNumberOfCommandsA@8
788 SetConsoleNumberOfCommandsW@8
789 ;SetConsoleOS2OemFormat
792 SetConsoleScreenBufferInfoEx@8
793 SetConsoleScreenBufferSize@8
794 SetConsoleTextAttribute@8
797 SetConsoleWindowInfo@12
798 SetCriticalSectionSpinCount@8=NTDLL.RtlSetCriticalSectionSpinCount
799 SetCurrentDirectoryA@4
800 SetCurrentDirectoryW@4
801 SetDefaultCommConfigA@12
802 SetDefaultCommConfigW@12
806 SetEnvironmentVariableA@8
807 SetEnvironmentVariableW@8
814 SetFileAttributesByHandle@12
821 SetFirmwareEnvironmentVariableA@16
822 SetFirmwareEnvironmentVariableW@16
825 SetHandleInformation@12
826 SetInformationJobObject@16
827 SetLastConsoleEventActive@0
829 ;SetLocalPrimaryComputerNameA
830 ;SetLocalPrimaryComputerNameW
835 SetMessageWaitingIndicator@8
836 SetNamedPipeHandleState@16
838 SetProcessAffinityMask@8
839 SetProcessPriorityBoost@8
840 SetProcessShutdownParameters@8
841 SetProcessWorkingSetSize@12
843 SetSystemPowerState@8
845 SetSystemTimeAdjustment@8
848 ;SetTermsrvAppInstallMode
849 SetThreadAffinityMask@8
851 SetThreadExecutionState@4
852 SetThreadIdealProcessor@8
855 SetThreadPriorityBoost@8
856 SetThreadUILanguage@4
857 SetTimerQueueTimer@24
858 SetTimeZoneInformation@4
859 SetUnhandledExceptionFilter@4
861 SetVDMCurrentDirectories@8
864 SetVolumeMountPointA@8
865 SetVolumeMountPointW@8
869 SignalObjectAndWait@16
876 SystemTimeToFileTime@8
877 SystemTimeToTzSpecificLocalTime@12
881 ;TermsrvAppInstallMode
888 Toolhelp32ReadProcessMemory@20
892 TryEnterCriticalSection@4=NTDLL.RtlTryEnterCriticalSection
893 TzSpecificLocalTimeToSystemTime@12
894 UnhandledExceptionFilter@4
902 ;UnregisterConsoleIME
907 VDMConsoleOperation@8
908 VDMOperationStarted@4
911 VerSetConditionMask@16=NTDLL.VerSetConditionMask
912 VerifyConsoleIoHandle@4
913 VerifyVersionInfoA@16
914 VerifyVersionInfoW@16
917 VirtualBufferExceptionHandler@12
928 WaitForMultipleObjects@16
929 WaitForMultipleObjectsEx@20
930 WaitForSingleObject@8
931 WaitForSingleObjectEx@12
934 WideCharToMultiByte@32
937 WriteConsoleInputA@16
938 WriteConsoleInputVDMA@16
939 WriteConsoleInputVDMW@16
940 WriteConsoleInputW@16
941 WriteConsoleOutputA@20
942 WriteConsoleOutputAttribute@20
943 WriteConsoleOutputCharacterA@20
944 WriteConsoleOutputCharacterW@20
945 WriteConsoleOutputW@20
950 WritePrivateProfileSectionA@12
951 WritePrivateProfileSectionW@12
952 WritePrivateProfileStringA@16
953 WritePrivateProfileStringW@16
954 WritePrivateProfileStructA@20
955 WritePrivateProfileStructW@20
956 WriteProcessMemory@20
957 WriteProfileSectionA@8
958 WriteProfileSectionW@8
959 WriteProfileStringA@12
960 WriteProfileStringW@12
962 WTSGetActiveConsoleSessionId@0
971 _lwrite@12=_hwrite@12
978 lstrcmpi@8=lstrcmpiA@8
984 lstrcpyn@12=lstrcpynA@12