1 /* $Id: stubs.c,v 1.6 1999/10/03 23:19:15 ea Exp $
3 * KERNEL32.DLL stubs (unimplemented functions)
4 * Remove from this file, if you implement them.
14 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
25 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
37 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
49 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
58 DWORD nNumberOfBytesToRead
,
59 LPDWORD lpNumberOfBytesRead
,
61 WINBOOL bProcessSecurity
,
65 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
74 DWORD dwLowBytesToSeek
,
75 DWORD dwHighBytesToSeek
,
76 LPDWORD lpdwLowByteSeeked
,
77 LPDWORD lpdwHighByteSeeked
,
81 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
91 DWORD nNumberOfBytesToWrite
,
92 LPDWORD lpNumberOfBytesWritten
,
94 WINBOOL bProcessSecurity
,
98 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
105 BaseAttachCompleteThunk (VOID
)
107 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
114 BeginUpdateResourceW (
116 WINBOOL bDeleteExistingResources
119 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
126 BeginUpdateResourceA (
128 WINBOOL bDeleteExistingResources
131 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
143 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
155 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
162 BuildCommDCBAndTimeoutsA (
165 LPCOMMTIMEOUTS lpCommTimeouts
168 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
175 BuildCommDCBAndTimeoutsW (
178 LPCOMMTIMEOUTS lpCommTimeouts
181 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
189 LPCSTR lpNamedPipeName
,
193 DWORD nOutBufferSize
,
198 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
206 LPCWSTR lpNamedPipeName
,
210 DWORD nOutBufferSize
,
215 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
226 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
239 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
250 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
256 CloseProfileUserMapping ( VOID
)
258 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
269 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
282 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
295 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
311 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
327 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
336 LPOVERLAPPED lpOverlapped
339 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
352 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
362 DWORD dwContinueStatus
365 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
372 ConvertDefaultLocale (
376 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
388 DWORD nMaxMessageSize
,
390 LPSECURITY_ATTRIBUTES lpSecurityAttributes
393 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
394 return INVALID_HANDLE_VALUE
;
402 DWORD nMaxMessageSize
,
404 LPSECURITY_ATTRIBUTES lpSecurityAttributes
407 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
408 return INVALID_HANDLE_VALUE
;
419 DWORD nOutBufferSize
,
421 DWORD nDefaultTimeOut
,
422 LPSECURITY_ATTRIBUTES lpSecurityAttributes
425 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
426 return INVALID_HANDLE_VALUE
;
437 DWORD nOutBufferSize
,
439 DWORD nDefaultTimeOut
,
440 LPSECURITY_ATTRIBUTES lpSecurityAttributes
443 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
444 return INVALID_HANDLE_VALUE
;
450 CreateTapePartition (
452 DWORD dwPartitionMethod
,
457 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
464 CreateVirtualBuffer (
470 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
481 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
490 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
500 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
507 DisableThreadLibraryCalls (
511 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
518 DisconnectNamedPipe (
522 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
529 DuplicateConsoleHandle (
536 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
548 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
560 return EndUpdateResourceW(
570 CALINFO_ENUMPROC lpCalInfoEnumProc
,
576 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
585 CALINFO_ENUMPROC lpCalInfoEnumProc
,
591 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
599 DATEFMT_ENUMPROC lpDateFmtEnumProc
,
604 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
612 DATEFMT_ENUMPROC lpDateFmtEnumProc
,
617 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
624 EnumResourceLanguagesW (
628 ENUMRESLANGPROC lpEnumFunc
,
632 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
639 EnumResourceLanguagesA (
643 ENUMRESLANGPROC lpEnumFunc
,
647 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
657 ENUMRESNAMEPROC lpEnumFunc
,
661 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
671 ENUMRESNAMEPROC lpEnumFunc
,
675 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
684 ENUMRESTYPEPROC lpEnumFunc
,
688 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
698 ENUMRESTYPEPROC lpEnumFunc
,
702 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
709 EnumSystemCodePagesW (
710 CODEPAGE_ENUMPROC lpCodePageEnumProc
,
714 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
721 EnumSystemCodePagesA (
722 CODEPAGE_ENUMPROC lpCodePageEnumProc
,
726 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
734 LOCALE_ENUMPROC lpLocaleEnumProc
,
738 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
746 LOCALE_ENUMPROC lpLocaleEnumProc
,
750 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
758 TIMEFMT_ENUMPROC lpTimeFmtEnumProc
,
763 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
771 TIMEFMT_ENUMPROC lpTimeFmtEnumProc
,
776 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
789 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
801 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
813 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
822 ExpungeConsoleCommandHistoryW (
826 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
833 ExpungeConsoleCommandHistoryA (
837 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
844 ExtendVirtualBuffer (
849 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
860 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
870 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
881 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
888 FindCloseChangeNotification (
892 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
899 FindFirstChangeNotificationW (
901 WINBOOL bWatchSubtree
,
905 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
906 return INVALID_HANDLE_VALUE
;
912 FindFirstChangeNotificationA (
914 WINBOOL bWatchSubtree
,
918 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
919 return INVALID_HANDLE_VALUE
;
925 FindNextChangeNotification (
929 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
942 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
943 return INVALID_HANDLE_VALUE
;
955 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
956 return INVALID_HANDLE_VALUE
;
969 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
970 return INVALID_HANDLE_VALUE
;
983 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
984 return INVALID_HANDLE_VALUE
;
992 LPCVOID lpBaseAddress
,
993 DWORD dwNumberOfBytesToFlush
996 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1011 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1027 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1045 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1062 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1069 FreeLibraryAndExitThread (
1074 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1084 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1092 HANDLE hVirtualBuffer
1095 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1104 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1118 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1131 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1139 LPCWSTR lpApplicationName
,
1140 LPDWORD lpBinaryType
1143 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1151 LPCSTR lpApplicationName
,
1152 LPDWORD lpBinaryType
1155 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1167 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1180 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1192 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1200 GetCommModemStatus (
1205 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1214 LPCOMMPROP lpCommProp
1217 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1229 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1238 LPCOMMTIMEOUTS lpCommTimeouts
1241 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1253 WCHAR Name
[MAX_COMPUTERNAME_LENGTH
+ 1];
1257 * FIXME: get the computer's name from
1260 lstrcpyW( Name
, L
"ROSHost" ); /* <-- FIXME -- */
1261 Size
= lstrlenW(Name
) + 1;
1265 SetLastError(ERROR_BUFFER_OVERFLOW
);
1268 lstrcpyW( lpBuffer
, Name
);
1280 WCHAR Name
[MAX_COMPUTERNAME_LENGTH
+ 1];
1283 if (FALSE
== GetComputerNameW(
1291 /* Use UNICODE to ANSI */
1292 for ( i
=0; Name
[i
]; ++i
)
1294 lpBuffer
[i
] = (CHAR
) Name
[i
];
1311 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1325 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1333 GetConsoleAliasExesW (
1338 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1346 GetConsoleAliasExesA (
1351 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1359 GetConsoleAliasExesLengthA (VOID
)
1361 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1369 GetConsoleAliasExesLengthW (VOID
)
1371 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1379 GetConsoleAliasesW (
1385 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1393 GetConsoleAliasesA (
1399 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1407 GetConsoleAliasesLengthW (
1411 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1419 GetConsoleAliasesLengthA (
1423 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1430 GetConsoleCommandHistoryW (
1436 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1443 GetConsoleCommandHistoryA (
1449 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1456 GetConsoleCommandHistoryLengthW (
1460 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1467 GetConsoleCommandHistoryLengthA (
1471 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1478 GetConsoleDisplayMode (
1482 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1489 GetConsoleFontInfo (
1496 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1503 GetConsoleFontSize (
1508 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1515 GetConsoleHardwareState (
1521 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1528 GetConsoleInputWaitHandle (VOID
)
1530 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1537 GetCurrencyFormatW (
1541 CONST CURRENCYFMT
* lpFormat
,
1542 LPWSTR lpCurrencyStr
,
1546 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1553 GetCurrencyFormatA (
1557 CONST CURRENCYFMT
* lpFormat
,
1558 LPSTR lpCurrencyStr
,
1562 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1569 GetCurrentConsoleFont (
1575 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1585 CONST SYSTEMTIME
* lpDate
,
1591 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1601 CONST SYSTEMTIME
* lpDate
,
1607 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1614 GetDefaultCommConfigW (
1620 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1627 GetDefaultCommConfigA (
1633 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1647 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1661 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1670 LPDWORD lpMaxMessageSize
,
1672 LPDWORD lpMessageCount
,
1673 LPDWORD lpReadTimeout
1676 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1683 GetModuleFileNameW (
1689 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1696 GetModuleFileNameA (
1702 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1710 LPCWSTR lpModuleName
1713 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1714 return INVALID_HANDLE_VALUE
;
1724 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1725 return INVALID_HANDLE_VALUE
;
1731 GetNamedPipeHandleStateW (
1734 LPDWORD lpCurInstances
,
1735 LPDWORD lpMaxCollectionCount
,
1736 LPDWORD lpCollectDataTimeout
,
1738 DWORD nMaxUserNameSize
1741 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1748 GetNamedPipeHandleStateA (
1751 LPDWORD lpCurInstances
,
1752 LPDWORD lpMaxCollectionCount
,
1753 LPDWORD lpCollectDataTimeout
,
1755 DWORD nMaxUserNameSize
1758 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1768 LPDWORD lpOutBufferSize
,
1769 LPDWORD lpInBufferSize
,
1770 LPDWORD lpMaxInstances
1773 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1784 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1795 CONST NUMBERFMT
* lpFormat
,
1800 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1811 CONST NUMBERFMT
* lpFormat
,
1816 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1823 GetNumberOfConsoleFonts (VOID
)
1825 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1826 return 1; /* FIXME: call csrss.exe */
1834 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1835 return 437; /* FIXME: call csrss.exe */
1845 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1846 return NORMAL_PRIORITY_CLASS
; /* FIXME: call NTOSKRNL.Ps */
1853 GetPrivateProfileIntW (
1860 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1867 GetPrivateProfileIntA (
1874 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1881 GetPrivateProfileSectionW (
1883 LPWSTR lpReturnedString
,
1888 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1895 GetPrivateProfileSectionA (
1897 LPSTR lpReturnedString
,
1902 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1909 GetPrivateProfileSectionNamesW (
1915 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1922 GetPrivateProfileSectionNamesA (
1928 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1935 GetPrivateProfileStringW (
1939 LPWSTR lpReturnedString
,
1944 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1951 GetPrivateProfileStringA (
1955 LPSTR lpReturnedString
,
1960 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1967 GetPrivateProfileStructW (
1975 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1982 GetPrivateProfileStructA (
1990 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1997 GetProcessAffinityMask (
1999 LPDWORD lpProcessAffinityMask
,
2000 LPDWORD lpSystemAffinityMask
2003 if ( (NULL
== lpProcessAffinityMask
)
2004 || (NULL
== lpSystemAffinityMask
)
2007 SetLastError(ERROR_BAD_ARGUMENTS
);
2010 /* FIXME: check hProcess is actually a process */
2011 /* FIXME: query the kernel process object */
2012 *lpProcessAffinityMask
= 0x00000001;
2013 *lpSystemAffinityMask
= 0x00000001;
2020 GetProcessShutdownParameters (
2025 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2036 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2043 GetProcessWorkingSetSize (
2045 LPDWORD lpMinimumWorkingSetSize
,
2046 LPDWORD lpMaximumWorkingSetSize
2049 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2062 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2075 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2082 GetProfileSectionW (
2084 LPWSTR lpReturnedString
,
2088 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2095 GetProfileSectionA (
2097 LPSTR lpReturnedString
,
2101 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2112 LPWSTR lpReturnedString
,
2116 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2127 LPSTR lpReturnedString
,
2131 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2146 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2161 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2175 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2190 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2197 GetSystemDefaultLCID (VOID
)
2200 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2210 GetSystemDefaultLangID (VOID
)
2213 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2224 LPSYSTEM_INFO lpSystemInfo
2228 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2230 lpSystemInfo
->u
.s
.wProcessorArchitecture
=
2231 PROCESSOR_ARCHITECTURE_INTEL
;
2232 lpSystemInfo
->u
.s
.wReserved
=
2234 lpSystemInfo
->dwPageSize
=
2235 4096; /* FIXME: x86 default; may be 4Mb */
2236 lpSystemInfo
->lpMinimumApplicationAddress
=
2237 (PVOID
) 0x00010000; /* ? */
2238 lpSystemInfo
->lpMaximumApplicationAddress
=
2239 (PVOID
) 0x00010000; /* ? */
2240 lpSystemInfo
->dwActiveProcessorMask
=
2242 lpSystemInfo
->dwNumberOfProcessors
=
2243 1; /* ReactOS is UP for now! */
2244 lpSystemInfo
->dwProcessorType
=
2245 PROCESSOR_INTEL_PENTIUM
;
2246 lpSystemInfo
->dwAllocationGranularity
=
2247 65536; /* hard coded on Intel? */
2248 lpSystemInfo
->wProcessorLevel
=
2249 5; /* from cpuid on Intel? */
2250 lpSystemInfo
->wProcessorRevision
=
2251 0x0000; /* from cpuid on Intel? */
2257 GetSystemPowerStatus (
2261 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2272 LPVOID lpTapeInformation
2275 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2286 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2293 GetThreadLocale (VOID
)
2296 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2306 GetThreadSelectorEntry (
2309 LPLDT_ENTRY lpSelectorEntry
2312 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2322 CONST SYSTEMTIME
* lpTime
,
2328 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2338 CONST SYSTEMTIME
* lpTime
,
2344 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2351 GetUserDefaultLCID (VOID
)
2354 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2364 GetUserDefaultLangID (VOID
)
2367 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2377 GetVDMCurrentDirectories (
2382 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2393 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2404 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2416 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2427 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2438 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2449 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2460 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2471 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2481 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2492 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2499 GlobalGetAtomNameA (
2505 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2512 GlobalGetAtomNameW (
2518 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2529 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2540 /* In Win32 GlobalAlloc returns LPVOID? */
2547 GlobalMemoryStatus (
2548 LPMEMORYSTATUS lpBuffer
2551 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2563 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2574 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2585 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2596 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2606 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2617 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2618 return NULL
; /* ? */
2631 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2645 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2660 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2673 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2688 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2697 LPPROCESS_HEAP_ENTRY lpEntry
2700 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2711 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2720 InvalidateConsoleDIBits (
2725 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2738 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2750 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2757 IsDebuggerPresent (VOID
)
2759 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2760 return FALSE
; /* FIXME: */
2770 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2782 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2798 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2814 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2822 LPCSTR lpLibFileName
,
2827 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2835 LPCWSTR lpLibFileName
,
2840 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2848 LPCSTR lpModuleName
,
2849 LPVOID lpParameterBlock
2852 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2864 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2876 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2887 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2898 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2909 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2920 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2931 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2944 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2956 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2967 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2978 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2989 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3003 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3010 MultiByteToWideChar (
3013 LPCSTR lpMultiByteStr
,
3015 LPWSTR lpWideCharStr
,
3019 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3033 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3041 DWORD dwDesiredAccess
,
3042 WINBOOL bInheritHandle
,
3046 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3047 return INVALID_HANDLE_VALUE
;
3054 DWORD dwDesiredAccess
,
3055 WINBOOL bInheritHandle
,
3059 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3060 return INVALID_HANDLE_VALUE
;
3066 OpenProfileUserMapping (VOID
)
3068 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3076 DWORD dwDesiredAccess
,
3077 WINBOOL bInheritHandle
,
3081 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3082 return INVALID_HANDLE_VALUE
;
3089 DWORD dwDesiredAccess
,
3090 WINBOOL bInheritHandle
,
3094 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3095 return INVALID_HANDLE_VALUE
;
3105 LPDWORD lpBytesRead
,
3106 LPDWORD lpTotalBytesAvail
,
3107 LPDWORD lpBytesLeftThisMessage
3110 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3123 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3135 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3142 QueryPerformanceCounter (
3143 LARGE_INTEGER
* lpPerformanceCount
3146 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3153 QueryPerformanceFrequency (
3154 LARGE_INTEGER
* lpFrequency
3157 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3164 QueryWin31IniFilesMappedToRegistry (
3171 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3179 DWORD dwExceptionCode
,
3180 DWORD dwExceptionFlags
,
3181 DWORD nNumberOfArguments
,
3182 CONST DWORD
* lpArguments
3185 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3193 LPCVOID lpBaseAddress
,
3196 LPDWORD lpNumberOfBytesRead
3199 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3206 RegisterConsoleVDM (
3220 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3227 RegisterWowBaseHandlers (
3231 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3242 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3253 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3263 LPLONG lpPreviousCount
3266 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3271 /* FIXME: KERNEL32.RtlFillMemory == NTDLL.RtlFillMemory */
3284 /* FIXME: KERNEL32.RtlMoveMemory == NTDLL.RtlMoveMemory */
3297 /* FIXME: KERNEL32.RtlUnwind == NTDLL.RtlUnwind */
3311 /* FIXME: KERNEL32.RtlZeroMemory == NTDLL.RtlZeroMemory */
3329 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3342 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3354 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3366 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3375 LPCOMMTIMEOUTS lpCommTimeouts
3378 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3386 LPCSTR lpComputerName
3389 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3397 LPCWSTR lpComputerName
3400 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3407 SetConsoleCommandHistoryMode (
3411 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3423 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3430 SetConsoleDisplayMode (
3436 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3448 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3455 SetConsoleHardwareState (
3461 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3468 SetConsoleKeyShortcuts (
3475 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3482 SetConsoleMaximumWindowSize (
3487 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3494 SetConsoleMenuClose (
3498 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3505 SetConsoleNumberOfCommandsA (
3510 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3517 SetConsoleNumberOfCommandsW (
3522 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3535 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3542 SetDefaultCommConfigA (
3548 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3555 SetDefaultCommConfigW (
3561 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3568 SetLastConsoleEventActive (VOID
)
3570 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3583 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3596 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3608 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3615 SetNamedPipeHandleState (
3618 LPDWORD lpMaxCollectionCount
,
3619 LPDWORD lpCollectDataTimeout
3622 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3631 DWORD dwPriorityClass
3634 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3641 SetProcessShutdownParameters (
3646 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3653 SetProcessWorkingSetSize (
3655 DWORD dwMinimumWorkingSetSize
,
3656 DWORD dwMaximumWorkingSetSize
3659 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3666 SetSystemPowerState (
3671 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3681 LPVOID lpTapeInformation
3684 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3693 DWORD dwPositionMethod
,
3700 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3711 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3718 SetVDMCurrentDirectories (
3723 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3736 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3748 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3760 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3773 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3783 DWORD nInBufferSize
,
3785 DWORD nOutBufferSize
,
3786 LPDWORD lpBytesRead
,
3787 LPOVERLAPPED lpOverlapped
3790 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3802 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3813 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3831 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3847 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3854 VDMConsoleOperation (
3859 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3866 VDMOperationStarted (
3870 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3883 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3896 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3903 VerifyConsoleIoHandle (
3907 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3914 VirtualBufferExceptionHandler (
3920 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3933 LPOVERLAPPED lpOverlapped
3936 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3944 LPDEBUG_EVENT lpDebugEvent
,
3945 DWORD dwMilliseconds
3948 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3956 LPCSTR lpNamedPipeName
,
3960 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3968 LPCWSTR lpNamedPipeName
,
3972 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3979 WideCharToMultiByte (
3982 LPCWSTR lpWideCharStr
,
3984 LPSTR lpMultiByteStr
,
3986 LPCSTR lpDefaultChar
,
3987 LPBOOL lpUsedDefaultChar
3990 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3997 WriteConsoleInputVDMA (
4004 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4011 WriteConsoleInputVDMW (
4018 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4028 WritePrivateProfileSectionA (
4034 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4041 WritePrivateProfileSectionW (
4047 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4054 WritePrivateProfileStringA (
4061 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4068 WritePrivateProfileStringW (
4075 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4082 WritePrivateProfileStructA (
4090 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4097 WritePrivateProfileStructW (
4105 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4112 WriteProcessMemory (
4114 LPVOID lpBaseAddress
,
4117 LPDWORD lpNumberOfBytesWritten
4120 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4127 WriteProfileSectionA (
4132 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4139 WriteProfileSectionW (
4144 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4151 WriteProfileStringA (
4157 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4164 WriteProfileStringW (
4170 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4179 DWORD dwTapemarkType
,
4180 DWORD dwTapemarkCount
,
4184 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
4192 DWORD dwPositionType
,
4193 LPDWORD lpdwPartition
,
4194 LPDWORD lpdwOffsetLow
,
4195 LPDWORD lpdwOffsetHigh
4198 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);