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
59 BaseUpdateAppcompatCache@12
61 BeginUpdateResourceA@8
62 BeginUpdateResourceW@8
63 BindIoCompletionCallback@12
65 BuildCommDCBAndTimeoutsA@12
66 BuildCommDCBAndTimeoutsW@12
70 CancelDeviceWakeupRequest@4
72 CancelTimerQueueTimer@8
74 ChangeTimerQueueTimer@16
75 CheckNameLegalDOS8Dot3A@20
76 CheckNameLegalDOS8Dot3W@20
77 CheckRemoteDebuggerPresent@8
82 CloseProfileUserMapping@0
92 ConvertDefaultLocale@4
93 ConvertFiberToThread@0
94 ConvertThreadToFiber@4
102 CreateConsoleScreenBuffer@20
104 CreateDirectoryExA@12
105 CreateDirectoryExW@12
112 CreateFileMappingA@24
113 CreateFileMappingW@24
117 CreateIoCompletionPort@16
123 CreateMemoryResourceNotification@4
128 CreateNlsSecurityDescriptor@12
131 ;CreateProcessInternalA
132 ;CreateProcessInternalW
134 CreateRemoteThread@28
138 CreateTapePartition@16
141 CreateTimerQueueTimer@28
142 CreateToolhelp32Snapshot@8
143 CreateVirtualBuffer@12
144 CreateWaitableTimerA@12
145 CreateWaitableTimerW@12
148 DebugActiveProcessStop@4
149 DebugBreak@0=NTDLL.DbgBreakPoint
151 DebugSetProcessKillOnExit@4
154 DelayLoadFailureHook@8
156 DeleteCriticalSection@4=NTDLL.RtlDeleteCriticalSection
162 DeleteTimerQueueTimer@12
163 DeleteVolumeMountPointA@4
164 DeleteVolumeMountPointW@4
166 DisableThreadLibraryCalls@4
167 DisconnectNamedPipe@4
168 DnsHostnameToComputerNameA@12
169 DnsHostnameToComputerNameW@12
170 DosDateTimeToFileTime@12
171 DosPathToSessionPathA@12
172 DosPathToSessionPathW@12
173 DuplicateConsoleHandle@16
177 EnterCriticalSection@4=NTDLL.RtlEnterCriticalSection
179 EnumCalendarInfoExA@16
180 EnumCalendarInfoExW@16
181 ;EnumCalendarInfoW@16
183 EnumDateFormatsExA@12
184 EnumDateFormatsExW@12
186 EnumLanguageGroupLocalesA@16
187 EnumLanguageGroupLocalesW@16
188 EnumResourceLanguagesA@20
189 EnumResourceLanguagesW@20
190 EnumResourceNamesA@16
191 EnumResourceNamesW@16
192 EnumResourceTypesA@12
193 EnumResourceTypesW@12
194 EnumSystemCodePagesA@8
195 EnumSystemCodePagesW@8
197 EnumSystemLanguageGroupsA@12
198 EnumSystemLanguageGroupsW@12
205 ;EnumerateLocalComputerNamesA
206 ;EnumerateLocalComputerNamesW
212 ExpandEnvironmentStringsA@12
213 ExpandEnvironmentStringsW@12
214 ExpungeConsoleCommandHistoryA@4
215 ExpungeConsoleCommandHistoryW@4
216 ExtendVirtualBuffer@8
220 FileTimeToDosDateTime@12
221 FileTimeToLocalFileTime@8
222 FileTimeToSystemTime@8
223 FillConsoleOutputAttribute@20
224 FillConsoleOutputCharacterA@20
225 FillConsoleOutputCharacterW@20
226 FindActCtxSectionGuid@20
227 FindActCtxSectionStringA@20
228 FindActCtxSectionStringW@20
232 FindCloseChangeNotification@4
233 FindFirstChangeNotificationA@12
234 FindFirstChangeNotificationW@12
239 FindNextChangeNotification@4
243 FindFirstVolumeMountPointA@12
244 FindFirstVolumeMountPointW@12
247 FindNextVolumeMountPointA@12
248 FindNextVolumeMountPointW@12
255 FindVolumeMountPointClose@4
256 ;FlsAlloc@4 ;new for 2003
257 ;FlsFree@4 ;new for 2003
258 ;FlsGetValue@4 ;new for 2003
259 ;FlsSetValue@8 ;new for 2003
260 FlushConsoleInputBuffer@4
262 FlushInstructionCache@12
269 FreeEnvironmentStringsA@4
270 FreeEnvironmentStringsW@4
272 FreeLibraryAndExitThread@8
274 FreeUserPhysicalPages@12
276 GenerateConsoleCtrlEvent@8
280 GetBinaryType@8=GetBinaryTypeA@8
283 GetCPFileNameFromRegistry@12
297 ;GetComPlusPackageInstallStatus
298 GetCompressedFileSizeA@8
299 GetCompressedFileSizeW@8
301 GetComputerNameExA@12
302 GetComputerNameExW@12
305 GetConsoleAliasExesA@8
306 GetConsoleAliasExesLengthA@0
307 GetConsoleAliasExesLengthW@0
308 GetConsoleAliasExesW@8
310 GetConsoleAliasesA@12
311 GetConsoleAliasesLengthA@4
312 GetConsoleAliasesLengthW@4
313 GetConsoleAliasesW@12
316 GetConsoleCommandHistoryA@12
317 GetConsoleCommandHistoryLengthA@4
318 GetConsoleCommandHistoryLengthW@4
319 GetConsoleCommandHistoryW@12
320 GetConsoleCursorInfo@8
321 ;GetConsoleCursorMode
322 GetConsoleDisplayMode@4
323 GetConsoleFontInfo@16
325 GetConsoleHardwareState@12
326 GetConsoleInputExeNameA@8
327 GetConsoleInputExeNameW@8
328 GetConsoleInputWaitHandle@0
329 GetConsoleKeyboardLayoutNameA@4
330 GetConsoleKeyboardLayoutNameW@4
334 GetConsoleProcessList@8
335 GetConsoleScreenBufferInfo@8
336 GetConsoleSelectionInfo@4
340 GetCurrencyFormatA@24
341 GetCurrencyFormatW@24
343 GetCurrentConsoleFont@12
344 GetCurrentDirectoryA@8
345 GetCurrentDirectoryW@8
347 GetCurrentProcessId@0
352 GetDefaultCommConfigA@12
353 GetDefaultCommConfigW@12
354 ;GetDefaultSortkeySize
355 GetDevicePowerState@8
358 GetDiskFreeSpaceExA@16
359 GetDiskFreeSpaceExW@16
364 GetEnvironmentStrings=GetEnvironmentStringsA@0
365 GetEnvironmentStringsA@0
366 GetEnvironmentStringsW@0
367 GetEnvironmentVariableA@12
368 GetEnvironmentVariableW@12
375 GetFileAttributesByHandle@12
376 GetFileAttributesExA@12
377 GetFileAttributesExW@12
378 GetFileInformationByHandle@8
383 GetFirmwareEnvironmentVariableA@16
384 GetFirmwareEnvironmentVariableW@16
390 GetHandleInformation@8
391 GetLargestConsoleWindowSize@4
397 GetLogicalDriveStringsA@8
398 GetLogicalDriveStringsW@8
403 GetModuleFileNameA@12
404 GetModuleFileNameW@12
406 GetModuleHandleExA@12
407 GetModuleHandleExW@12
409 GetNamedPipeHandleStateA@28
410 GetNamedPipeHandleStateW@28
412 GetNativeSystemInfo@4
415 GetNumaHighestNodeNumber@4
416 GetNumaNodeProcessorMask@8
418 GetNumaProcessorNode@8
421 GetNumberOfConsoleFonts@0
422 GetNumberOfConsoleInputEvents@8
423 GetNumberOfConsoleMouseButtons@4
425 GetOverlappedResult@16
427 GetPrivateProfileIntA@16
428 GetPrivateProfileIntW@16
429 GetPrivateProfileSectionA@16
430 GetPrivateProfileSectionNamesA@12
431 GetPrivateProfileSectionNamesW@12
432 GetPrivateProfileSectionW@16
433 GetPrivateProfileStringA@24
434 GetPrivateProfileStringW@24
435 GetPrivateProfileStructA@20
436 GetPrivateProfileStructW@20
438 GetProcessAffinityMask@12
439 GetProcessHandleCount@8
443 GetProcessIdOfThread@4
444 GetProcessIoCounters@8
445 GetProcessPriorityBoost@8
446 GetProcessShutdownParameters@8
449 GetProcessWorkingSetSize@12
452 GetProfileSectionA@12
453 GetProfileSectionW@12
456 GetQueuedCompletionStatus@20
466 GetSystemDefaultLCID@0
467 GetSystemDefaultLangID@0
468 GetSystemDefaultUILanguage@0
469 GetSystemDirectoryA@8
470 GetSystemDirectoryW@8
472 GetSystemPowerStatus@4
473 GetSystemRegistryQuota@8
475 GetSystemTimeAdjustment@12
476 GetSystemTimeAsFileTime@4
478 GetSystemWow64DirectoryA@8
479 GetSystemWow64DirectoryW@8
480 GetSystemWindowsDirectoryA@8
481 GetSystemWindowsDirectoryW@8
491 GetThreadIOPendingFlag@8
494 GetThreadPriorityBoost@8
495 GetThreadSelectorEntry@12
500 GetTimeZoneInformation@4
502 GetUserDefaultLangID@0
503 GetUserDefaultUILanguage@0
505 GetVDMCurrentDirectories@8
509 GetVolumeInformationA@32
510 GetVolumeInformationW@32
511 GetVolumeNameForVolumeMountPointA@12
512 GetVolumeNameForVolumeMountPointW@12
513 GetVolumePathNameA@12
514 GetVolumePathNameW@12
515 GetVolumePathNamesForVolumeNameA@16
516 GetVolumePathNamesForVolumeNameW@16
517 GetWindowsDirectoryA@8
518 GetWindowsDirectoryW@8
530 GlobalGetAtomNameA@12
531 GlobalGetAtomNameW@12
535 GlobalMemoryStatusEx@4
546 HeapAlloc@12=NTDLL.RtlAllocateHeap
552 HeapFree@12=NTDLL.RtlFreeHeap
554 HeapQueryInformation@20
556 HeapReAlloc@16=NTDLL.RtlReAllocateHeap
557 HeapSetInformation@16
558 HeapSize@12=NTDLL.RtlSizeHeap
565 InitializeCriticalSection@4
566 InitializeCriticalSectionAndSpinCount@8
567 InitializeSListHead@4=NTDLL.RtlInitializeSListHead
568 InterlockedCompareExchange@12
569 InterlockedDecrement@4
570 InterlockedExchange@8
571 InterlockedExchangeAdd@8
572 InterlockedFlushSList@4=NTDLL.RtlInterlockedFlushSList
573 InterlockedIncrement@4
574 InterlockedPopEntrySList@4=NTDLL.RtlInterlockedPopEntrySList
575 InterlockedPushEntrySList@8=NTDLL.RtlInterlockedPushEntrySList
576 InvalidateConsoleDIBits@8
588 IsProcessorFeaturePresent@4
589 IsSystemResumeAutomatic@0
592 IsValidLanguageGroup@8
598 LeaveCriticalSection@4=NTDLL.RtlLeaveCriticalSection
607 LocalFileTimeToFileTime@8
630 MapUserPhysicalPages@12
631 MapUserPhysicalPagesScatter@12
640 MoveFileWithProgressA@20
643 MoveFileWithProgressW@20
645 MultiByteToWideChar@24
646 NeedCurrentDirectoryForExePathA@4
647 NeedCurrentDirectoryForExePathW@4
648 NlsConvertIntegerToString@20
649 ;NlsGetCacheUpdateCount
650 ;NlsResetProcessLocale
651 ;NumaVirtualQueryNode
664 ;OpenProfileUserMapping@0
668 OpenWaitableTimerA@12
669 OpenWaitableTimerW@12
676 ;PrivMoveFileIdentityW
677 PostQueuedCompletionStatus@16
679 ProcessIdToSessionId@8
687 QueryDepthSList@4=NTDLL.RtlQueryDepthSList
690 QueryInformationJobObject@20
691 QueryMemoryResourceNotification@8
692 QueryPerformanceCounter@4
693 QueryPerformanceFrequency@4
696 ;QueryWin31IniFilesMappedToRegistry@16
703 ReadConsoleOutputA@20
704 ReadConsoleOutputAttribute@20
705 ReadConsoleOutputCharacterA@20
706 ReadConsoleOutputCharacterW@20
707 ReadConsoleOutputW@20
709 ReadDirectoryChangesW@32
716 RegisterConsoleVDM@44
717 RegisterWaitForInputIdle@4
718 RegisterWaitForSingleObject@24
719 RegisterWaitForSingleObjectEx@20
720 RegisterWowBaseHandlers@4
727 ;RemoveLocalAlternateComputerNameA
728 ;RemoveLocalAlternateComputerNameW
729 RemoveVectoredExceptionHandler@4=NTDLL.RtlRemoveVectoredExceptionHandler
730 ReplaceFile=ReplaceFileW@24
733 RequestDeviceWakeup@4
734 RequestWakeupLatency@4
739 RtlCaptureContext@4=NTDLL.RtlCaptureContext
740 ;RtlCaptureStackBackTrace
741 RtlFillMemory@12=NTDLL.RtlFillMemory
742 RtlMoveMemory@12=NTDLL.RtlMoveMemory
743 RtlUnwind@16=NTDLL.RtlUnwind
744 RtlZeroMemory@8=NTDLL.RtlZeroMemory
745 ScrollConsoleScreenBufferA@20
746 ScrollConsoleScreenBufferW@20
752 SetClientTimeZoneInformation@4
753 ;SetComPlusPackageInstallStatus
763 SetConsoleActiveScreenBuffer@4
765 SetConsoleCommandHistoryMode@4
766 SetConsoleCtrlHandler@8
768 SetConsoleCursorInfo@8
769 ;SetConsoleCursorMode
770 SetConsoleCursorPosition@8
771 SetConsoleDisplayMode@12
773 SetConsoleHardwareState@12
775 SetConsoleInputExeNameA@4
776 SetConsoleInputExeNameW@4
777 SetConsoleKeyShortcuts@16
779 SetConsoleMaximumWindowSize@8
780 SetConsoleMenuClose@4
783 SetConsoleNumberOfCommandsA@8
784 SetConsoleNumberOfCommandsW@8
785 ;SetConsoleOS2OemFormat
788 SetConsoleScreenBufferSize@8
789 SetConsoleTextAttribute@8
792 SetConsoleWindowInfo@12
793 SetCriticalSectionSpinCount@8=NTDLL.RtlSetCriticalSectionSpinCount
794 SetCurrentDirectoryA@4
795 SetCurrentDirectoryW@4
796 SetDefaultCommConfigA@12
797 SetDefaultCommConfigW@12
801 SetEnvironmentVariableA@8
802 SetEnvironmentVariableW@8
809 SetFileAttributesByHandle@12
816 SetFirmwareEnvironmentVariableA@16
817 SetFirmwareEnvironmentVariableW@16
820 SetHandleInformation@12
821 SetInformationJobObject@16
822 SetLastConsoleEventActive@0
824 ;SetLocalPrimaryComputerNameA
825 ;SetLocalPrimaryComputerNameW
830 SetMessageWaitingIndicator@8
831 SetNamedPipeHandleState@16
833 SetProcessAffinityMask@8
834 SetProcessPriorityBoost@8
835 SetProcessShutdownParameters@8
836 SetProcessWorkingSetSize@12
838 SetSystemPowerState@8
840 SetSystemTimeAdjustment@8
843 ;SetTermsrvAppInstallMode
844 SetThreadAffinityMask@8
846 SetThreadExecutionState@4
847 SetThreadIdealProcessor@8
850 SetThreadPriorityBoost@8
851 SetThreadUILanguage@4
852 SetTimerQueueTimer@24
853 SetTimeZoneInformation@4
854 SetUnhandledExceptionFilter@4
856 SetVDMCurrentDirectories@8
859 SetVolumeMountPointA@8
860 SetVolumeMountPointW@8
864 SignalObjectAndWait@16
871 SystemTimeToFileTime@8
872 SystemTimeToTzSpecificLocalTime@12
876 ;TermsrvAppInstallMode
883 Toolhelp32ReadProcessMemory@20
887 TryEnterCriticalSection@4=NTDLL.RtlTryEnterCriticalSection
888 TzSpecificLocalTimeToSystemTime@12
889 UnhandledExceptionFilter@4
897 ;UnregisterConsoleIME
902 VDMConsoleOperation@8
903 VDMOperationStarted@4
906 VerSetConditionMask@16=NTDLL.VerSetConditionMask
907 VerifyConsoleIoHandle@4
908 VerifyVersionInfoA@16
909 VerifyVersionInfoW@16
912 VirtualBufferExceptionHandler@12
923 WaitForMultipleObjects@16
924 WaitForMultipleObjectsEx@20
925 WaitForSingleObject@8
926 WaitForSingleObjectEx@12
929 WideCharToMultiByte@32
932 WriteConsoleInputA@16
933 WriteConsoleInputVDMA@16
934 WriteConsoleInputVDMW@16
935 WriteConsoleInputW@16
936 WriteConsoleOutputA@20
937 WriteConsoleOutputAttribute@20
938 WriteConsoleOutputCharacterA@20
939 WriteConsoleOutputCharacterW@20
940 WriteConsoleOutputW@20
945 WritePrivateProfileSectionA@12
946 WritePrivateProfileSectionW@12
947 WritePrivateProfileStringA@16
948 WritePrivateProfileStringW@16
949 WritePrivateProfileStructA@20
950 WritePrivateProfileStructW@20
951 WriteProcessMemory@20
952 WriteProfileSectionA@8
953 WriteProfileSectionW@8
954 WriteProfileStringA@12
955 WriteProfileStringW@12
957 WTSGetActiveConsoleSessionId@0
966 _lwrite@12=_hwrite@12
973 lstrcmpi@8=lstrcmpiA@8
979 lstrcpyn@12=lstrcpynA@12