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
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 GetProcessIoCounters@8
443 GetProcessPriorityBoost@8
444 GetProcessShutdownParameters@8
447 GetProcessWorkingSetSize@12
450 GetProfileSectionA@12
451 GetProfileSectionW@12
454 GetQueuedCompletionStatus@20
464 GetSystemDefaultLCID@0
465 GetSystemDefaultLangID@0
466 GetSystemDefaultUILanguage@0
467 GetSystemDirectoryA@8
468 GetSystemDirectoryW@8
470 GetSystemPowerStatus@4
471 GetSystemRegistryQuota@8
473 GetSystemTimeAdjustment@12
474 GetSystemTimeAsFileTime@4
476 GetSystemWow64DirectoryA@8
477 GetSystemWow64DirectoryW@8
478 GetSystemWindowsDirectoryA@8
479 GetSystemWindowsDirectoryW@8
488 GetThreadIOPendingFlag@8
491 GetThreadPriorityBoost@8
492 GetThreadSelectorEntry@12
497 GetTimeZoneInformation@4
499 GetUserDefaultLangID@0
500 GetUserDefaultUILanguage@0
502 GetVDMCurrentDirectories@8
506 GetVolumeInformationA@32
507 GetVolumeInformationW@32
508 GetVolumeNameForVolumeMountPointA@12
509 GetVolumeNameForVolumeMountPointW@12
510 GetVolumePathNameA@12
511 GetVolumePathNameW@12
512 GetVolumePathNamesForVolumeNameA@16
513 GetVolumePathNamesForVolumeNameW@16
514 GetWindowsDirectoryA@8
515 GetWindowsDirectoryW@8
527 GlobalGetAtomNameA@12
528 GlobalGetAtomNameW@12
532 GlobalMemoryStatusEx@4
543 HeapAlloc@12=NTDLL.RtlAllocateHeap
549 HeapFree@12=NTDLL.RtlFreeHeap
551 HeapQueryInformation@20
553 HeapReAlloc@16=NTDLL.RtlReAllocateHeap
554 HeapSetInformation@16
555 HeapSize@12=NTDLL.RtlSizeHeap
562 InitializeCriticalSection@4
563 InitializeCriticalSectionAndSpinCount@8
564 InitializeSListHead@4=NTDLL.RtlInitializeSListHead
565 InterlockedCompareExchange@12
566 InterlockedDecrement@4
567 InterlockedExchange@8
568 InterlockedExchangeAdd@8
569 InterlockedFlushSList@4=NTDLL.RtlInterlockedFlushSList
570 InterlockedIncrement@4
571 InterlockedPopEntrySList@4=NTDLL.RtlInterlockedPopEntrySList
572 InterlockedPushEntrySList@8=NTDLL.RtlInterlockedPushEntrySList
573 InvalidateConsoleDIBits@8
585 IsProcessorFeaturePresent@4
586 IsSystemResumeAutomatic@0
588 IsValidLanguageGroup@8
594 LeaveCriticalSection@4=NTDLL.RtlLeaveCriticalSection
603 LocalFileTimeToFileTime@8
626 MapUserPhysicalPages@12
627 MapUserPhysicalPagesScatter@12
636 MoveFileWithProgressA@20
639 MoveFileWithProgressW@20
641 MultiByteToWideChar@24
642 NlsConvertIntegerToString@20
643 ;NlsGetCacheUpdateCount
644 ;NlsResetProcessLocale
645 ;NumaVirtualQueryNode
658 OpenProfileUserMapping@0
662 OpenWaitableTimerA@12
663 OpenWaitableTimerW@12
670 ;PrivMoveFileIdentityW
671 PostQueuedCompletionStatus@16
673 ProcessIdToSessionId@8
681 QueryDepthSList@4=NTDLL.RtlQueryDepthSList
684 QueryInformationJobObject@20
685 QueryMemoryResourceNotification@8
686 QueryPerformanceCounter@4
687 QueryPerformanceFrequency@4
690 QueryWin31IniFilesMappedToRegistry@16
697 ReadConsoleOutputA@20
698 ReadConsoleOutputAttribute@20
699 ReadConsoleOutputCharacterA@20
700 ReadConsoleOutputCharacterW@20
701 ReadConsoleOutputW@20
703 ReadDirectoryChangesW@32
710 RegisterConsoleVDM@44
711 RegisterWaitForInputIdle@4
712 RegisterWaitForSingleObject@24
713 RegisterWaitForSingleObjectEx@20
714 RegisterWowBaseHandlers@4
721 ;RemoveLocalAlternateComputerNameA
722 ;RemoveLocalAlternateComputerNameW
723 RemoveVectoredExceptionHandler@4=NTDLL.RtlRemoveVectoredExceptionHandler
724 ReplaceFile=ReplaceFileW@24
727 RequestDeviceWakeup@4
728 RequestWakeupLatency@4
733 RtlCaptureContext@4=NTDLL.RtlCaptureContext
734 ;RtlCaptureStackBackTrace
735 RtlFillMemory@12=NTDLL.RtlFillMemory
736 RtlMoveMemory@12=NTDLL.RtlMoveMemory
737 RtlUnwind@16=NTDLL.RtlUnwind
738 RtlZeroMemory@8=NTDLL.RtlZeroMemory
739 ScrollConsoleScreenBufferA@20
740 ScrollConsoleScreenBufferW@20
746 SetClientTimeZoneInformation@4
747 ;SetComPlusPackageInstallStatus
757 SetConsoleActiveScreenBuffer@4
759 SetConsoleCommandHistoryMode@4
760 SetConsoleCtrlHandler@8
762 SetConsoleCursorInfo@8
763 ;SetConsoleCursorMode
764 SetConsoleCursorPosition@8
765 SetConsoleDisplayMode@12
767 SetConsoleHardwareState@12
769 SetConsoleInputExeNameA@4
770 SetConsoleInputExeNameW@4
771 SetConsoleKeyShortcuts@16
773 SetConsoleMaximumWindowSize@8
774 SetConsoleMenuClose@4
777 SetConsoleNumberOfCommandsA@8
778 SetConsoleNumberOfCommandsW@8
779 ;SetConsoleOS2OemFormat
782 SetConsoleScreenBufferSize@8
783 SetConsoleTextAttribute@8
786 SetConsoleWindowInfo@12
787 SetCriticalSectionSpinCount@8=NTDLL.RtlSetCriticalSectionSpinCount
788 SetCurrentDirectoryA@4
789 SetCurrentDirectoryW@4
790 SetDefaultCommConfigA@12
791 SetDefaultCommConfigW@12
795 SetEnvironmentVariableA@8
796 SetEnvironmentVariableW@8
809 SetFirmwareEnvironmentVariableA@16
810 SetFirmwareEnvironmentVariableW@16
813 SetHandleInformation@12
814 SetInformationJobObject@16
815 SetLastConsoleEventActive@0
817 ;SetLocalPrimaryComputerNameA
818 ;SetLocalPrimaryComputerNameW
823 SetMessageWaitingIndicator@8
824 SetNamedPipeHandleState@16
826 SetProcessAffinityMask@8
827 SetProcessPriorityBoost@8
828 SetProcessShutdownParameters@8
829 SetProcessWorkingSetSize@12
831 SetSystemPowerState@8
833 SetSystemTimeAdjustment@8
836 ;SetTermsrvAppInstallMode
837 SetThreadAffinityMask@8
839 SetThreadExecutionState@4
840 SetThreadIdealProcessor@8
843 SetThreadPriorityBoost@8
845 SetTimerQueueTimer@24
846 SetTimeZoneInformation@4
847 SetUnhandledExceptionFilter@4
849 SetVDMCurrentDirectories@8
852 SetVolumeMountPointA@8
853 SetVolumeMountPointW@8
857 SignalObjectAndWait@16
864 SystemTimeToFileTime@8
865 SystemTimeToTzSpecificLocalTime@12
869 ;TermsrvAppInstallMode
876 Toolhelp32ReadProcessMemory@20
880 TryEnterCriticalSection@4=NTDLL.RtlTryEnterCriticalSection
881 TzSpecificLocalTimeToSystemTime@12
882 UnhandledExceptionFilter@4
890 ;UnregisterConsoleIME
895 VDMConsoleOperation@8
896 VDMOperationStarted@4
899 VerSetConditionMask@16=NTDLL.VerSetConditionMask
900 VerifyConsoleIoHandle@4
901 VerifyVersionInfoA@16
902 VerifyVersionInfoW@16
905 VirtualBufferExceptionHandler@12
916 WaitForMultipleObjects@16
917 WaitForMultipleObjectsEx@20
918 WaitForSingleObject@8
919 WaitForSingleObjectEx@12
922 WideCharToMultiByte@32
925 WriteConsoleInputA@16
926 WriteConsoleInputVDMA@16
927 WriteConsoleInputVDMW@16
928 WriteConsoleInputW@16
929 WriteConsoleOutputA@20
930 WriteConsoleOutputAttribute@20
931 WriteConsoleOutputCharacterA@20
932 WriteConsoleOutputCharacterW@20
933 WriteConsoleOutputW@20
938 WritePrivateProfileSectionA@12
939 WritePrivateProfileSectionW@12
940 WritePrivateProfileStringA@16
941 WritePrivateProfileStringW@16
942 WritePrivateProfileStructA@20
943 WritePrivateProfileStructW@20
944 WriteProcessMemory@20
945 WriteProfileSectionA@8
946 WriteProfileSectionW@8
947 WriteProfileStringA@12
948 WriteProfileStringW@12
950 WTSGetActiveConsoleSessionId@0
959 _lwrite@12=_hwrite@12
966 lstrcmpi@8=lstrcmpiA@8
972 lstrcpyn@12=lstrcpynA@12