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 CreateSymbolicLinkA@12
139 CreateSymbolicLinkW@12
140 CreateTapePartition@16
143 CreateTimerQueueTimer@28
144 CreateToolhelp32Snapshot@8
145 CreateVirtualBuffer@12
146 CreateWaitableTimerA@12
147 CreateWaitableTimerW@12
150 DebugActiveProcessStop@4
151 DebugBreak@0=NTDLL.DbgBreakPoint
153 DebugSetProcessKillOnExit@4
156 DelayLoadFailureHook@8
158 DeleteCriticalSection@4=NTDLL.RtlDeleteCriticalSection
164 DeleteTimerQueueTimer@12
165 DeleteVolumeMountPointA@4
166 DeleteVolumeMountPointW@4
168 DisableThreadLibraryCalls@4
169 DisconnectNamedPipe@4
170 DnsHostnameToComputerNameA@12
171 DnsHostnameToComputerNameW@12
172 DosDateTimeToFileTime@12
173 DosPathToSessionPathA@12
174 DosPathToSessionPathW@12
175 DuplicateConsoleHandle@16
179 EnterCriticalSection@4=NTDLL.RtlEnterCriticalSection
181 EnumCalendarInfoExA@16
182 EnumCalendarInfoExW@16
183 ;EnumCalendarInfoW@16
185 EnumDateFormatsExA@12
186 EnumDateFormatsExW@12
188 EnumLanguageGroupLocalesA@16
189 EnumLanguageGroupLocalesW@16
190 EnumResourceLanguagesA@20
191 EnumResourceLanguagesW@20
192 EnumResourceNamesA@16
193 EnumResourceNamesW@16
194 EnumResourceTypesA@12
195 EnumResourceTypesW@12
196 EnumSystemCodePagesA@8
197 EnumSystemCodePagesW@8
199 EnumSystemLanguageGroupsA@12
200 EnumSystemLanguageGroupsW@12
207 ;EnumerateLocalComputerNamesA
208 ;EnumerateLocalComputerNamesW
214 ExpandEnvironmentStringsA@12
215 ExpandEnvironmentStringsW@12
216 ExpungeConsoleCommandHistoryA@4
217 ExpungeConsoleCommandHistoryW@4
218 ExtendVirtualBuffer@8
222 FileTimeToDosDateTime@12
223 FileTimeToLocalFileTime@8
224 FileTimeToSystemTime@8
225 FillConsoleOutputAttribute@20
226 FillConsoleOutputCharacterA@20
227 FillConsoleOutputCharacterW@20
228 FindActCtxSectionGuid@20
229 FindActCtxSectionStringA@20
230 FindActCtxSectionStringW@20
234 FindCloseChangeNotification@4
235 FindFirstChangeNotificationA@12
236 FindFirstChangeNotificationW@12
241 FindNextChangeNotification@4
245 FindFirstVolumeMountPointA@12
246 FindFirstVolumeMountPointW@12
249 FindNextVolumeMountPointA@12
250 FindNextVolumeMountPointW@12
257 FindVolumeMountPointClose@4
258 ;FlsAlloc@4 ;new for 2003
259 ;FlsFree@4 ;new for 2003
260 ;FlsGetValue@4 ;new for 2003
261 ;FlsSetValue@8 ;new for 2003
262 FlushConsoleInputBuffer@4
264 FlushInstructionCache@12
271 FreeEnvironmentStringsA@4
272 FreeEnvironmentStringsW@4
274 FreeLibraryAndExitThread@8
276 FreeUserPhysicalPages@12
278 GenerateConsoleCtrlEvent@8
282 GetBinaryType@8=GetBinaryTypeA@8
285 GetCPFileNameFromRegistry@12
299 ;GetComPlusPackageInstallStatus
300 GetCompressedFileSizeA@8
301 GetCompressedFileSizeW@8
303 GetComputerNameExA@12
304 GetComputerNameExW@12
307 GetConsoleAliasExesA@8
308 GetConsoleAliasExesLengthA@0
309 GetConsoleAliasExesLengthW@0
310 GetConsoleAliasExesW@8
312 GetConsoleAliasesA@12
313 GetConsoleAliasesLengthA@4
314 GetConsoleAliasesLengthW@4
315 GetConsoleAliasesW@12
318 GetConsoleCommandHistoryA@12
319 GetConsoleCommandHistoryLengthA@4
320 GetConsoleCommandHistoryLengthW@4
321 GetConsoleCommandHistoryW@12
322 GetConsoleCursorInfo@8
323 ;GetConsoleCursorMode
324 GetConsoleDisplayMode@4
325 GetConsoleFontInfo@16
327 GetConsoleHardwareState@12
328 GetConsoleInputExeNameA@8
329 GetConsoleInputExeNameW@8
330 GetConsoleInputWaitHandle@0
331 GetConsoleKeyboardLayoutNameA@4
332 GetConsoleKeyboardLayoutNameW@4
336 GetConsoleProcessList@8
337 GetConsoleScreenBufferInfo@8
338 GetConsoleSelectionInfo@4
342 GetCurrencyFormatA@24
343 GetCurrencyFormatW@24
345 GetCurrentConsoleFont@12
346 GetCurrentDirectoryA@8
347 GetCurrentDirectoryW@8
349 GetCurrentProcessId@0
354 GetDefaultCommConfigA@12
355 GetDefaultCommConfigW@12
356 ;GetDefaultSortkeySize
357 GetDevicePowerState@8
360 GetDiskFreeSpaceExA@16
361 GetDiskFreeSpaceExW@16
366 GetEnvironmentStrings=GetEnvironmentStringsA@0
367 GetEnvironmentStringsA@0
368 GetEnvironmentStringsW@0
369 GetEnvironmentVariableA@12
370 GetEnvironmentVariableW@12
377 GetFileAttributesByHandle@12
378 GetFileAttributesExA@12
379 GetFileAttributesExW@12
380 GetFileInformationByHandle@8
385 GetFirmwareEnvironmentVariableA@16
386 GetFirmwareEnvironmentVariableW@16
392 GetHandleInformation@8
393 GetLargestConsoleWindowSize@4
399 GetLogicalDriveStringsA@8
400 GetLogicalDriveStringsW@8
405 GetModuleFileNameA@12
406 GetModuleFileNameW@12
408 GetModuleHandleExA@12
409 GetModuleHandleExW@12
411 GetNamedPipeHandleStateA@28
412 GetNamedPipeHandleStateW@28
414 GetNativeSystemInfo@4
417 GetNumaHighestNodeNumber@4
418 GetNumaNodeProcessorMask@8
420 GetNumaProcessorNode@8
423 GetNumberOfConsoleFonts@0
424 GetNumberOfConsoleInputEvents@8
425 GetNumberOfConsoleMouseButtons@4
427 GetOverlappedResult@16
429 GetPrivateProfileIntA@16
430 GetPrivateProfileIntW@16
431 GetPrivateProfileSectionA@16
432 GetPrivateProfileSectionNamesA@12
433 GetPrivateProfileSectionNamesW@12
434 GetPrivateProfileSectionW@16
435 GetPrivateProfileStringA@24
436 GetPrivateProfileStringW@24
437 GetPrivateProfileStructA@20
438 GetPrivateProfileStructW@20
440 GetProcessAffinityMask@12
441 GetProcessHandleCount@8
445 GetProcessIdOfThread@4
446 GetProcessIoCounters@8
447 GetProcessPriorityBoost@8
448 GetProcessShutdownParameters@8
451 GetProcessWorkingSetSize@12
454 GetProfileSectionA@12
455 GetProfileSectionW@12
458 GetQueuedCompletionStatus@20
468 GetSystemDefaultLCID@0
469 GetSystemDefaultLangID@0
470 GetSystemDefaultUILanguage@0
471 GetSystemDirectoryA@8
472 GetSystemDirectoryW@8
474 GetSystemPowerStatus@4
475 GetSystemRegistryQuota@8
477 GetSystemTimeAdjustment@12
478 GetSystemTimeAsFileTime@4
480 GetSystemWow64DirectoryA@8
481 GetSystemWow64DirectoryW@8
482 GetSystemWindowsDirectoryA@8
483 GetSystemWindowsDirectoryW@8
493 GetThreadIOPendingFlag@8
496 GetThreadPriorityBoost@8
497 GetThreadSelectorEntry@12
502 GetTimeZoneInformation@4
504 GetUserDefaultLangID@0
505 GetUserDefaultUILanguage@0
507 GetVDMCurrentDirectories@8
511 GetVolumeInformationA@32
512 GetVolumeInformationW@32
513 GetVolumeNameForVolumeMountPointA@12
514 GetVolumeNameForVolumeMountPointW@12
515 GetVolumePathNameA@12
516 GetVolumePathNameW@12
517 GetVolumePathNamesForVolumeNameA@16
518 GetVolumePathNamesForVolumeNameW@16
519 GetWindowsDirectoryA@8
520 GetWindowsDirectoryW@8
532 GlobalGetAtomNameA@12
533 GlobalGetAtomNameW@12
537 GlobalMemoryStatusEx@4
548 HeapAlloc@12=NTDLL.RtlAllocateHeap
554 HeapFree@12=NTDLL.RtlFreeHeap
556 HeapQueryInformation@20
558 HeapReAlloc@16=NTDLL.RtlReAllocateHeap
559 HeapSetInformation@16
560 HeapSize@12=NTDLL.RtlSizeHeap
567 InitializeCriticalSection@4
568 InitializeCriticalSectionAndSpinCount@8
569 InitializeSListHead@4=NTDLL.RtlInitializeSListHead
570 InterlockedCompareExchange@12
571 InterlockedDecrement@4
572 InterlockedExchange@8
573 InterlockedExchangeAdd@8
574 InterlockedFlushSList@4=NTDLL.RtlInterlockedFlushSList
575 InterlockedIncrement@4
576 InterlockedPopEntrySList@4=NTDLL.RtlInterlockedPopEntrySList
577 InterlockedPushEntrySList@8=NTDLL.RtlInterlockedPushEntrySList
578 InvalidateConsoleDIBits@8
590 IsProcessorFeaturePresent@4
591 IsSystemResumeAutomatic@0
594 IsValidLanguageGroup@8
600 LeaveCriticalSection@4=NTDLL.RtlLeaveCriticalSection
609 LocalFileTimeToFileTime@8
632 MapUserPhysicalPages@12
633 MapUserPhysicalPagesScatter@12
642 MoveFileWithProgressA@20
645 MoveFileWithProgressW@20
647 MultiByteToWideChar@24
648 NeedCurrentDirectoryForExePathA@4
649 NeedCurrentDirectoryForExePathW@4
650 NlsConvertIntegerToString@20
651 ;NlsGetCacheUpdateCount
652 ;NlsResetProcessLocale
653 ;NumaVirtualQueryNode
666 ;OpenProfileUserMapping@0
670 OpenWaitableTimerA@12
671 OpenWaitableTimerW@12
678 ;PrivMoveFileIdentityW
679 PostQueuedCompletionStatus@16
681 ProcessIdToSessionId@8
689 QueryDepthSList@4=NTDLL.RtlQueryDepthSList
692 QueryInformationJobObject@20
693 QueryMemoryResourceNotification@8
694 QueryPerformanceCounter@4
695 QueryPerformanceFrequency@4
698 ;QueryWin31IniFilesMappedToRegistry@16
705 ReadConsoleOutputA@20
706 ReadConsoleOutputAttribute@20
707 ReadConsoleOutputCharacterA@20
708 ReadConsoleOutputCharacterW@20
709 ReadConsoleOutputW@20
711 ReadDirectoryChangesW@32
718 RegisterConsoleVDM@44
719 RegisterWaitForInputIdle@4
720 RegisterWaitForSingleObject@24
721 RegisterWaitForSingleObjectEx@20
722 RegisterWowBaseHandlers@4
729 ;RemoveLocalAlternateComputerNameA
730 ;RemoveLocalAlternateComputerNameW
731 RemoveVectoredExceptionHandler@4=NTDLL.RtlRemoveVectoredExceptionHandler
732 ReplaceFile=ReplaceFileW@24
735 RequestDeviceWakeup@4
736 RequestWakeupLatency@4
741 RtlCaptureContext@4=NTDLL.RtlCaptureContext
742 ;RtlCaptureStackBackTrace
743 RtlFillMemory@12=NTDLL.RtlFillMemory
744 RtlMoveMemory@12=NTDLL.RtlMoveMemory
745 RtlUnwind@16=NTDLL.RtlUnwind
746 RtlZeroMemory@8=NTDLL.RtlZeroMemory
747 ScrollConsoleScreenBufferA@20
748 ScrollConsoleScreenBufferW@20
754 SetClientTimeZoneInformation@4
755 ;SetComPlusPackageInstallStatus
765 SetConsoleActiveScreenBuffer@4
767 SetConsoleCommandHistoryMode@4
768 SetConsoleCtrlHandler@8
770 SetConsoleCursorInfo@8
771 ;SetConsoleCursorMode
772 SetConsoleCursorPosition@8
773 SetConsoleDisplayMode@12
775 SetConsoleHardwareState@12
777 SetConsoleInputExeNameA@4
778 SetConsoleInputExeNameW@4
779 SetConsoleKeyShortcuts@16
781 SetConsoleMaximumWindowSize@8
782 SetConsoleMenuClose@4
785 SetConsoleNumberOfCommandsA@8
786 SetConsoleNumberOfCommandsW@8
787 ;SetConsoleOS2OemFormat
790 SetConsoleScreenBufferSize@8
791 SetConsoleTextAttribute@8
794 SetConsoleWindowInfo@12
795 SetCriticalSectionSpinCount@8=NTDLL.RtlSetCriticalSectionSpinCount
796 SetCurrentDirectoryA@4
797 SetCurrentDirectoryW@4
798 SetDefaultCommConfigA@12
799 SetDefaultCommConfigW@12
803 SetEnvironmentVariableA@8
804 SetEnvironmentVariableW@8
811 SetFileAttributesByHandle@12
818 SetFirmwareEnvironmentVariableA@16
819 SetFirmwareEnvironmentVariableW@16
822 SetHandleInformation@12
823 SetInformationJobObject@16
824 SetLastConsoleEventActive@0
826 ;SetLocalPrimaryComputerNameA
827 ;SetLocalPrimaryComputerNameW
832 SetMessageWaitingIndicator@8
833 SetNamedPipeHandleState@16
835 SetProcessAffinityMask@8
836 SetProcessPriorityBoost@8
837 SetProcessShutdownParameters@8
838 SetProcessWorkingSetSize@12
840 SetSystemPowerState@8
842 SetSystemTimeAdjustment@8
845 ;SetTermsrvAppInstallMode
846 SetThreadAffinityMask@8
848 SetThreadExecutionState@4
849 SetThreadIdealProcessor@8
852 SetThreadPriorityBoost@8
853 SetThreadUILanguage@4
854 SetTimerQueueTimer@24
855 SetTimeZoneInformation@4
856 SetUnhandledExceptionFilter@4
858 SetVDMCurrentDirectories@8
861 SetVolumeMountPointA@8
862 SetVolumeMountPointW@8
866 SignalObjectAndWait@16
873 SystemTimeToFileTime@8
874 SystemTimeToTzSpecificLocalTime@12
878 ;TermsrvAppInstallMode
885 Toolhelp32ReadProcessMemory@20
889 TryEnterCriticalSection@4=NTDLL.RtlTryEnterCriticalSection
890 TzSpecificLocalTimeToSystemTime@12
891 UnhandledExceptionFilter@4
899 ;UnregisterConsoleIME
904 VDMConsoleOperation@8
905 VDMOperationStarted@4
908 VerSetConditionMask@16=NTDLL.VerSetConditionMask
909 VerifyConsoleIoHandle@4
910 VerifyVersionInfoA@16
911 VerifyVersionInfoW@16
914 VirtualBufferExceptionHandler@12
925 WaitForMultipleObjects@16
926 WaitForMultipleObjectsEx@20
927 WaitForSingleObject@8
928 WaitForSingleObjectEx@12
931 WideCharToMultiByte@32
934 WriteConsoleInputA@16
935 WriteConsoleInputVDMA@16
936 WriteConsoleInputVDMW@16
937 WriteConsoleInputW@16
938 WriteConsoleOutputA@20
939 WriteConsoleOutputAttribute@20
940 WriteConsoleOutputCharacterA@20
941 WriteConsoleOutputCharacterW@20
942 WriteConsoleOutputW@20
947 WritePrivateProfileSectionA@12
948 WritePrivateProfileSectionW@12
949 WritePrivateProfileStringA@16
950 WritePrivateProfileStringW@16
951 WritePrivateProfileStructA@20
952 WritePrivateProfileStructW@20
953 WriteProcessMemory@20
954 WriteProfileSectionA@8
955 WriteProfileSectionW@8
956 WriteProfileStringA@12
957 WriteProfileStringW@12
959 WTSGetActiveConsoleSessionId@0
968 _lwrite@12=_hwrite@12
975 lstrcmpi@8=lstrcmpiA@8
981 lstrcpyn@12=lstrcpynA@12