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
75 CancelTimerQueueTimer@8
77 ChangeTimerQueueTimer@16
78 CheckNameLegalDOS8Dot3A@20
79 CheckNameLegalDOS8Dot3W@20
80 CheckRemoteDebuggerPresent@8
85 CloseProfileUserMapping@0
95 ConvertDefaultLocale@4
96 ConvertFiberToThread@0
97 ConvertThreadToFiber@4
105 CreateConsoleScreenBuffer@20
107 CreateDirectoryExA@12
108 CreateDirectoryExW@12
115 CreateFileMappingA@24
116 CreateFileMappingW@24
120 CreateIoCompletionPort@16
126 CreateMemoryResourceNotification@4
131 CreateNlsSecurityDescriptor@12
134 CreateProcessInternalA@48
135 CreateProcessInternalW@48
137 CreateRemoteThread@28
141 CreateSymbolicLinkA@12
142 CreateSymbolicLinkW@12
143 CreateTapePartition@16
146 CreateTimerQueueTimer@28
147 CreateToolhelp32Snapshot@8
148 CreateVirtualBuffer@12
149 CreateWaitableTimerA@12
150 CreateWaitableTimerW@12
153 DebugActiveProcessStop@4
154 DebugBreak@0=NTDLL.DbgBreakPoint
156 DebugSetProcessKillOnExit@4
157 DecodePointer@4=NTDLL.RtlDecodePointer
160 DelayLoadFailureHook@8
162 DeleteCriticalSection@4=NTDLL.RtlDeleteCriticalSection
168 DeleteTimerQueueTimer@12
169 DeleteVolumeMountPointA@4
170 DeleteVolumeMountPointW@4
172 DisableThreadLibraryCalls@4
173 DisconnectNamedPipe@4
174 DnsHostnameToComputerNameA@12
175 DnsHostnameToComputerNameW@12
176 DosDateTimeToFileTime@12
177 DosPathToSessionPathA@12
178 DosPathToSessionPathW@12
179 DuplicateConsoleHandle@16
181 EncodePointer@4=NTDLL.RtlEncodePointer
184 EnterCriticalSection@4=NTDLL.RtlEnterCriticalSection
186 EnumCalendarInfoExA@16
187 EnumCalendarInfoExW@16
190 EnumDateFormatsExA@12
191 EnumDateFormatsExW@12
193 EnumLanguageGroupLocalesA@16
194 EnumLanguageGroupLocalesW@16
195 EnumResourceLanguagesA@20
196 EnumResourceLanguagesW@20
197 EnumResourceNamesA@16
198 EnumResourceNamesW@16
199 EnumResourceTypesA@12
200 EnumResourceTypesW@12
201 EnumSystemCodePagesA@8
202 EnumSystemCodePagesW@8
204 EnumSystemLanguageGroupsA@12
205 EnumSystemLanguageGroupsW@12
212 ;EnumerateLocalComputerNamesA
213 ;EnumerateLocalComputerNamesW
219 ExpandEnvironmentStringsA@12
220 ExpandEnvironmentStringsW@12
221 ExpungeConsoleCommandHistoryA@4
222 ExpungeConsoleCommandHistoryW@4
223 ExtendVirtualBuffer@8
227 FileTimeToDosDateTime@12
228 FileTimeToLocalFileTime@8
229 FileTimeToSystemTime@8
230 FillConsoleOutputAttribute@20
231 FillConsoleOutputCharacterA@20
232 FillConsoleOutputCharacterW@20
233 FindActCtxSectionGuid@20
234 FindActCtxSectionStringA@20
235 FindActCtxSectionStringW@20
239 FindCloseChangeNotification@4
240 FindFirstChangeNotificationA@12
241 FindFirstChangeNotificationW@12
247 FindNextChangeNotification@4
252 FindFirstVolumeMountPointA@12
253 FindFirstVolumeMountPointW@12
256 FindNextVolumeMountPointA@12
257 FindNextVolumeMountPointW@12
264 FindVolumeMountPointClose@4
265 ;FlsAlloc@4 ;new for 2003
266 ;FlsFree@4 ;new for 2003
267 ;FlsGetValue@4 ;new for 2003
268 ;FlsSetValue@8 ;new for 2003
269 FlushConsoleInputBuffer@4
271 FlushInstructionCache@12
278 FreeEnvironmentStringsA@4
279 FreeEnvironmentStringsW@4
281 FreeLibraryAndExitThread@8
283 FreeUserPhysicalPages@12
285 GenerateConsoleCtrlEvent@8
287 GetApplicationRecoveryCallback@12
288 GetApplicationRestart@16
291 GetBinaryType@8=GetBinaryTypeA@8
294 GetCPFileNameFromRegistry@12
308 ;GetComPlusPackageInstallStatus
309 GetCompressedFileSizeA@8
310 GetCompressedFileSizeW@8
312 GetComputerNameExA@12
313 GetComputerNameExW@12
316 GetConsoleAliasExesA@8
317 GetConsoleAliasExesLengthA@0
318 GetConsoleAliasExesLengthW@0
319 GetConsoleAliasExesW@8
321 GetConsoleAliasesA@12
322 GetConsoleAliasesLengthA@4
323 GetConsoleAliasesLengthW@4
324 GetConsoleAliasesW@12
327 GetConsoleCommandHistoryA@12
328 GetConsoleCommandHistoryLengthA@4
329 GetConsoleCommandHistoryLengthW@4
330 GetConsoleCommandHistoryW@12
331 GetConsoleCursorInfo@8
332 ;GetConsoleCursorMode
333 GetConsoleDisplayMode@4
334 GetConsoleFontInfo@16
336 GetConsoleHardwareState@12
337 GetConsoleInputExeNameA@8
338 GetConsoleInputExeNameW@8
339 GetConsoleInputWaitHandle@0
340 GetConsoleKeyboardLayoutNameA@4
341 GetConsoleKeyboardLayoutNameW@4
345 GetConsoleProcessList@8
346 GetConsoleScreenBufferInfo@8
347 GetConsoleSelectionInfo@4
351 GetCurrencyFormatA@24
352 GetCurrencyFormatW@24
354 GetCurrentConsoleFont@12
355 GetCurrentDirectoryA@8
356 GetCurrentDirectoryW@8
358 GetCurrentProcessId@0
363 GetDefaultCommConfigA@12
364 GetDefaultCommConfigW@12
365 ;GetDefaultSortkeySize
366 GetDevicePowerState@8
369 GetDiskFreeSpaceExA@16
370 GetDiskFreeSpaceExW@16
375 GetEnvironmentStrings=GetEnvironmentStringsA@0
376 GetEnvironmentStringsA@0
377 GetEnvironmentStringsW@0
378 GetEnvironmentVariableA@12
379 GetEnvironmentVariableW@12
386 GetFileAttributesByHandle@12
387 GetFileAttributesExA@12
388 GetFileAttributesExW@12
389 GetFileBandwidthReservation@24
390 GetFileInformationByHandle@8
395 GetFinalPathNameByHandleA@16
396 GetFinalPathNameByHandleW@16
397 GetFirmwareEnvironmentVariableA@16
398 GetFirmwareEnvironmentVariableW@16
404 GetHandleInformation@8
405 GetLargestConsoleWindowSize@4
411 GetLogicalDriveStringsA@8
412 GetLogicalDriveStringsW@8
417 GetModuleFileNameA@12
418 GetModuleFileNameW@12
420 GetModuleHandleExA@12
421 GetModuleHandleExW@12
423 GetNamedPipeHandleStateA@28
424 GetNamedPipeHandleStateW@28
426 GetNativeSystemInfo@4
429 GetNumaHighestNodeNumber@4
430 GetNumaNodeProcessorMask@8
432 GetNumaProcessorNode@8
435 GetNumberOfConsoleFonts@0
436 GetNumberOfConsoleInputEvents@8
437 GetNumberOfConsoleMouseButtons@4
439 GetOverlappedResult@16
441 GetPrivateProfileIntA@16
442 GetPrivateProfileIntW@16
443 GetPrivateProfileSectionA@16
444 GetPrivateProfileSectionNamesA@12
445 GetPrivateProfileSectionNamesW@12
446 GetPrivateProfileSectionW@16
447 GetPrivateProfileStringA@24
448 GetPrivateProfileStringW@24
449 GetPrivateProfileStructA@20
450 GetPrivateProfileStructW@20
452 GetProcessAffinityMask@12
453 GetProcessHandleCount@8
457 GetProcessIdOfThread@4
458 GetProcessIoCounters@8
459 GetProcessPriorityBoost@8
460 GetProcessShutdownParameters@8
463 GetProcessWorkingSetSize@12
466 GetProfileSectionA@12
467 GetProfileSectionW@12
470 GetQueuedCompletionStatus@20
480 GetSystemDefaultLCID@0
481 GetSystemDefaultLangID@0
482 GetSystemDefaultUILanguage@0
483 GetSystemDirectoryA@8
484 GetSystemDirectoryW@8
486 GetSystemPowerStatus@4
487 GetSystemRegistryQuota@8
489 GetSystemTimeAdjustment@12
490 GetSystemTimeAsFileTime@4
492 GetSystemWow64DirectoryA@8
493 GetSystemWow64DirectoryW@8
494 GetSystemWindowsDirectoryA@8
495 GetSystemWindowsDirectoryW@8
505 GetThreadIOPendingFlag@8
508 GetThreadPriorityBoost@8
509 GetThreadSelectorEntry@12
514 GetTimeZoneInformation@4
516 GetUserDefaultLangID@0
517 GetUserDefaultUILanguage@0
519 GetVDMCurrentDirectories@8
523 GetVolumeInformationA@32
524 GetVolumeInformationW@32
525 GetVolumeNameForVolumeMountPointA@12
526 GetVolumeNameForVolumeMountPointW@12
527 GetVolumePathNameA@12
528 GetVolumePathNameW@12
529 GetVolumePathNamesForVolumeNameA@16
530 GetVolumePathNamesForVolumeNameW@16
531 GetWindowsDirectoryA@8
532 GetWindowsDirectoryW@8
544 GlobalGetAtomNameA@12
545 GlobalGetAtomNameW@12
549 GlobalMemoryStatusEx@4
560 HeapAlloc@12=NTDLL.RtlAllocateHeap
566 HeapFree@12=NTDLL.RtlFreeHeap
568 HeapQueryInformation@20
570 HeapReAlloc@16=NTDLL.RtlReAllocateHeap
571 HeapSetInformation@16
572 HeapSize@12=NTDLL.RtlSizeHeap
579 InitializeCriticalSection@4
580 InitializeCriticalSectionAndSpinCount@8
581 InitializeSListHead@4=NTDLL.RtlInitializeSListHead
582 InterlockedCompareExchange@12
583 InterlockedDecrement@4
584 InterlockedExchange@8
585 InterlockedExchangeAdd@8
586 InterlockedFlushSList@4=NTDLL.RtlInterlockedFlushSList
587 InterlockedIncrement@4
588 InterlockedPopEntrySList@4=NTDLL.RtlInterlockedPopEntrySList
589 InterlockedPushEntrySList@8=NTDLL.RtlInterlockedPushEntrySList
590 InvalidateConsoleDIBits@8
602 IsProcessorFeaturePresent@4
603 IsSystemResumeAutomatic@0
606 IsValidLanguageGroup@8
612 LeaveCriticalSection@4=NTDLL.RtlLeaveCriticalSection
621 LocalFileTimeToFileTime@8
644 MapUserPhysicalPages@12
645 MapUserPhysicalPagesScatter@12
654 MoveFileWithProgressA@20
657 MoveFileWithProgressW@20
659 MultiByteToWideChar@24
660 NeedCurrentDirectoryForExePathA@4
661 NeedCurrentDirectoryForExePathW@4
662 NlsConvertIntegerToString@20
663 NlsGetCacheUpdateCount@0
664 ;NlsResetProcessLocale
665 ;NumaVirtualQueryNode
679 ;OpenProfileUserMapping@0
683 OpenWaitableTimerA@12
684 OpenWaitableTimerW@12
691 ;PrivMoveFileIdentityW
692 PostQueuedCompletionStatus@16
694 ProcessIdToSessionId@8
702 QueryDepthSList@4=NTDLL.RtlQueryDepthSList
705 QueryInformationJobObject@20
706 QueryMemoryResourceNotification@8
707 QueryPerformanceCounter@4
708 QueryPerformanceFrequency@4
711 QueryWin31IniFilesMappedToRegistry@16
718 ReadConsoleOutputA@20
719 ReadConsoleOutputAttribute@20
720 ReadConsoleOutputCharacterA@20
721 ReadConsoleOutputCharacterW@20
722 ReadConsoleOutputW@20
724 ReadDirectoryChangesW@32
731 RegisterApplicationRecoveryCallback@8
732 RegisterApplicationRestart@8
735 RegisterConsoleVDM@44
736 RegisterWaitForInputIdle@4
737 RegisterWaitForSingleObject@24
738 RegisterWaitForSingleObjectEx@20
739 RegisterWowBaseHandlers@4
746 ;RemoveLocalAlternateComputerNameA
747 ;RemoveLocalAlternateComputerNameW
748 RemoveVectoredExceptionHandler@4=NTDLL.RtlRemoveVectoredExceptionHandler
749 ReplaceFile=ReplaceFileW@24
752 RequestDeviceWakeup@4
753 RequestWakeupLatency@4
758 RtlCaptureContext@4=NTDLL.RtlCaptureContext
759 ;RtlCaptureStackBackTrace
760 RtlFillMemory@12=NTDLL.RtlFillMemory
761 RtlMoveMemory@12=NTDLL.RtlMoveMemory
762 RtlUnwind@16=NTDLL.RtlUnwind
763 RtlZeroMemory@8=NTDLL.RtlZeroMemory
764 ScrollConsoleScreenBufferA@20
765 ScrollConsoleScreenBufferW@20
771 SetClientTimeZoneInformation@4
772 ;SetComPlusPackageInstallStatus
782 SetConsoleActiveScreenBuffer@4
784 SetConsoleCommandHistoryMode@4
785 SetConsoleCtrlHandler@8
787 SetConsoleCursorInfo@8
788 ;SetConsoleCursorMode
789 SetConsoleCursorPosition@8
790 SetConsoleDisplayMode@12
792 SetConsoleHardwareState@12
793 SetConsoleHistoryInfo@4
795 SetConsoleInputExeNameA@4
796 SetConsoleInputExeNameW@4
797 SetConsoleKeyShortcuts@16
799 SetConsoleMaximumWindowSize@8
800 SetConsoleMenuClose@4
803 SetConsoleNumberOfCommandsA@8
804 SetConsoleNumberOfCommandsW@8
805 ;SetConsoleOS2OemFormat
808 SetConsoleScreenBufferInfoEx@8
809 SetConsoleScreenBufferSize@8
810 SetConsoleTextAttribute@8
813 SetConsoleWindowInfo@12
814 SetCriticalSectionSpinCount@8=NTDLL.RtlSetCriticalSectionSpinCount
815 SetCurrentDirectoryA@4
816 SetCurrentDirectoryW@4
817 SetDefaultCommConfigA@12
818 SetDefaultCommConfigW@12
822 SetEnvironmentVariableA@8
823 SetEnvironmentVariableW@8
830 SetFileAttributesByHandle@12
831 SetFileBandwidthReservation@24
832 SetFileCompletionNotificationModes@8
839 SetFirmwareEnvironmentVariableA@16
840 SetFirmwareEnvironmentVariableW@16
843 SetHandleInformation@12
844 SetInformationJobObject@16
845 SetLastConsoleEventActive@0
847 ;SetLocalPrimaryComputerNameA
848 ;SetLocalPrimaryComputerNameW
853 SetMessageWaitingIndicator@8
854 SetNamedPipeHandleState@16
856 SetProcessAffinityMask@8
857 SetProcessPriorityBoost@8
858 SetProcessShutdownParameters@8
859 SetProcessWorkingSetSize@12
861 SetSystemPowerState@8
863 SetSystemTimeAdjustment@8
866 ;SetTermsrvAppInstallMode
867 SetThreadAffinityMask@8
869 SetThreadExecutionState@4
870 SetThreadIdealProcessor@8
873 SetThreadPriorityBoost@8
874 SetThreadUILanguage@4
875 SetTimerQueueTimer@24
876 SetTimeZoneInformation@4
877 SetUnhandledExceptionFilter@4
879 SetVDMCurrentDirectories@8
882 SetVolumeMountPointA@8
883 SetVolumeMountPointW@8
887 SignalObjectAndWait@16
894 SystemTimeToFileTime@8
895 SystemTimeToTzSpecificLocalTime@12
899 ;TermsrvAppInstallMode
906 Toolhelp32ReadProcessMemory@20
910 TryEnterCriticalSection@4=NTDLL.RtlTryEnterCriticalSection
911 TzSpecificLocalTimeToSystemTime@12
912 UnhandledExceptionFilter@4
920 ;UnregisterConsoleIME
925 VDMConsoleOperation@8
926 VDMOperationStarted@4
929 VerSetConditionMask@16=NTDLL.VerSetConditionMask
930 VerifyConsoleIoHandle@4
931 VerifyVersionInfoA@16
932 VerifyVersionInfoW@16
935 VirtualBufferExceptionHandler@12
946 WaitForMultipleObjects@16
947 WaitForMultipleObjectsEx@20
948 WaitForSingleObject@8
949 WaitForSingleObjectEx@12
952 WideCharToMultiByte@32
954 Wow64DisableWow64FsRedirection@4
955 Wow64RevertWow64FsRedirection@4
957 WriteConsoleInputA@16
958 WriteConsoleInputVDMA@16
959 WriteConsoleInputVDMW@16
960 WriteConsoleInputW@16
961 WriteConsoleOutputA@20
962 WriteConsoleOutputAttribute@20
963 WriteConsoleOutputCharacterA@20
964 WriteConsoleOutputCharacterW@20
965 WriteConsoleOutputW@20
970 WritePrivateProfileSectionA@12
971 WritePrivateProfileSectionW@12
972 WritePrivateProfileStringA@16
973 WritePrivateProfileStringW@16
974 WritePrivateProfileStructA@20
975 WritePrivateProfileStructW@20
976 WriteProcessMemory@20
977 WriteProfileSectionA@8
978 WriteProfileSectionW@8
979 WriteProfileStringA@12
980 WriteProfileStringW@12
982 WTSGetActiveConsoleSessionId@0
991 _lwrite@12=_hwrite@12
998 lstrcmpi@8=lstrcmpiA@8
1001 lstrcpy@8=lstrcpyA@8
1004 lstrcpyn@12=lstrcpynA@12
1007 lstrlen@4=lstrlenA@4