1 /* $Id: stubs.c,v 1.1 1999/07/12 21:01:06 ea Exp $
2 * KERNEL32.DLL stubs (unimplemented functions)
3 * Remove from this file, if you implement them.
13 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
24 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
36 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
48 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
57 DWORD nNumberOfBytesToRead
,
58 LPDWORD lpNumberOfBytesRead
,
60 WINBOOL bProcessSecurity
,
64 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
73 DWORD dwLowBytesToSeek
,
74 DWORD dwHighBytesToSeek
,
75 LPDWORD lpdwLowByteSeeked
,
76 LPDWORD lpdwHighByteSeeked
,
80 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
90 DWORD nNumberOfBytesToWrite
,
91 LPDWORD lpNumberOfBytesWritten
,
93 WINBOOL bProcessSecurity
,
97 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
104 BaseAttachCompleteThunk (VOID
)
106 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
113 BeginUpdateResourceW (
115 WINBOOL bDeleteExistingResources
118 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
125 BeginUpdateResourceA (
127 WINBOOL bDeleteExistingResources
130 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
142 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
154 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
161 BuildCommDCBAndTimeoutsA (
164 LPCOMMTIMEOUTS lpCommTimeouts
167 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
174 BuildCommDCBAndTimeoutsW (
177 LPCOMMTIMEOUTS lpCommTimeouts
180 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
188 LPCSTR lpNamedPipeName
,
192 DWORD nOutBufferSize
,
197 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
205 LPCWSTR lpNamedPipeName
,
209 DWORD nOutBufferSize
,
214 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
225 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
238 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
249 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
255 CloseProfileUserMapping ( VOID
)
257 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
268 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
281 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
294 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
310 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
326 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
335 LPOVERLAPPED lpOverlapped
338 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
351 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
361 DWORD dwContinueStatus
364 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
371 ConvertDefaultLocale (
375 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
384 LPSECURITY_ATTRIBUTES lpFileMappingAttributes
,
386 DWORD dwMaximumSizeHigh
,
387 DWORD dwMaximumSizeLow
,
391 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
392 return INVALID_HANDLE_VALUE
;
400 LPSECURITY_ATTRIBUTES lpFileMappingAttributes
,
402 DWORD dwMaximumSizeHigh
,
403 DWORD dwMaximumSizeLow
,
407 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
408 return INVALID_HANDLE_VALUE
;
416 DWORD nMaxMessageSize
,
418 LPSECURITY_ATTRIBUTES lpSecurityAttributes
421 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
422 return INVALID_HANDLE_VALUE
;
430 DWORD nMaxMessageSize
,
432 LPSECURITY_ATTRIBUTES lpSecurityAttributes
435 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
436 return INVALID_HANDLE_VALUE
;
447 DWORD nOutBufferSize
,
449 DWORD nDefaultTimeOut
,
450 LPSECURITY_ATTRIBUTES lpSecurityAttributes
453 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
454 return INVALID_HANDLE_VALUE
;
465 DWORD nOutBufferSize
,
467 DWORD nDefaultTimeOut
,
468 LPSECURITY_ATTRIBUTES lpSecurityAttributes
471 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
472 return INVALID_HANDLE_VALUE
;
478 CreateTapePartition (
480 DWORD dwPartitionMethod
,
485 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
492 CreateVirtualBuffer (
498 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
509 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
518 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
528 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
535 DisableThreadLibraryCalls (
539 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
546 DisconnectNamedPipe (
550 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
557 DuplicateConsoleHandle (
564 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
576 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
588 return EndUpdateResourceW(
598 CALINFO_ENUMPROC lpCalInfoEnumProc
,
604 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
613 CALINFO_ENUMPROC lpCalInfoEnumProc
,
619 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
627 DATEFMT_ENUMPROC lpDateFmtEnumProc
,
632 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
640 DATEFMT_ENUMPROC lpDateFmtEnumProc
,
645 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
652 EnumResourceLanguagesW (
656 ENUMRESLANGPROC lpEnumFunc
,
660 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
667 EnumResourceLanguagesA (
671 ENUMRESLANGPROC lpEnumFunc
,
675 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
685 ENUMRESNAMEPROC lpEnumFunc
,
689 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
699 ENUMRESNAMEPROC lpEnumFunc
,
703 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
712 ENUMRESTYPEPROC lpEnumFunc
,
716 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
726 ENUMRESTYPEPROC lpEnumFunc
,
730 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
737 EnumSystemCodePagesW(
738 CODEPAGE_ENUMPROC lpCodePageEnumProc
,
742 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
749 EnumSystemCodePagesA(
750 CODEPAGE_ENUMPROC lpCodePageEnumProc
,
754 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
762 LOCALE_ENUMPROC lpLocaleEnumProc
,
766 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
774 LOCALE_ENUMPROC lpLocaleEnumProc
,
778 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
786 TIMEFMT_ENUMPROC lpTimeFmtEnumProc
,
791 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
799 TIMEFMT_ENUMPROC lpTimeFmtEnumProc
,
804 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
817 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
829 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
841 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
848 ExpandEnvironmentStringsW(
854 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
861 ExpandEnvironmentStringsA(
867 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
874 ExpungeConsoleCommandHistoryW (
878 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
885 ExpungeConsoleCommandHistoryA (
889 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
896 ExtendVirtualBuffer (
901 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
912 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
922 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
933 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
940 FindCloseChangeNotification(
944 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
951 FindFirstChangeNotificationW (
953 WINBOOL bWatchSubtree
,
957 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
958 return INVALID_HANDLE_VALUE
;
964 FindFirstChangeNotificationA(
966 WINBOOL bWatchSubtree
,
970 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
971 return INVALID_HANDLE_VALUE
;
977 FindNextChangeNotification (
981 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
994 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
995 return INVALID_HANDLE_VALUE
;
1007 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1008 return INVALID_HANDLE_VALUE
;
1021 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1022 return INVALID_HANDLE_VALUE
;
1035 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1036 return INVALID_HANDLE_VALUE
;
1044 LPCVOID lpBaseAddress
,
1045 DWORD dwNumberOfBytesToFlush
1048 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1063 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1079 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1097 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1114 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1121 FreeLibraryAndExitThread (
1126 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1136 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1144 HANDLE hVirtualBuffer
1147 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1156 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1170 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1183 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1191 LPCWSTR lpApplicationName
,
1192 LPDWORD lpBinaryType
1195 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1203 LPCSTR lpApplicationName
,
1204 LPDWORD lpBinaryType
1207 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1214 GetCPInfo (UINT a0
, LPCPINFO a1
)
1216 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1229 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1241 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1249 GetCommModemStatus (
1254 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1263 LPCOMMPROP lpCommProp
1266 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1278 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1287 LPCOMMTIMEOUTS lpCommTimeouts
1290 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1302 WCHAR Name
[MAX_COMPUTERNAME_LENGTH
+ 1];
1306 * FIXME: get the computer's name from
1309 lstrcpyW( Name
, L
"ROSHost" ); /* <-- FIXME -- */
1310 Size
= lstrlenW(Name
) + 1;
1314 SetLastError(ERROR_BUFFER_OVERFLOW
);
1317 lstrcpyW( lpBuffer
, Name
);
1329 WCHAR Name
[MAX_COMPUTERNAME_LENGTH
+ 1];
1332 if (FALSE
== GetComputerNameW(
1340 /* Use UNICODE to ANSI */
1341 for ( i
=0; Name
[i
]; ++i
)
1343 lpBuffer
[i
] = (CHAR
) Name
[i
];
1360 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1374 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1382 GetConsoleAliasExesW (
1387 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1395 GetConsoleAliasExesA (
1400 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1408 GetConsoleAliasExesLengthA (VOID
)
1410 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1418 GetConsoleAliasExesLengthW (VOID
)
1420 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1428 GetConsoleAliasesW (
1434 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1442 GetConsoleAliasesA (
1448 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1456 GetConsoleAliasesLengthW (
1460 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1468 GetConsoleAliasesLengthA (
1472 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1479 GetConsoleCommandHistoryW (
1485 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1492 GetConsoleCommandHistoryA (
1498 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1505 GetConsoleCommandHistoryLengthW (
1509 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1516 GetConsoleCommandHistoryLengthA (
1520 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1527 GetConsoleDisplayMode (
1531 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1538 GetConsoleFontInfo (
1545 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1552 GetConsoleFontSize (
1557 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1564 GetConsoleHardwareState (
1570 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1577 GetConsoleInputWaitHandle (VOID
)
1579 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1590 CONST CURRENCYFMT
*lpFormat
,
1591 LPWSTR lpCurrencyStr
,
1595 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1606 CONST CURRENCYFMT
*lpFormat
,
1607 LPSTR lpCurrencyStr
,
1611 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1618 GetCurrentConsoleFont (
1624 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1634 CONST SYSTEMTIME
*lpDate
,
1640 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1650 CONST SYSTEMTIME
*lpDate
,
1656 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1663 GetDefaultCommConfigW(
1669 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1676 GetDefaultCommConfigA(
1682 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1696 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1710 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1719 LPDWORD lpMaxMessageSize
,
1721 LPDWORD lpMessageCount
,
1722 LPDWORD lpReadTimeout
1725 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1732 GetModuleFileNameW (
1738 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1745 GetModuleFileNameA (
1751 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1759 LPCWSTR lpModuleName
1762 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1763 return INVALID_HANDLE_VALUE
;
1773 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1774 return INVALID_HANDLE_VALUE
;
1780 GetNamedPipeHandleStateW (
1783 LPDWORD lpCurInstances
,
1784 LPDWORD lpMaxCollectionCount
,
1785 LPDWORD lpCollectDataTimeout
,
1787 DWORD nMaxUserNameSize
1790 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1797 GetNamedPipeHandleStateA (
1800 LPDWORD lpCurInstances
,
1801 LPDWORD lpMaxCollectionCount
,
1802 LPDWORD lpCollectDataTimeout
,
1804 DWORD nMaxUserNameSize
1807 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1817 LPDWORD lpOutBufferSize
,
1818 LPDWORD lpInBufferSize
,
1819 LPDWORD lpMaxInstances
1822 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1833 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1844 CONST NUMBERFMT
*lpFormat
,
1849 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1860 CONST NUMBERFMT
*lpFormat
,
1865 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1872 GetNumberOfConsoleFonts (VOID
)
1874 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1875 return 1; /* FIXME: call csrss.exe */
1883 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1884 return 437; /* FIXME: call csrss.exe */
1894 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1895 return NORMAL_PRIORITY_CLASS
; /* FIXME: call NTOSKRNL.Ps */
1902 GetPrivateProfileIntW(
1909 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1916 GetPrivateProfileIntA(
1923 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1930 GetPrivateProfileSectionW(
1932 LPWSTR lpReturnedString
,
1937 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1944 GetPrivateProfileSectionA(
1946 LPSTR lpReturnedString
,
1951 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1958 GetPrivateProfileSectionNamesW (
1964 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1971 GetPrivateProfileSectionNamesA (
1977 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1984 GetPrivateProfileStringW(
1988 LPWSTR lpReturnedString
,
1993 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2000 GetPrivateProfileStringA(
2004 LPSTR lpReturnedString
,
2009 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2016 GetPrivateProfileStructW (
2024 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2031 GetPrivateProfileStructA (
2039 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2046 GetProcessAffinityMask (
2048 LPDWORD lpProcessAffinityMask
,
2049 LPDWORD lpSystemAffinityMask
2052 /* FIXME: check hProcess is actually a process */
2053 /* FIXME: query the kernel process object */
2054 *lpProcessAffinityMask
= 0x00000001;
2055 *lpSystemAffinityMask
= 0x00000001;
2062 GetProcessShutdownParameters (
2067 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2078 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2085 GetProcessWorkingSetSize (
2087 LPDWORD lpMinimumWorkingSetSize
,
2088 LPDWORD lpMaximumWorkingSetSize
2091 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2104 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2117 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2126 LPWSTR lpReturnedString
,
2130 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2139 LPSTR lpReturnedString
,
2143 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2154 LPWSTR lpReturnedString
,
2158 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2169 LPSTR lpReturnedString
,
2173 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2188 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2203 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2217 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2232 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2239 GetSystemDefaultLCID (VOID
)
2242 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2252 GetSystemDefaultLangID (VOID
)
2255 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2266 LPSYSTEM_INFO lpSystemInfo
2270 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2272 lpSystemInfo
->u
.s
.wProcessorArchitecture
=
2273 PROCESSOR_ARCHITECTURE_INTEL
;
2274 lpSystemInfo
->u
.s
.wReserved
=
2276 lpSystemInfo
->dwPageSize
=
2278 lpSystemInfo
->lpMinimumApplicationAddress
=
2279 (PVOID
) 0x00010000; /* ? */
2280 lpSystemInfo
->lpMaximumApplicationAddress
=
2281 (PVOID
) 0x00010000; /* ? */
2282 lpSystemInfo
->dwActiveProcessorMask
=
2284 lpSystemInfo
->dwNumberOfProcessors
=
2285 1; /* ReactOS is UP for now! */
2286 lpSystemInfo
->dwProcessorType
=
2287 PROCESSOR_INTEL_PENTIUM
;
2288 lpSystemInfo
->dwAllocationGranularity
=
2289 65536; /* hard coded on Intel? */
2290 lpSystemInfo
->wProcessorLevel
=
2291 5; /* from cpuid on Intel? */
2292 lpSystemInfo
->wProcessorRevision
=
2293 0x0000; /* from cpuid on Intel? */
2299 GetSystemPowerStatus (
2303 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2314 LPVOID lpTapeInformation
2317 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2328 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2335 GetThreadLocale (VOID
)
2338 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2348 GetThreadSelectorEntry (
2351 LPLDT_ENTRY lpSelectorEntry
2354 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2364 CONST SYSTEMTIME
* lpTime
,
2370 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2380 CONST SYSTEMTIME
* lpTime
,
2386 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2393 GetUserDefaultLCID (VOID
)
2396 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2406 GetUserDefaultLangID (VOID
)
2409 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2419 GetVDMCurrentDirectories (
2424 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2435 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2446 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2458 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2469 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2480 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2491 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2502 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2513 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2523 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2534 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2547 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2560 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2571 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2582 /* In Win32 GlobalAlloc returns LPVOID? */
2590 LPMEMORYSTATUS lpBuffer
2593 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2605 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2616 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2627 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2638 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2648 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2659 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2673 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2687 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2702 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2715 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2730 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2739 LPPROCESS_HEAP_ENTRY lpEntry
2742 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2753 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2760 InterlockedDecrement(
2764 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2771 InterlockedExchange(
2776 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2783 InterlockedIncrement(
2787 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2794 InvalidateConsoleDIBits (
2799 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2810 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2822 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2834 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2846 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2858 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2870 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2882 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2892 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2903 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2910 IsDebuggerPresent (VOID
)
2912 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2922 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2933 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2949 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2965 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2973 LPCSTR lpLibFileName
,
2978 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2986 LPCWSTR lpLibFileName
,
2991 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2999 LPCSTR lpModuleName
,
3000 LPVOID lpParameterBlock
3003 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3015 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3027 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3038 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3049 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3060 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3071 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3082 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3095 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3107 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3118 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3129 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3140 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3148 HANDLE hFileMappingObject
,
3149 DWORD dwDesiredAccess
,
3150 DWORD dwFileOffsetHigh
,
3151 DWORD dwFileOffsetLow
,
3152 DWORD dwNumberOfBytesToMap
3155 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3163 HANDLE hFileMappingObject
,
3164 DWORD dwDesiredAccess
,
3165 DWORD dwFileOffsetHigh
,
3166 DWORD dwFileOffsetLow
,
3167 DWORD dwNumberOfBytesToMap
,
3168 LPVOID lpBaseAddress
3171 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3184 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3191 MultiByteToWideChar(
3194 LPCSTR lpMultiByteStr
,
3196 LPWSTR lpWideCharStr
,
3199 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3213 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3221 DWORD dwDesiredAccess
,
3222 WINBOOL bInheritHandle
,
3226 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3227 return INVALID_HANDLE_VALUE
;
3234 DWORD dwDesiredAccess
,
3235 WINBOOL bInheritHandle
,
3239 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3240 return INVALID_HANDLE_VALUE
;
3247 DWORD dwDesiredAccess
,
3248 WINBOOL bInheritHandle
,
3252 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3253 return INVALID_HANDLE_VALUE
;
3260 DWORD dwDesiredAccess
,
3261 WINBOOL bInheritHandle
,
3265 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3266 return INVALID_HANDLE_VALUE
;
3272 OpenProfileUserMapping (VOID
)
3274 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3282 DWORD dwDesiredAccess
,
3283 WINBOOL bInheritHandle
,
3287 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3288 return INVALID_HANDLE_VALUE
;
3295 DWORD dwDesiredAccess
,
3296 WINBOOL bInheritHandle
,
3300 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3301 return INVALID_HANDLE_VALUE
;
3311 LPDWORD lpBytesRead
,
3312 LPDWORD lpTotalBytesAvail
,
3313 LPDWORD lpBytesLeftThisMessage
3316 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3329 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3341 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3348 QueryPerformanceCounter(
3349 LARGE_INTEGER
*lpPerformanceCount
3352 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3359 QueryPerformanceFrequency(
3360 LARGE_INTEGER
*lpFrequency
3363 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3370 QueryWin31IniFilesMappedToRegistry (
3377 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3385 DWORD dwExceptionCode
,
3386 DWORD dwExceptionFlags
,
3387 DWORD nNumberOfArguments
,
3388 CONST DWORD
*lpArguments
3391 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3399 LPCVOID lpBaseAddress
,
3402 LPDWORD lpNumberOfBytesRead
3405 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3412 RegisterConsoleVDM (
3426 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3433 RegisterWaitForInputIdle (
3437 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3444 RegisterWowBaseHandlers (
3448 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3459 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3470 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3480 LPLONG lpPreviousCount
3483 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3488 /* FIXME: KERNEL32.RtlFillMemory == NTDLL.RtlFillMemory */
3501 /* FIXME: KERNEL32.RtlMoveMemory == NTDLL.RtlMoveMemory */
3514 /* FIXME: KERNEL32.RtlUnwind == NTDLL.RtlUnwind */
3528 /* FIXME: KERNEL32.RtlZeroMemory == NTDLL.RtlZeroMemory */
3546 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3559 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3571 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3583 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3592 LPCOMMTIMEOUTS lpCommTimeouts
3595 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3603 LPCSTR lpComputerName
3606 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3614 LPCWSTR lpComputerName
3617 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3624 SetConsoleCommandHistoryMode (
3628 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3640 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3647 SetConsoleDisplayMode (
3653 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3665 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3672 SetConsoleHardwareState (
3678 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3685 SetConsoleKeyShortcuts (
3692 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3699 SetConsoleMaximumWindowSize (
3704 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3711 SetConsoleMenuClose (
3715 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3722 SetConsoleNumberOfCommandsA (
3727 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3734 SetConsoleNumberOfCommandsW (
3739 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3752 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3759 SetDefaultCommConfigA(
3765 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3772 SetDefaultCommConfigW(
3778 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3785 SetLastConsoleEventActive (VOID
)
3787 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3800 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3813 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3825 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3832 SetNamedPipeHandleState(
3835 LPDWORD lpMaxCollectionCount
,
3836 LPDWORD lpCollectDataTimeout
3839 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3848 DWORD dwPriorityClass
3851 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3858 SetProcessShutdownParameters(
3863 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3870 SetProcessWorkingSetSize(
3872 DWORD dwMinimumWorkingSetSize
,
3873 DWORD dwMaximumWorkingSetSize
3876 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3883 SetSystemPowerState (
3888 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3898 LPVOID lpTapeInformation
3901 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3910 DWORD dwPositionMethod
,
3917 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3928 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3935 SetVDMCurrentDirectories (
3940 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3953 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3965 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3977 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3989 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4000 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4010 DWORD nInBufferSize
,
4012 DWORD nOutBufferSize
,
4013 LPDWORD lpBytesRead
,
4014 LPOVERLAPPED lpOverlapped
4017 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4029 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4040 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4048 LPVOID lpBaseAddress
4051 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4067 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4083 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4090 VDMConsoleOperation (
4095 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4102 VDMOperationStarted (
4106 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4119 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4132 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4139 VerifyConsoleIoHandle (
4143 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4150 VirtualBufferExceptionHandler (
4156 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4168 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4177 PMEMORY_BASIC_INFORMATION lpBuffer
,
4181 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4191 PMEMORY_BASIC_INFORMATION lpBuffer
,
4195 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4207 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4217 LPOVERLAPPED lpOverlapped
4220 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4228 LPDEBUG_EVENT lpDebugEvent
,
4229 DWORD dwMilliseconds
4232 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4240 LPCSTR lpNamedPipeName
,
4244 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4252 LPCWSTR lpNamedPipeName
,
4256 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4263 WideCharToMultiByte(
4266 LPCWSTR lpWideCharStr
,
4268 LPSTR lpMultiByteStr
,
4270 LPCSTR lpDefaultChar
,
4271 LPBOOL lpUsedDefaultChar
4274 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4281 WriteConsoleInputVDMA (
4288 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4295 WriteConsoleInputVDMW (
4302 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4312 DWORD nNumberOfBytesToWrite
,
4313 LPOVERLAPPED lpOverlapped
,
4314 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
4317 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4324 WritePrivateProfileSectionA(
4330 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4337 WritePrivateProfileSectionW(
4343 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4350 WritePrivateProfileStringA(
4357 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4364 WritePrivateProfileStringW(
4371 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4378 WritePrivateProfileStructA (
4386 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4393 WritePrivateProfileStructW (
4401 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4410 LPVOID lpBaseAddress
,
4413 LPDWORD lpNumberOfBytesWritten
4416 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4423 WriteProfileSectionA(
4428 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4435 WriteProfileSectionW(
4440 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4447 WriteProfileStringA(
4453 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4460 WriteProfileStringW(
4466 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4475 DWORD dwTapemarkType
,
4476 DWORD dwTapemarkCount
,
4480 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4488 DWORD dwPositionType
,
4489 LPDWORD lpdwPartition
,
4490 LPDWORD lpdwOffsetLow
,
4491 LPDWORD lpdwOffsetHigh
4494 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);