Added some stubbs for the WINE kernel32 regression test
[reactos.git] / reactos / lib / kernel32 / kernel32.def
1 ;
2 ; kernel32.def
3 ;
4 ; Exports for KERNEL32 DLL
5 ;
6 ; Copyright (C) 1996 Free Software Foundation, Inc.
7 ;
8 ; Author: Scott Christley <scottc@net-community.com>
9 ; Date: 1996
10 ;
11 ; This file is part of the Windows32 API Library.
12 ;
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.
17 ;
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.
22 ;
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.
25 ;
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.
30 ;
31 LIBRARY KERNEL32.DLL
32 EXPORTS
33 AddAtomA@4
34 AddAtomW@4
35 AddConsoleAliasA@12
36 AddConsoleAliasW@12
37 AllocConsole@0
38 AreFileApisANSI@0
39 BackupRead@28
40 BackupSeek@24
41 BackupWrite@28
42 BaseAttachCompleteThunk@0
43 Beep@8
44 BeginUpdateResourceA@8
45 BeginUpdateResourceW@8
46 BuildCommDCBA@8
47 BuildCommDCBAndTimeoutsA@12
48 BuildCommDCBAndTimeoutsW@12
49 BuildCommDCBW@8
50 CallNamedPipeA@28
51 CallNamedPipeW@28
52 CancelIo
53 CancelWaitableTimer@4
54 ClearCommBreak@4
55 ClearCommError@12
56 CloseConsoleHandle@4
57 CloseHandle@4
58 CloseProfileUserMapping@0
59 CmdBatNotification@4
60 CommConfigDialogA@12
61 CommConfigDialogW@12
62 CompareFileTime@8
63 CompareStringA@24
64 CompareStringW@24
65 ConnectNamedPipe@8
66 ConsoleMenuControl@12
67 ContinueDebugEvent@12
68 ConvertDefaultLocale@4
69 ConvertThreadToFiber@4
70 CopyFileA@12
71 CopyFileExA@24
72 CopyFileExW@24
73 CopyFileW@12
74 CreateConsoleScreenBuffer@20
75 CreateDirectoryA@8
76 CreateDirectoryExA@12
77 CreateDirectoryExW@12
78 CreateDirectoryW@8
79 CreateEventA@16
80 CreateEventW@16
81 CreateFiber@12
82 CreateFileA@28
83 CreateFileMappingA@24
84 CreateFileMappingW@24
85 CreateFileW@28
86 CreateIoCompletionPort@16
87 CreateMailslotA@16
88 CreateMailslotW@16
89 CreateMutexA@12
90 CreateMutexW@12
91 CreateNamedPipeA@32
92 CreateNamedPipeW@32
93 CreatePipe@16
94 CreateProcessA@40
95 CreateProcessW@40
96 CreateRemoteThread@28
97 CreateSemaphoreA@16
98 CreateSemaphoreW@16
99 CreateTapePartition@16
100 CreateThread@24
101 CreateVirtualBuffer@12
102 CreateWaitableTimerA@12
103 CreateWaitableTimerW@12
104 DebugActiveProcess@4
105 DebugBreak@0
106 DefineDosDeviceA@12
107 DefineDosDeviceW@12
108 DeleteAtom@4
109 DeleteCriticalSection@4
110 DeleteFiber@4
111 DeleteFileA@4
112 DeleteFileW@4
113 DeviceIoControl@32
114 DisableThreadLibraryCalls@4
115 DisconnectNamedPipe@4
116 DosDateTimeToFileTime@12
117 DuplicateConsoleHandle@16
118 DuplicateHandle@28
119 EndUpdateResourceA@8
120 EndUpdateResourceW@8
121 EnterCriticalSection@4
122 EnumCalendarInfoA@16
123 EnumCalendarInfoW@16
124 EnumDateFormatsA@12
125 EnumDateFormatsW@12
126 EnumResourceLanguagesA@20
127 EnumResourceLanguagesW@20
128 EnumResourceNamesA@16
129 EnumResourceNamesW@16
130 EnumResourceTypesA@12
131 EnumResourceTypesW@12
132 EnumSystemCodePagesA@8
133 EnumSystemCodePagesW@8
134 EnumSystemLocalesA@8
135 EnumSystemLocalesW@8
136 EnumTimeFormatsA@12
137 EnumTimeFormatsW@12
138 EraseTape@12
139 EscapeCommFunction@8
140 ExitProcess@4
141 ExitThread@4
142 ExitVDM@8
143 ExpandEnvironmentStringsA@12
144 ExpandEnvironmentStringsW@12
145 ExpungeConsoleCommandHistoryA@4
146 ExpungeConsoleCommandHistoryW@4
147 ExtendVirtualBuffer@8
148 FatalAppExitA@8
149 FatalAppExitW@8
150 FatalExit@4
151 FileTimeToDosDateTime@12
152 FileTimeToLocalFileTime@8
153 FileTimeToSystemTime@8
154 FillConsoleOutputAttribute@20
155 FillConsoleOutputCharacterA@20
156 FillConsoleOutputCharacterW@20
157 FindAtomA@4
158 FindAtomW@4
159 FindClose@4
160 FindCloseChangeNotification@4
161 FindFirstChangeNotificationA@12
162 FindFirstChangeNotificationW@12
163 FindFirstFileA@8
164 FindFirstFileW@8
165 FindNextChangeNotification@4
166 FindNextFileA@8
167 FindNextFileW@8
168 FindResourceA@12
169 FindResourceExA@16
170 FindResourceExW@16
171 FindResourceW@12
172 FlushConsoleInputBuffer@4
173 FlushFileBuffers@4
174 FlushInstructionCache@12
175 FlushViewOfFile@8
176 FoldStringA@20
177 FoldStringW@20
178 FormatMessageA@28
179 FormatMessageW@28
180 FreeConsole@0
181 FreeEnvironmentStringsA@4
182 FreeEnvironmentStringsW@4
183 FreeLibrary@4
184 FreeLibraryAndExitThread@8
185 FreeResource@4
186 FreeVirtualBuffer@4
187 GenerateConsoleCtrlEvent@8
188 GetACP@0
189 GetAtomNameA@12
190 GetAtomNameW@12
191 GetBinaryType@8
192 GetBinaryTypeA@8
193 GetBinaryTypeW@8
194 GetCPInfo@8
195 GetCommConfig@12
196 GetCommMask@8
197 GetCommModemStatus@8
198 GetCommProperties@8
199 GetCommState@8
200 GetCommTimeouts@8
201 GetCommandLineA@0
202 GetCommandLineW@0
203 GetCompressedFileSizeA@8
204 GetCompressedFileSizeW@8
205 GetComputerNameA@8
206 GetComputerNameW@8
207 GetConsoleAliasA@16
208 GetConsoleAliasExesA@8
209 GetConsoleAliasExesLengthA@0
210 GetConsoleAliasExesLengthW@0
211 GetConsoleAliasExesW@8
212 GetConsoleAliasW@16
213 GetConsoleAliasesA@12
214 GetConsoleAliasesLengthA@4
215 GetConsoleAliasesLengthW@4
216 GetConsoleAliasesW@12
217 GetConsoleCP@0
218 GetConsoleCommandHistoryA@12
219 GetConsoleCommandHistoryLengthA@4
220 GetConsoleCommandHistoryLengthW@4
221 GetConsoleCommandHistoryW@12
222 GetConsoleCursorInfo@8
223 GetConsoleDisplayMode@4
224 GetConsoleFontInfo@16
225 GetConsoleFontSize@8
226 GetConsoleHardwareState@12
227 GetConsoleInputWaitHandle@0
228 GetConsoleMode@8
229 GetConsoleOutputCP@0
230 GetConsoleScreenBufferInfo@8
231 GetConsoleTitleA@8
232 GetConsoleTitleW@8
233 GetCurrencyFormatA@24
234 GetCurrencyFormatW@24
235 GetCurrentConsoleFont@12
236 GetCurrentDirectoryA@8
237 GetCurrentDirectoryW@8
238 GetCurrentFiber@0
239 GetCurrentProcess@0
240 GetCurrentProcessId@0
241 GetCurrentThread@0
242 GetCurrentThreadId@0
243 GetDateFormatA@24
244 GetDateFormatW@24
245 GetDefaultCommConfigA@12
246 GetDefaultCommConfigW@12
247 GetDiskFreeSpaceA@20
248 GetDiskFreeSpaceW@20
249 GetDiskFreeSpaceExA@16
250 GetDiskFreeSpaceExW@16
251 GetDriveTypeA@4
252 GetDriveTypeW@4
253 GetEnvironmentStringsA@0
254 GetEnvironmentStringsW@0
255 GetEnvironmentVariableA@12
256 GetEnvironmentVariableW@12
257 GetExitCodeProcess@8
258 GetExitCodeThread@8
259 GetFiberData@0
260 GetFileAttributesA@4
261 GetFileAttributesW@4
262 GetFileInformationByHandle@8
263 GetFileSize@8
264 GetFileTime@16
265 GetFileType@4
266 GetFullPathNameA@16
267 GetFullPathNameW@16
268 GetHandleInformation@8
269 GetLargestConsoleWindowSize@4
270 GetLastError@0
271 GetLocalTime@4
272 GetLocaleInfoA@16
273 GetLocaleInfoW@16
274 GetLogicalDriveStringsA@8
275 GetLogicalDriveStringsW@8
276 GetLogicalDrives@0
277 GetMailslotInfo@20
278 GetModuleFileNameA@12
279 GetModuleFileNameW@12
280 GetModuleHandleA@4
281 GetModuleHandleW@4
282 GetNamedPipeHandleStateA@28
283 GetNamedPipeHandleStateW@28
284 GetNamedPipeInfo@20
285 GetNextVDMCommand@4
286 GetNumberFormatA@24
287 GetNumberFormatW@24
288 GetNumberOfConsoleFonts@0
289 GetNumberOfConsoleInputEvents@8
290 GetNumberOfConsoleMouseButtons@4
291 GetOEMCP@0
292 GetOverlappedResult@16
293 GetPriorityClass@4
294 GetPrivateProfileIntA@16
295 GetPrivateProfileIntW@16
296 GetPrivateProfileSectionA@16
297 GetPrivateProfileSectionNamesA@12
298 GetPrivateProfileSectionNamesW@12
299 GetPrivateProfileSectionW@16
300 GetPrivateProfileStringA@24
301 GetPrivateProfileStringW@24
302 GetPrivateProfileStructA@20
303 GetPrivateProfileStructW@20
304 GetProcAddress@8
305 GetProcessAffinityMask@12
306 GetProcessHeap@0
307 GetProcessHeaps@8
308 GetProcessShutdownParameters@8
309 GetProcessTimes@20
310 GetProcessVersion@4
311 GetProcessWorkingSetSize@12
312 GetProfileIntA@12
313 GetProfileIntW@12
314 GetProfileSectionA@12
315 GetProfileSectionW@12
316 GetProfileStringA@20
317 GetProfileStringW@20
318 GetQueuedCompletionStatus@20
319 GetShortPathNameA@12
320 GetShortPathNameW@12
321 GetStartupInfoA@4
322 GetStartupInfoW@4
323 GetStdHandle@4
324 GetStringTypeA@20
325 GetStringTypeExA@20
326 GetStringTypeExW@20
327 GetStringTypeW@16
328 GetSystemDefaultLCID@0
329 GetSystemDefaultLangID@0
330 GetSystemDirectoryA@8
331 GetSystemDirectoryW@8
332 GetSystemInfo@4
333 GetSystemPowerStatus@4
334 GetSystemTime@4
335 GetSystemTimeAdjustment@12
336 GetSystemTimeAsFileTime@4
337 GetTapeParameters@16
338 GetTapePosition@20
339 GetTapeStatus@4
340 GetTempFileNameA@16
341 GetTempFileNameW@16
342 GetTempPathA@8
343 GetTempPathW@8
344 GetThreadContext@8
345 GetThreadLocale@0
346 GetThreadPriority@4
347 GetThreadPriorityBoost@8
348 GetThreadSelectorEntry@12
349 GetThreadTimes@20
350 GetTickCount@0
351 GetTimeFormatA@24
352 GetTimeFormatW@24
353 GetTimeZoneInformation@4
354 GetUserDefaultLCID@0
355 GetUserDefaultLangID@0
356 GetVDMCurrentDirectories@8
357 GetVersion@0
358 GetVersionExA@4
359 GetVersionExW@4
360 GetVolumeInformationA@32
361 GetVolumeInformationW@32
362 GetWindowsDirectoryA@8
363 GetWindowsDirectoryW@8
364 GlobalAddAtomA@4
365 GlobalAddAtomW@4
366 GlobalAlloc@8
367 GlobalCompact@4
368 GlobalDeleteAtom@4
369 GlobalFindAtomA@4
370 GlobalFindAtomW@4
371 GlobalFix@4
372 GlobalFlags@4
373 GlobalFree@4
374 GlobalGetAtomNameA@12
375 GlobalGetAtomNameW@12
376 GlobalHandle@4
377 GlobalLock@4
378 GlobalMemoryStatus@4
379 GlobalReAlloc@12
380 GlobalSize@4
381 GlobalUnWire@4
382 GlobalUnfix@4
383 GlobalUnlock@4
384 GlobalWire@4
385 HeapAlloc@12
386 HeapCompact@8
387 HeapCreate@12
388 HeapCreateTagsW@16
389 HeapDestroy@4
390 HeapExtend@16
391 HeapFree@12
392 HeapLock@4
393 HeapQueryTagW@20
394 HeapReAlloc@16
395 HeapSize@12
396 HeapSummary@12
397 HeapUnlock@4
398 HeapUsage@20
399 HeapValidate@12
400 HeapWalk@8
401 InitAtomTable@4
402 InitializeCriticalSection@4
403 InterlockedCompareExchange@12
404 InterlockedDecrement@4
405 InterlockedExchange@8
406 InterlockedExchangeAdd@8
407 InterlockedIncrement@4
408 InvalidateConsoleDIBits@8
409 IsBadCodePtr@4
410 IsBadHugeReadPtr@8
411 IsBadHugeWritePtr@8
412 IsBadReadPtr@8
413 IsBadStringPtrA@8
414 IsBadStringPtrW@8
415 IsBadWritePtr@8
416 IsDBCSLeadByte@4
417 IsDBCSLeadByteEx@8
418 IsDebuggerPresent@0
419 IsValidCodePage@4
420 IsValidLocale@8
421 LCMapStringA@24
422 LCMapStringW@24
423 LeaveCriticalSection@4
424 LoadLibraryA@4
425 LoadLibraryExA@12
426 LoadLibraryExW@12
427 LoadLibraryW@4
428 LoadModule@8
429 LoadResource@8
430 LocalAlloc@8
431 LocalCompact@4
432 LocalFileTimeToFileTime@8
433 LocalFlags@4
434 LocalFree@4
435 LocalHandle@4
436 LocalLock@4
437 LocalReAlloc@12
438 LocalShrink@8
439 LocalSize@4
440 LocalUnlock@4
441 LockFile@20
442 LockFileEx@24
443 LockResource@4
444 MapViewOfFile@20
445 MapViewOfFileEx@24
446 MoveFileA@8
447 MoveFileExA@12
448 MoveFileExW@12
449 MoveFileW@8
450 MulDiv@12
451 MultiByteToWideChar@24
452 OpenConsoleW@16
453 OpenEventA@12
454 OpenEventW@12
455 OpenFile@12
456 OpenFileMappingA@12
457 OpenFileMappingW@12
458 OpenMutexA@12
459 OpenMutexW@12
460 OpenProcess@12
461 OpenProfileUserMapping@0
462 OpenSemaphoreA@12
463 OpenSemaphoreW@12
464 OpenWaitableTimerA@12
465 OpenWaitableTimerW@12
466 OutputDebugStringA@4
467 OutputDebugStringW@4
468 PeekConsoleInputA@16
469 PeekConsoleInputW@16
470 PeekNamedPipe@24
471 PostQueuedCompletionStatus@16
472 PrepareTape@12
473 ProcessIdToSessionId@8
474 PulseEvent@4
475 PurgeComm@8
476 QueryDosDeviceA@12
477 QueryDosDeviceW@12
478 QueryPerformanceCounter@4
479 QueryPerformanceFrequency@4
480 QueryWin31IniFilesMappedToRegistry@16
481 RaiseException@16
482 ReadConsoleA@20
483 ReadConsoleInputA@16
484 ReadConsoleInputW@16
485 ReadConsoleOutputA@20
486 ReadConsoleOutputAttribute@20
487 ReadConsoleOutputCharacterA@20
488 ReadConsoleOutputCharacterW@20
489 ReadConsoleOutputW@20
490 ReadConsoleW@20
491 ReadFile@20
492 ReadFileEx@20
493 ReadProcessMemory@20
494 RegisterConsoleVDM@44
495 RegisterWaitForInputIdle@4
496 RegisterWowBaseHandlers@4
497 RegisterWowExec@4
498 ReleaseMutex@4
499 ReleaseSemaphore@12
500 RemoveDirectoryA@4
501 RemoveDirectoryW@4
502 ResetEvent@4
503 ResumeThread@4
504 RtlFillMemory@12
505 RtlMoveMemory@12
506 RtlUnwind@16
507 RtlZeroMemory@8
508 ScrollConsoleScreenBufferA@20
509 ScrollConsoleScreenBufferW@20
510 SearchPathA@24
511 SearchPathW@24
512 SetCommBreak@4
513 SetCommConfig@12
514 SetCommMask@8
515 SetCommState@8
516 SetCommTimeouts@8
517 SetComputerNameA@4
518 SetComputerNameW@4
519 SetConsoleActiveScreenBuffer@4
520 SetConsoleCP@4
521 SetConsoleCommandHistoryMode@4
522 SetConsoleCtrlHandler@8
523 SetConsoleCursor@8
524 SetConsoleCursorInfo@8
525 SetConsoleCursorPosition@8
526 SetConsoleDisplayMode@12
527 SetConsoleFont@8
528 SetConsoleHardwareState@12
529 SetConsoleKeyShortcuts@16
530 SetConsoleMaximumWindowSize@8
531 SetConsoleMenuClose@4
532 SetConsoleMode@8
533 SetConsoleNumberOfCommandsA@8
534 SetConsoleNumberOfCommandsW@8
535 SetConsoleOutputCP@4
536 SetConsolePalette@12
537 SetConsoleScreenBufferSize@8
538 SetConsoleTextAttribute@8
539 SetConsoleTitleA@4
540 SetConsoleTitleW@4
541 SetConsoleWindowInfo@12
542 SetCurrentDirectoryA@4
543 SetCurrentDirectoryW@4
544 SetDefaultCommConfigA@12
545 SetDefaultCommConfigW@12
546 SetEndOfFile@4
547 SetEnvironmentVariableA@8
548 SetEnvironmentVariableW@8
549 SetErrorMode@4
550 SetEvent@4
551 SetFileApisToANSI@0
552 SetFileApisToOEM@0
553 SetFileAttributesA@8
554 SetFileAttributesW@8
555 SetFilePointer@16
556 SetFileTime@16
557 SetHandleCount@4
558 SetHandleInformation@12
559 SetLastConsoleEventActive@0
560 SetLastError@4
561 SetLastErrorByStatus@4
562 SetLocalTime@4
563 SetLocaleInfoA@12
564 SetLocaleInfoW@12
565 SetMailslotInfo@8
566 SetNamedPipeHandleState@16
567 SetPriorityClass@8
568 SetProcessShutdownParameters@8
569 SetProcessWorkingSetSize@12
570 SetStdHandle@8
571 SetSystemPowerState@8
572 SetSystemTime@4
573 SetSystemTimeAdjustment@8
574 SetTapeParameters@12
575 SetTapePosition@24
576 SetThreadAffinityMask@8
577 SetThreadContext@8
578 SetThreadIdealProcessor@8
579 SetThreadLocale@4
580 SetThreadPriority@8
581 SetThreadPriorityBoost@8
582 SetTimeZoneInformation@4
583 SetUnhandledExceptionFilter@4
584 SetVDMCurrentDirectories@8
585 SetVolumeLabelA@8
586 SetVolumeLabelW@8
587 SetWaitableTimer@24
588 SetupComm@12
589 ShowConsoleCursor@8
590 SizeofResource@8
591 Sleep@4
592 SleepEx@8
593 SuspendThread@4
594 SwitchToFiber@4
595 SwitchToThread@0
596 SystemTimeToFileTime@8
597 SystemTimeToTzSpecificLocalTime@12
598 TerminateProcess@8
599 TerminateThread@8
600 TlsAlloc@0
601 TlsFree@4
602 TlsGetValue@4
603 TlsSetValue@8
604 TransactNamedPipe@28
605 TransmitCommChar@8
606 TrimVirtualBuffer@4
607 TryEnterCriticalSection@4
608 UnhandledExceptionFilter@4
609 UnlockFile@20
610 UnlockFileEx@20
611 UnmapViewOfFile@4
612 UpdateResourceA@24
613 UpdateResourceW@24
614 VDMConsoleOperation@8
615 VDMOperationStarted@4
616 VerLanguageNameA@12
617 VerLanguageNameW@12
618 VerifyConsoleIoHandle@4
619 VirtualAlloc@16
620 VirtualAllocEx@20
621 VirtualBufferExceptionHandler@12
622 VirtualFree@12
623 VirtualFreeEx@16
624 VirtualLock@8
625 VirtualProtect@16
626 VirtualProtectEx@20
627 VirtualQuery@12
628 VirtualQueryEx@16
629 VirtualUnlock@8
630 WaitCommEvent@12
631 WaitForDebugEvent@8
632 WaitForMultipleObjects@16
633 WaitForMultipleObjectsEx@20
634 WaitForSingleObject@8
635 WaitForSingleObjectEx@12
636 WaitNamedPipeA@8
637 WaitNamedPipeW@8
638 WideCharToMultiByte@32
639 WinExec@8
640 WriteConsoleA@20
641 WriteConsoleInputA@16
642 WriteConsoleInputVDMA@16
643 WriteConsoleInputVDMW@16
644 WriteConsoleInputW@16
645 WriteConsoleOutputA@20
646 WriteConsoleOutputAttribute@20
647 WriteConsoleOutputCharacterA@20
648 WriteConsoleOutputCharacterW@20
649 WriteConsoleOutputW@20
650 WriteConsoleW@20
651 WriteFile@20
652 WriteFileEx@20
653 WritePrivateProfileSectionA@12
654 WritePrivateProfileSectionW@12
655 WritePrivateProfileStringA@16
656 WritePrivateProfileStringW@16
657 WritePrivateProfileStructA@20
658 WritePrivateProfileStructW@20
659 WriteProcessMemory@20
660 WriteProfileSectionA@8
661 WriteProfileSectionW@8
662 WriteProfileStringA@12
663 WriteProfileStringW@12
664 WriteTapemark@16
665 _hread@12
666 _hwrite@12
667 _lclose@4
668 _lcreat@8
669 _llseek@12
670 _lopen@8
671 _lread@12
672 _lwrite@12
673 ;lstrcat@8
674 lstrcatA@8
675 lstrcatW@8
676 ;lstrcmp@8
677 lstrcmpA@8
678 lstrcmpW@8
679 ;lstrcmpi@8
680 lstrcmpiA@8
681 lstrcmpiW@8
682 ;lstrcpy@8
683 lstrcpyA@8
684 lstrcpyW@8
685 ;lstrcpyn@12
686 lstrcpynA@12
687 lstrcpynW@12
688 ;lstrlen@4
689 lstrlenA@4
690 lstrlenW@4