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.
33 AcquireSRWLockExclusive@4=NTDLL.RtlAcquireSRWLockExclusive
34 AcquireSRWLockShared@4=NTDLL.RtlAcquireSRWLockShared
40 ;AddLocalAlternateComputerNameA
41 ;AddLocalAlternateComputerNameW
43 AddVectoredExceptionHandler@8=NTDLL.RtlAddVectoredExceptionHandler
44 AllocateUserPhysicalPages@12
47 AssignProcessToJobObject@8
52 BaseAttachCompleteThunk@0
53 BaseCheckAppcompatCache@16
54 ;BaseCleanupAppcompatCache
55 ;BaseCleanupAppcompatCacheSupport
56 BaseDumpAppcompatCache@0
57 BaseFlushAppcompatCache@0
58 ;BaseInitAppcompatCache
59 ;BaseInitAppcompatCacheSupport
60 BaseProcessInitPostImport@0
61 BaseQueryModuleData@20
62 BaseUpdateAppcompatCache@12
64 BeginUpdateResourceA@8
65 BeginUpdateResourceW@8
66 BindIoCompletionCallback@12
68 BuildCommDCBAndTimeoutsA@12
69 BuildCommDCBAndTimeoutsW@12
73 CancelDeviceWakeupRequest@4
77 CancelTimerQueueTimer@8
79 ChangeTimerQueueTimer@16
80 CheckNameLegalDOS8Dot3A@20
81 CheckNameLegalDOS8Dot3W@20
82 CheckRemoteDebuggerPresent@8
87 CloseProfileUserMapping@0
97 ConvertDefaultLocale@4
98 ConvertFiberToThread@0
99 ConvertThreadToFiber@4
100 ConvertThreadToFiberEx@8
108 CreateConsoleScreenBuffer@20
110 CreateDirectoryExA@12
111 CreateDirectoryExW@12
120 CreateFileMappingA@24
121 CreateFileMappingW@24
125 CreateIoCompletionPort@16
131 CreateMemoryResourceNotification@4
138 CreateNlsSecurityDescriptor@12
141 CreateProcessInternalA@48
142 CreateProcessInternalW@48
144 CreateRemoteThread@28
147 CreateSemaphoreExA@24
148 CreateSemaphoreExW@24
150 CreateSymbolicLinkA@12
151 CreateSymbolicLinkW@12
152 CreateTapePartition@16
155 CreateTimerQueueTimer@28
156 CreateToolhelp32Snapshot@8
157 CreateVirtualBuffer@12
158 CreateWaitableTimerA@12
159 CreateWaitableTimerW@12
160 CreateWaitableTimerExA@16
161 CreateWaitableTimerExW@16
164 DebugActiveProcessStop@4
165 DebugBreak@0=NTDLL.DbgBreakPoint
167 DebugSetProcessKillOnExit@4
168 DecodePointer@4=NTDLL.RtlDecodePointer
171 DelayLoadFailureHook@8
173 DeleteCriticalSection@4=NTDLL.RtlDeleteCriticalSection
179 DeleteTimerQueueTimer@12
180 DeleteVolumeMountPointA@4
181 DeleteVolumeMountPointW@4
183 DisableThreadLibraryCalls@4
184 DisconnectNamedPipe@4
185 DnsHostnameToComputerNameA@12
186 DnsHostnameToComputerNameW@12
187 DosDateTimeToFileTime@12
188 DosPathToSessionPathA@12
189 DosPathToSessionPathW@12
190 DuplicateConsoleHandle@16
192 EncodePointer@4=NTDLL.RtlEncodePointer
195 EnterCriticalSection@4=NTDLL.RtlEnterCriticalSection
197 EnumCalendarInfoExA@16
198 EnumCalendarInfoExW@16
201 EnumDateFormatsExA@12
202 EnumDateFormatsExW@12
204 EnumLanguageGroupLocalesA@16
205 EnumLanguageGroupLocalesW@16
206 EnumResourceLanguagesA@20
207 EnumResourceLanguagesW@20
208 EnumResourceNamesA@16
209 EnumResourceNamesW@16
210 EnumResourceTypesA@12
211 EnumResourceTypesW@12
212 EnumSystemCodePagesA@8
213 EnumSystemCodePagesW@8
214 EnumSystemFirmwareTables@12
216 EnumSystemLanguageGroupsA@12
217 EnumSystemLanguageGroupsW@12
224 ;EnumerateLocalComputerNamesA
225 ;EnumerateLocalComputerNamesW
231 ExpandEnvironmentStringsA@12
232 ExpandEnvironmentStringsW@12
233 ExpungeConsoleCommandHistoryA@4
234 ExpungeConsoleCommandHistoryW@4
235 ExtendVirtualBuffer@8
239 FileTimeToDosDateTime@12
240 FileTimeToLocalFileTime@8
241 FileTimeToSystemTime@8
242 FillConsoleOutputAttribute@20
243 FillConsoleOutputCharacterA@20
244 FillConsoleOutputCharacterW@20
245 FindActCtxSectionGuid@20
246 FindActCtxSectionStringA@20
247 FindActCtxSectionStringW@20
251 FindCloseChangeNotification@4
252 FindFirstChangeNotificationA@12
253 FindFirstChangeNotificationW@12
259 FindNextChangeNotification@4
264 FindFirstVolumeMountPointA@12
265 FindFirstVolumeMountPointW@12
268 FindNextVolumeMountPointA@12
269 FindNextVolumeMountPointW@12
276 FindVolumeMountPointClose@4
281 FlushConsoleInputBuffer@4
283 FlushInstructionCache@12
290 FreeEnvironmentStringsA@4
291 FreeEnvironmentStringsW@4
293 FreeLibraryAndExitThread@8
295 FreeUserPhysicalPages@12
297 GenerateConsoleCtrlEvent@8
299 GetApplicationRecoveryCallback@20
300 GetApplicationRestart@16
303 GetBinaryType@8=GetBinaryTypeA@8
306 GetCPFileNameFromRegistry@12
320 ;GetComPlusPackageInstallStatus
321 GetCompressedFileSizeA@8
322 GetCompressedFileSizeW@8
324 GetComputerNameExA@12
325 GetComputerNameExW@12
328 GetConsoleAliasExesA@8
329 GetConsoleAliasExesLengthA@0
330 GetConsoleAliasExesLengthW@0
331 GetConsoleAliasExesW@8
333 GetConsoleAliasesA@12
334 GetConsoleAliasesLengthA@4
335 GetConsoleAliasesLengthW@4
336 GetConsoleAliasesW@12
339 GetConsoleCommandHistoryA@12
340 GetConsoleCommandHistoryLengthA@4
341 GetConsoleCommandHistoryLengthW@4
342 GetConsoleCommandHistoryW@12
343 GetConsoleCursorInfo@8
344 ;GetConsoleCursorMode
345 GetConsoleDisplayMode@4
346 GetConsoleFontInfo@16
348 GetConsoleHardwareState@12
349 GetConsoleInputExeNameA@8
350 GetConsoleInputExeNameW@8
351 GetConsoleInputWaitHandle@0
352 GetConsoleKeyboardLayoutNameA@4
353 GetConsoleKeyboardLayoutNameW@4
357 GetConsoleProcessList@8
358 GetConsoleScreenBufferInfo@8
359 GetConsoleSelectionInfo@4
363 GetCurrencyFormatA@24
364 GetCurrencyFormatW@24
366 GetCurrentConsoleFont@12
367 GetCurrentDirectoryA@8
368 GetCurrentDirectoryW@8
370 GetCurrentProcessId@0
371 GetCurrentProcessorNumber@0=NTDLL.RtlGetCurrentProcessorNumber@0
376 GetDefaultCommConfigA@12
377 GetDefaultCommConfigW@12
378 ;GetDefaultSortkeySize
379 GetDevicePowerState@8
382 GetDiskFreeSpaceExA@16
383 GetDiskFreeSpaceExW@16
388 GetEnvironmentStrings@0
389 GetEnvironmentStringsA=GetEnvironmentStrings@0
390 GetEnvironmentStringsW@0
391 GetEnvironmentVariableA@12
392 GetEnvironmentVariableW@12
399 GetFileAttributesByHandle@12
400 GetFileAttributesExA@12
401 GetFileAttributesExW@12
402 GetFileBandwidthReservation@24
403 GetFileInformationByHandle@8
408 GetFinalPathNameByHandleA@16
409 GetFinalPathNameByHandleW@16
410 GetFirmwareEnvironmentVariableA@16
411 GetFirmwareEnvironmentVariableW@16
417 GetHandleInformation@8
418 GetLargePageMinimum@0
419 GetLargestConsoleWindowSize@4
426 GetLogicalDriveStringsA@8
427 GetLogicalDriveStringsW@8
429 GetLogicalProcessorInformation@8
433 GetModuleFileNameA@12
434 GetModuleFileNameW@12
436 GetModuleHandleExA@12
437 GetModuleHandleExW@12
439 GetNamedPipeHandleStateA@28
440 GetNamedPipeHandleStateW@28
442 GetNativeSystemInfo@4
445 GetNumaAvailableMemoryNode@8
446 GetNumaHighestNodeNumber@4
447 GetNumaNodeProcessorMask@8
449 GetNumaProcessorNode@8
452 GetNumberOfConsoleFonts@0
453 GetNumberOfConsoleInputEvents@8
454 GetNumberOfConsoleMouseButtons@4
456 GetOverlappedResult@16
458 GetPrivateProfileIntA@16
459 GetPrivateProfileIntW@16
460 GetPrivateProfileSectionA@16
461 GetPrivateProfileSectionNamesA@12
462 GetPrivateProfileSectionNamesW@12
463 GetPrivateProfileSectionW@16
464 GetPrivateProfileStringA@24
465 GetPrivateProfileStringW@24
466 GetPrivateProfileStructA@20
467 GetPrivateProfileStructW@20
469 GetProcessAffinityMask@12
470 GetProcessHandleCount@8
474 GetProcessIdOfThread@4
475 GetProcessIoCounters@8
476 GetProcessPriorityBoost@8
477 GetProcessShutdownParameters@8
480 GetProcessWorkingSetSize@12
481 GetProcessWorkingSetSizeEx@16
484 GetProfileSectionA@12
485 GetProfileSectionW@12
488 GetQueuedCompletionStatus@20
498 GetSystemDefaultLCID@0
499 GetSystemDefaultLangID@0
500 GetSystemDefaultUILanguage@0
501 GetSystemDirectoryA@8
502 GetSystemDirectoryW@8
503 GetSystemFileCacheSize@12
504 GetSystemFirmwareTable@16
506 GetSystemPowerStatus@4
507 GetSystemRegistryQuota@8
509 GetSystemTimeAdjustment@12
510 GetSystemTimeAsFileTime@4
512 GetSystemWow64DirectoryA@8
513 GetSystemWow64DirectoryW@8
514 GetSystemWindowsDirectoryA@8
515 GetSystemWindowsDirectoryW@8
525 GetThreadIOPendingFlag@8
528 GetThreadPriorityBoost@8
529 GetThreadSelectorEntry@12
535 GetTimeZoneInformation@4
537 GetUserDefaultLangID@0
538 GetUserDefaultUILanguage@0
540 GetVDMCurrentDirectories@8
544 GetVolumeInformationA@32
545 GetVolumeInformationW@32
546 GetVolumeNameForVolumeMountPointA@12
547 GetVolumeNameForVolumeMountPointW@12
548 GetVolumePathNameA@12
549 GetVolumePathNameW@12
550 GetVolumePathNamesForVolumeNameA@16
551 GetVolumePathNamesForVolumeNameW@16
552 GetWindowsDirectoryA@8
553 GetWindowsDirectoryW@8
565 GlobalGetAtomNameA@12
566 GlobalGetAtomNameW@12
570 GlobalMemoryStatusEx@4
581 HeapAlloc@12=NTDLL.RtlAllocateHeap
587 HeapFree@12=NTDLL.RtlFreeHeap
589 HeapQueryInformation@20
591 HeapReAlloc@16=NTDLL.RtlReAllocateHeap
592 HeapSetInformation@16
593 HeapSize@12=NTDLL.RtlSizeHeap
600 InitializeConditionVariable@4=NTDLL.RtlInitializeConditionVariable
601 InitializeCriticalSection@4
602 InitializeCriticalSectionAndSpinCount@8
603 InitializeSListHead@4=NTDLL.RtlInitializeSListHead
604 InitializeSRWLock@4=NTDLL.RtlInitializeSRWLock
605 InterlockedCompareExchange@12
606 InterlockedCompareExchange64@20=NTDLL.RtlInterlockedCompareExchange64@20
607 InterlockedDecrement@4
608 InterlockedExchange@8
609 InterlockedExchangeAdd@8
610 InterlockedFlushSList@4=NTDLL.RtlInterlockedFlushSList
611 InterlockedIncrement@4
612 InterlockedPopEntrySList@4=NTDLL.RtlInterlockedPopEntrySList
613 InterlockedPushEntrySList@8=NTDLL.RtlInterlockedPushEntrySList
614 InvalidateConsoleDIBits@8
626 IsProcessorFeaturePresent@4
627 IsSystemResumeAutomatic@0
630 IsValidLanguageGroup@8
636 LeaveCriticalSection@4=NTDLL.RtlLeaveCriticalSection
645 LocalFileTimeToFileTime@8
668 MapUserPhysicalPages@12
669 MapUserPhysicalPagesScatter@12
678 MoveFileWithProgressA@20
681 MoveFileWithProgressW@20
683 MultiByteToWideChar@24
684 NeedCurrentDirectoryForExePathA@4
685 NeedCurrentDirectoryForExePathW@4
686 NlsConvertIntegerToString@20
687 NlsGetCacheUpdateCount@0
688 ;NlsResetProcessLocale
689 ;NumaVirtualQueryNode
703 ;OpenProfileUserMapping@0
707 OpenWaitableTimerA@12
708 OpenWaitableTimerW@12
715 ;PrivMoveFileIdentityW
716 PostQueuedCompletionStatus@16
718 ProcessIdToSessionId@8
726 QueryDepthSList@4=NTDLL.RtlQueryDepthSList
729 QueryInformationJobObject@20
730 QueryMemoryResourceNotification@8
731 QueryPerformanceCounter@4
732 QueryPerformanceFrequency@4
735 QueryWin31IniFilesMappedToRegistry@16
742 ReadConsoleOutputA@20
743 ReadConsoleOutputAttribute@20
744 ReadConsoleOutputCharacterA@20
745 ReadConsoleOutputCharacterW@20
746 ReadConsoleOutputW@20
748 ReadDirectoryChangesW@32
755 RegisterApplicationRecoveryCallback@16
756 RegisterApplicationRestart@8
759 RegisterConsoleVDM@44
760 RegisterWaitForInputIdle@4
761 RegisterWaitForSingleObject@24
762 RegisterWaitForSingleObjectEx@20
763 RegisterWowBaseHandlers@4
768 ReleaseSRWLockExclusive@4=NTDLL.RtlReleaseSRWLockExclusive
769 ReleaseSRWLockShared@4=NTDLL.RtlReleaseSRWLockShared
772 ;RemoveLocalAlternateComputerNameA
773 ;RemoveLocalAlternateComputerNameW
774 RemoveVectoredExceptionHandler@4=NTDLL.RtlRemoveVectoredExceptionHandler
776 ReplaceFile=ReplaceFileW@24
779 RequestDeviceWakeup@4
780 RequestWakeupLatency@4
785 RtlCaptureContext@4=NTDLL.RtlCaptureContext
786 ;RtlCaptureStackBackTrace
787 RtlFillMemory@12=NTDLL.RtlFillMemory
788 RtlMoveMemory@12=NTDLL.RtlMoveMemory
789 RtlUnwind@16=NTDLL.RtlUnwind
790 RtlZeroMemory@8=NTDLL.RtlZeroMemory
791 ScrollConsoleScreenBufferA@20
792 ScrollConsoleScreenBufferW@20
798 SetClientTimeZoneInformation@4
799 ;SetComPlusPackageInstallStatus
809 SetConsoleActiveScreenBuffer@4
811 SetConsoleCommandHistoryMode@4
812 SetConsoleCtrlHandler@8
814 SetConsoleCursorInfo@8
815 ;SetConsoleCursorMode
816 SetConsoleCursorPosition@8
817 SetConsoleDisplayMode@12
819 SetConsoleHardwareState@12
820 SetConsoleHistoryInfo@4
822 SetConsoleInputExeNameA@4
823 SetConsoleInputExeNameW@4
824 SetConsoleKeyShortcuts@16
826 SetConsoleMaximumWindowSize@8
827 SetConsoleMenuClose@4
830 SetConsoleNumberOfCommandsA@8
831 SetConsoleNumberOfCommandsW@8
832 ;SetConsoleOS2OemFormat
835 SetConsoleScreenBufferInfoEx@8
836 SetConsoleScreenBufferSize@8
837 SetConsoleTextAttribute@8
840 SetConsoleWindowInfo@12
841 SetCriticalSectionSpinCount@8=NTDLL.RtlSetCriticalSectionSpinCount
842 SetCurrentDirectoryA@4
843 SetCurrentDirectoryW@4
844 SetDefaultCommConfigA@12
845 SetDefaultCommConfigW@12
849 SetEnvironmentVariableA@8
850 SetEnvironmentVariableW@8
857 SetFileAttributesByHandle@12
858 SetFileBandwidthReservation@24
859 SetFileCompletionNotificationModes@8
866 SetFirmwareEnvironmentVariableA@16
867 SetFirmwareEnvironmentVariableW@16
870 SetHandleInformation@12
871 SetInformationJobObject@16
872 SetLastConsoleEventActive@0
874 ;SetLocalPrimaryComputerNameA
875 ;SetLocalPrimaryComputerNameW
880 SetMessageWaitingIndicator@8
881 SetNamedPipeHandleState@16
883 SetProcessAffinityMask@8
884 SetProcessPriorityBoost@8
885 SetProcessShutdownParameters@8
886 SetProcessWorkingSetSize@12
887 SetProcessWorkingSetSizeEx@16
889 SetSystemFileCacheSize@12
890 SetSystemPowerState@8
892 SetSystemTimeAdjustment@8
895 ;SetTermsrvAppInstallMode
896 SetThreadAffinityMask@8
898 SetThreadExecutionState@4
899 SetThreadIdealProcessor@8
902 SetThreadPriorityBoost@8
903 SetThreadStackGuarantee@4
904 SetThreadUILanguage@4
905 SetTimerQueueTimer@24
906 SetTimeZoneInformation@4
907 SetUnhandledExceptionFilter@4
909 SetUserDefaultUILanguage@4
911 SetVDMCurrentDirectories@8
914 SetVolumeMountPointA@8
915 SetVolumeMountPointW@8
919 SignalObjectAndWait@16
922 SleepConditionVariableCS@12
923 SleepConditionVariableSRW@16
928 SystemTimeToFileTime@8
929 SystemTimeToTzSpecificLocalTime@12
933 ;TermsrvAppInstallMode
940 Toolhelp32ReadProcessMemory@20
944 TryEnterCriticalSection@4=NTDLL.RtlTryEnterCriticalSection
945 TzSpecificLocalTimeToSystemTime@12
946 UnhandledExceptionFilter@4
954 ;UnregisterConsoleIME
959 VDMConsoleOperation@8
960 VDMOperationStarted@4
963 VerSetConditionMask@16=NTDLL.VerSetConditionMask
964 VerifyConsoleIoHandle@4
965 VerifyVersionInfoA@16
966 VerifyVersionInfoW@16
969 VirtualBufferExceptionHandler@12
978 WakeAllConditionVariable@4=NTDLL.RtlWakeAllConditionVariable
979 WakeConditionVariable@4=NTDLL.RtlWakeConditionVariable
982 WaitForMultipleObjects@16
983 WaitForMultipleObjectsEx@20
984 WaitForSingleObject@8
985 WaitForSingleObjectEx@12
988 WideCharToMultiByte@32
990 Wow64EnableWow64FsRedirection@4
991 Wow64DisableWow64FsRedirection@4
992 Wow64RevertWow64FsRedirection@4
994 WriteConsoleInputA@16
995 WriteConsoleInputVDMA@16
996 WriteConsoleInputVDMW@16
997 WriteConsoleInputW@16
998 WriteConsoleOutputA@20
999 WriteConsoleOutputAttribute@20
1000 WriteConsoleOutputCharacterA@20
1001 WriteConsoleOutputCharacterW@20
1002 WriteConsoleOutputW@20
1007 WritePrivateProfileSectionA@12
1008 WritePrivateProfileSectionW@12
1009 WritePrivateProfileStringA@16
1010 WritePrivateProfileStringW@16
1011 WritePrivateProfileStructA@20
1012 WritePrivateProfileStructW@20
1013 WriteProcessMemory@20
1014 WriteProfileSectionA@8
1015 WriteProfileSectionW@8
1016 WriteProfileStringA@12
1017 WriteProfileStringW@12
1019 WTSGetActiveConsoleSessionId@0
1028 _lwrite@12=_hwrite@12
1029 lstrcat@8=lstrcatA@8
1032 lstrcmp@8=lstrcmpA@8
1035 lstrcmpi@8=lstrcmpiA@8
1038 lstrcpy@8=lstrcpyA@8
1041 lstrcpyn@12=lstrcpynA@12
1044 lstrlen@4=lstrlenA@4
1048 ; TODO: these require the data file
1050 ;IdnToNameprepUnicode@20
1052 IsNormalizedString@12