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 GetFileAttributesExA@12
376 GetFileAttributesExW@12
377 GetFileInformationByHandle@8
382 GetFirmwareEnvironmentVariableA@16
383 GetFirmwareEnvironmentVariableW@16
389 GetHandleInformation@8
390 GetLargestConsoleWindowSize@4
396 GetLogicalDriveStringsA@8
397 GetLogicalDriveStringsW@8
402 GetModuleFileNameA@12
403 GetModuleFileNameW@12
405 GetModuleHandleExA@12
406 GetModuleHandleExW@12
408 GetNamedPipeHandleStateA@28
409 GetNamedPipeHandleStateW@28
411 GetNativeSystemInfo@4
414 GetNumaHighestNodeNumber@4
415 GetNumaNodeProcessorMask@8
417 GetNumaProcessorNode@8
420 GetNumberOfConsoleFonts@0
421 GetNumberOfConsoleInputEvents@8
422 GetNumberOfConsoleMouseButtons@4
424 GetOverlappedResult@16
426 GetPrivateProfileIntA@16
427 GetPrivateProfileIntW@16
428 GetPrivateProfileSectionA@16
429 GetPrivateProfileSectionNamesA@12
430 GetPrivateProfileSectionNamesW@12
431 GetPrivateProfileSectionW@16
432 GetPrivateProfileStringA@24
433 GetPrivateProfileStringW@24
434 GetPrivateProfileStructA@20
435 GetPrivateProfileStructW@20
437 GetProcessAffinityMask@12
438 GetProcessHandleCount@8
442 GetProcessIdOfThread@4
443 GetProcessIoCounters@8
444 GetProcessPriorityBoost@8
445 GetProcessShutdownParameters@8
448 GetProcessWorkingSetSize@12
451 GetProfileSectionA@12
452 GetProfileSectionW@12
455 GetQueuedCompletionStatus@20
465 GetSystemDefaultLCID@0
466 GetSystemDefaultLangID@0
467 GetSystemDefaultUILanguage@0
468 GetSystemDirectoryA@8
469 GetSystemDirectoryW@8
471 GetSystemPowerStatus@4
472 GetSystemRegistryQuota@8
474 GetSystemTimeAdjustment@12
475 GetSystemTimeAsFileTime@4
477 GetSystemWow64DirectoryA@8
478 GetSystemWow64DirectoryW@8
479 GetSystemWindowsDirectoryA@8
480 GetSystemWindowsDirectoryW@8
490 GetThreadIOPendingFlag@8
493 GetThreadPriorityBoost@8
494 GetThreadSelectorEntry@12
499 GetTimeZoneInformation@4
501 GetUserDefaultLangID@0
502 GetUserDefaultUILanguage@0
504 GetVDMCurrentDirectories@8
508 GetVolumeInformationA@32
509 GetVolumeInformationW@32
510 GetVolumeNameForVolumeMountPointA@12
511 GetVolumeNameForVolumeMountPointW@12
512 GetVolumePathNameA@12
513 GetVolumePathNameW@12
514 GetVolumePathNamesForVolumeNameA@16
515 GetVolumePathNamesForVolumeNameW@16
516 GetWindowsDirectoryA@8
517 GetWindowsDirectoryW@8
529 GlobalGetAtomNameA@12
530 GlobalGetAtomNameW@12
534 GlobalMemoryStatusEx@4
545 HeapAlloc@12=NTDLL.RtlAllocateHeap
551 HeapFree@12=NTDLL.RtlFreeHeap
553 HeapQueryInformation@20
555 HeapReAlloc@16=NTDLL.RtlReAllocateHeap
556 HeapSetInformation@16
557 HeapSize@12=NTDLL.RtlSizeHeap
564 InitializeCriticalSection@4
565 InitializeCriticalSectionAndSpinCount@8
566 InitializeSListHead@4=NTDLL.RtlInitializeSListHead
567 InterlockedCompareExchange@12
568 InterlockedDecrement@4
569 InterlockedExchange@8
570 InterlockedExchangeAdd@8
571 InterlockedFlushSList@4=NTDLL.RtlInterlockedFlushSList
572 InterlockedIncrement@4
573 InterlockedPopEntrySList@4=NTDLL.RtlInterlockedPopEntrySList
574 InterlockedPushEntrySList@8=NTDLL.RtlInterlockedPushEntrySList
575 InvalidateConsoleDIBits@8
587 IsProcessorFeaturePresent@4
588 IsSystemResumeAutomatic@0
590 IsValidLanguageGroup@8
596 LeaveCriticalSection@4=NTDLL.RtlLeaveCriticalSection
605 LocalFileTimeToFileTime@8
628 MapUserPhysicalPages@12
629 MapUserPhysicalPagesScatter@12
638 MoveFileWithProgressA@20
641 MoveFileWithProgressW@20
643 MultiByteToWideChar@24
644 NlsConvertIntegerToString@20
645 ;NlsGetCacheUpdateCount
646 ;NlsResetProcessLocale
647 ;NumaVirtualQueryNode
660 ;OpenProfileUserMapping@0
664 OpenWaitableTimerA@12
665 OpenWaitableTimerW@12
672 ;PrivMoveFileIdentityW
673 PostQueuedCompletionStatus@16
675 ProcessIdToSessionId@8
683 QueryDepthSList@4=NTDLL.RtlQueryDepthSList
686 QueryInformationJobObject@20
687 QueryMemoryResourceNotification@8
688 QueryPerformanceCounter@4
689 QueryPerformanceFrequency@4
692 ;QueryWin31IniFilesMappedToRegistry@16
699 ReadConsoleOutputA@20
700 ReadConsoleOutputAttribute@20
701 ReadConsoleOutputCharacterA@20
702 ReadConsoleOutputCharacterW@20
703 ReadConsoleOutputW@20
705 ReadDirectoryChangesW@32
712 RegisterConsoleVDM@44
713 RegisterWaitForInputIdle@4
714 RegisterWaitForSingleObject@24
715 RegisterWaitForSingleObjectEx@20
716 RegisterWowBaseHandlers@4
723 ;RemoveLocalAlternateComputerNameA
724 ;RemoveLocalAlternateComputerNameW
725 RemoveVectoredExceptionHandler@4=NTDLL.RtlRemoveVectoredExceptionHandler
726 ReplaceFile=ReplaceFileW@24
729 RequestDeviceWakeup@4
730 RequestWakeupLatency@4
735 RtlCaptureContext@4=NTDLL.RtlCaptureContext
736 ;RtlCaptureStackBackTrace
737 RtlFillMemory@12=NTDLL.RtlFillMemory
738 RtlMoveMemory@12=NTDLL.RtlMoveMemory
739 RtlUnwind@16=NTDLL.RtlUnwind
740 RtlZeroMemory@8=NTDLL.RtlZeroMemory
741 ScrollConsoleScreenBufferA@20
742 ScrollConsoleScreenBufferW@20
748 SetClientTimeZoneInformation@4
749 ;SetComPlusPackageInstallStatus
759 SetConsoleActiveScreenBuffer@4
761 SetConsoleCommandHistoryMode@4
762 SetConsoleCtrlHandler@8
764 SetConsoleCursorInfo@8
765 ;SetConsoleCursorMode
766 SetConsoleCursorPosition@8
767 SetConsoleDisplayMode@12
769 SetConsoleHardwareState@12
771 SetConsoleInputExeNameA@4
772 SetConsoleInputExeNameW@4
773 SetConsoleKeyShortcuts@16
775 SetConsoleMaximumWindowSize@8
776 SetConsoleMenuClose@4
779 SetConsoleNumberOfCommandsA@8
780 SetConsoleNumberOfCommandsW@8
781 ;SetConsoleOS2OemFormat
784 SetConsoleScreenBufferSize@8
785 SetConsoleTextAttribute@8
788 SetConsoleWindowInfo@12
789 SetCriticalSectionSpinCount@8=NTDLL.RtlSetCriticalSectionSpinCount
790 SetCurrentDirectoryA@4
791 SetCurrentDirectoryW@4
792 SetDefaultCommConfigA@12
793 SetDefaultCommConfigW@12
797 SetEnvironmentVariableA@8
798 SetEnvironmentVariableW@8
811 SetFirmwareEnvironmentVariableA@16
812 SetFirmwareEnvironmentVariableW@16
815 SetHandleInformation@12
816 SetInformationJobObject@16
817 SetLastConsoleEventActive@0
819 ;SetLocalPrimaryComputerNameA
820 ;SetLocalPrimaryComputerNameW
825 SetMessageWaitingIndicator@8
826 SetNamedPipeHandleState@16
828 SetProcessAffinityMask@8
829 SetProcessPriorityBoost@8
830 SetProcessShutdownParameters@8
831 SetProcessWorkingSetSize@12
833 SetSystemPowerState@8
835 SetSystemTimeAdjustment@8
838 ;SetTermsrvAppInstallMode
839 SetThreadAffinityMask@8
841 SetThreadExecutionState@4
842 SetThreadIdealProcessor@8
845 SetThreadPriorityBoost@8
846 SetThreadUILanguage@4
847 SetTimerQueueTimer@24
848 SetTimeZoneInformation@4
849 SetUnhandledExceptionFilter@4
851 SetVDMCurrentDirectories@8
854 SetVolumeMountPointA@8
855 SetVolumeMountPointW@8
859 SignalObjectAndWait@16
866 SystemTimeToFileTime@8
867 SystemTimeToTzSpecificLocalTime@12
871 ;TermsrvAppInstallMode
878 Toolhelp32ReadProcessMemory@20
882 TryEnterCriticalSection@4=NTDLL.RtlTryEnterCriticalSection
883 TzSpecificLocalTimeToSystemTime@12
884 UnhandledExceptionFilter@4
892 ;UnregisterConsoleIME
897 VDMConsoleOperation@8
898 VDMOperationStarted@4
901 VerSetConditionMask@16=NTDLL.VerSetConditionMask
902 VerifyConsoleIoHandle@4
903 VerifyVersionInfoA@16
904 VerifyVersionInfoW@16
907 VirtualBufferExceptionHandler@12
918 WaitForMultipleObjects@16
919 WaitForMultipleObjectsEx@20
920 WaitForSingleObject@8
921 WaitForSingleObjectEx@12
924 WideCharToMultiByte@32
927 WriteConsoleInputA@16
928 WriteConsoleInputVDMA@16
929 WriteConsoleInputVDMW@16
930 WriteConsoleInputW@16
931 WriteConsoleOutputA@20
932 WriteConsoleOutputAttribute@20
933 WriteConsoleOutputCharacterA@20
934 WriteConsoleOutputCharacterW@20
935 WriteConsoleOutputW@20
940 WritePrivateProfileSectionA@12
941 WritePrivateProfileSectionW@12
942 WritePrivateProfileStringA@16
943 WritePrivateProfileStringW@16
944 WritePrivateProfileStructA@20
945 WritePrivateProfileStructW@20
946 WriteProcessMemory@20
947 WriteProfileSectionA@8
948 WriteProfileSectionW@8
949 WriteProfileStringA@12
950 WriteProfileStringW@12
952 WTSGetActiveConsoleSessionId@0
961 _lwrite@12=_hwrite@12
968 lstrcmpi@8=lstrcmpiA@8
974 lstrcpyn@12=lstrcpynA@12