1 /* $Id: stubs.c,v 1.5 1999/10/02 20:20:44 ariadne 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
;
3067 DWORD dwDesiredAccess
,
3068 WINBOOL bInheritHandle
,
3072 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3073 return INVALID_HANDLE_VALUE
;
3080 DWORD dwDesiredAccess
,
3081 WINBOOL bInheritHandle
,
3085 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3086 return INVALID_HANDLE_VALUE
;
3092 OpenProfileUserMapping (VOID
)
3094 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3102 DWORD dwDesiredAccess
,
3103 WINBOOL bInheritHandle
,
3107 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3108 return INVALID_HANDLE_VALUE
;
3115 DWORD dwDesiredAccess
,
3116 WINBOOL bInheritHandle
,
3120 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3121 return INVALID_HANDLE_VALUE
;
3131 LPDWORD lpBytesRead
,
3132 LPDWORD lpTotalBytesAvail
,
3133 LPDWORD lpBytesLeftThisMessage
3136 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3149 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3161 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3168 QueryPerformanceCounter (
3169 LARGE_INTEGER
* lpPerformanceCount
3172 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3179 QueryPerformanceFrequency (
3180 LARGE_INTEGER
* lpFrequency
3183 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3190 QueryWin31IniFilesMappedToRegistry (
3197 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3205 DWORD dwExceptionCode
,
3206 DWORD dwExceptionFlags
,
3207 DWORD nNumberOfArguments
,
3208 CONST DWORD
* lpArguments
3211 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3219 LPCVOID lpBaseAddress
,
3222 LPDWORD lpNumberOfBytesRead
3225 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3232 RegisterConsoleVDM (
3246 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3253 RegisterWowBaseHandlers (
3257 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3268 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3279 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3289 LPLONG lpPreviousCount
3292 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3297 /* FIXME: KERNEL32.RtlFillMemory == NTDLL.RtlFillMemory */
3310 /* FIXME: KERNEL32.RtlMoveMemory == NTDLL.RtlMoveMemory */
3323 /* FIXME: KERNEL32.RtlUnwind == NTDLL.RtlUnwind */
3337 /* FIXME: KERNEL32.RtlZeroMemory == NTDLL.RtlZeroMemory */
3355 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3368 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3380 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3392 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3401 LPCOMMTIMEOUTS lpCommTimeouts
3404 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3412 LPCSTR lpComputerName
3415 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3423 LPCWSTR lpComputerName
3426 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3433 SetConsoleCommandHistoryMode (
3437 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3449 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3456 SetConsoleDisplayMode (
3462 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3474 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3481 SetConsoleHardwareState (
3487 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3494 SetConsoleKeyShortcuts (
3501 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3508 SetConsoleMaximumWindowSize (
3513 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3520 SetConsoleMenuClose (
3524 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3531 SetConsoleNumberOfCommandsA (
3536 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3543 SetConsoleNumberOfCommandsW (
3548 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3561 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3568 SetDefaultCommConfigA (
3574 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3581 SetDefaultCommConfigW (
3587 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3594 SetLastConsoleEventActive (VOID
)
3596 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3609 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3622 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3634 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3641 SetNamedPipeHandleState (
3644 LPDWORD lpMaxCollectionCount
,
3645 LPDWORD lpCollectDataTimeout
3648 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3657 DWORD dwPriorityClass
3660 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3667 SetProcessShutdownParameters (
3672 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3679 SetProcessWorkingSetSize (
3681 DWORD dwMinimumWorkingSetSize
,
3682 DWORD dwMaximumWorkingSetSize
3685 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3692 SetSystemPowerState (
3697 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3707 LPVOID lpTapeInformation
3710 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3719 DWORD dwPositionMethod
,
3726 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3737 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3744 SetVDMCurrentDirectories (
3749 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3762 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3774 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3786 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3799 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3809 DWORD nInBufferSize
,
3811 DWORD nOutBufferSize
,
3812 LPDWORD lpBytesRead
,
3813 LPOVERLAPPED lpOverlapped
3816 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3828 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3839 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3857 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3873 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3880 VDMConsoleOperation (
3885 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3892 VDMOperationStarted (
3896 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3909 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3922 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3929 VerifyConsoleIoHandle (
3933 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3940 VirtualBufferExceptionHandler (
3946 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3959 LPOVERLAPPED lpOverlapped
3962 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);