1 /* $Id: stubs.c,v 1.10 1999/11/17 21:28:08 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
);
820 ExpungeConsoleCommandHistoryW (
824 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
831 ExpungeConsoleCommandHistoryA (
835 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
842 ExtendVirtualBuffer (
847 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
858 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
868 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
879 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
886 FindCloseChangeNotification (
890 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
897 FindFirstChangeNotificationW (
899 WINBOOL bWatchSubtree
,
903 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
904 return INVALID_HANDLE_VALUE
;
910 FindFirstChangeNotificationA (
912 WINBOOL bWatchSubtree
,
916 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
917 return INVALID_HANDLE_VALUE
;
923 FindNextChangeNotification (
927 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
943 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
958 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
975 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
992 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1005 HANDLE hVirtualBuffer
1008 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1017 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1031 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1044 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1052 LPCWSTR lpApplicationName
,
1053 LPDWORD lpBinaryType
1056 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1064 LPCSTR lpApplicationName
,
1065 LPDWORD lpBinaryType
1068 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1080 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1093 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1105 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1113 GetCommModemStatus (
1118 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1127 LPCOMMPROP lpCommProp
1130 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1142 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1151 LPCOMMTIMEOUTS lpCommTimeouts
1154 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1166 WCHAR Name
[MAX_COMPUTERNAME_LENGTH
+ 1];
1170 * FIXME: get the computer's name from
1173 lstrcpyW( Name
, L
"ROSHost" ); /* <-- FIXME -- */
1174 Size
= lstrlenW(Name
) + 1;
1178 SetLastError(ERROR_BUFFER_OVERFLOW
);
1181 lstrcpyW( lpBuffer
, Name
);
1193 WCHAR Name
[MAX_COMPUTERNAME_LENGTH
+ 1];
1196 if (FALSE
== GetComputerNameW(
1204 /* Use UNICODE to ANSI */
1205 for ( i
=0; Name
[i
]; ++i
)
1207 lpBuffer
[i
] = (CHAR
) Name
[i
];
1224 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1238 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1246 GetConsoleAliasExesW (
1251 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1259 GetConsoleAliasExesA (
1264 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1272 GetConsoleAliasExesLengthA (VOID
)
1274 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1282 GetConsoleAliasExesLengthW (VOID
)
1284 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1292 GetConsoleAliasesW (
1298 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1306 GetConsoleAliasesA (
1312 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1320 GetConsoleAliasesLengthW (
1324 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1332 GetConsoleAliasesLengthA (
1336 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1343 GetConsoleCommandHistoryW (
1349 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1356 GetConsoleCommandHistoryA (
1362 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1369 GetConsoleCommandHistoryLengthW (
1373 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1380 GetConsoleCommandHistoryLengthA (
1384 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1391 GetConsoleDisplayMode (
1395 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1402 GetConsoleFontInfo (
1409 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1416 GetConsoleFontSize (
1421 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1428 GetConsoleHardwareState (
1434 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1441 GetConsoleInputWaitHandle (VOID
)
1443 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1450 GetCurrencyFormatW (
1454 CONST CURRENCYFMT
* lpFormat
,
1455 LPWSTR lpCurrencyStr
,
1459 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1466 GetCurrencyFormatA (
1470 CONST CURRENCYFMT
* lpFormat
,
1471 LPSTR lpCurrencyStr
,
1475 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1482 GetCurrentConsoleFont (
1488 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1498 CONST SYSTEMTIME
* lpDate
,
1504 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1514 CONST SYSTEMTIME
* lpDate
,
1520 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1527 GetDefaultCommConfigW (
1533 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1540 GetDefaultCommConfigA (
1546 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1560 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1574 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1583 LPDWORD lpMaxMessageSize
,
1585 LPDWORD lpMessageCount
,
1586 LPDWORD lpReadTimeout
1589 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1596 GetModuleFileNameW (
1602 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1609 GetModuleFileNameA (
1615 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1623 LPCWSTR lpModuleName
1626 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1627 return INVALID_HANDLE_VALUE
;
1636 GetNamedPipeHandleStateW (
1639 LPDWORD lpCurInstances
,
1640 LPDWORD lpMaxCollectionCount
,
1641 LPDWORD lpCollectDataTimeout
,
1643 DWORD nMaxUserNameSize
1646 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1653 GetNamedPipeHandleStateA (
1656 LPDWORD lpCurInstances
,
1657 LPDWORD lpMaxCollectionCount
,
1658 LPDWORD lpCollectDataTimeout
,
1660 DWORD nMaxUserNameSize
1663 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1673 LPDWORD lpOutBufferSize
,
1674 LPDWORD lpInBufferSize
,
1675 LPDWORD lpMaxInstances
1678 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1689 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1700 CONST NUMBERFMT
* lpFormat
,
1705 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1716 CONST NUMBERFMT
* lpFormat
,
1721 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1728 GetNumberOfConsoleFonts (VOID
)
1730 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1731 return 1; /* FIXME: call csrss.exe */
1739 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1740 return 437; /* FIXME: call csrss.exe */
1750 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1751 return NORMAL_PRIORITY_CLASS
; /* FIXME: call NTOSKRNL.Ps */
1758 GetPrivateProfileIntW (
1765 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1772 GetPrivateProfileIntA (
1779 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1786 GetPrivateProfileSectionW (
1788 LPWSTR lpReturnedString
,
1793 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1800 GetPrivateProfileSectionA (
1802 LPSTR lpReturnedString
,
1807 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1814 GetPrivateProfileSectionNamesW (
1820 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1827 GetPrivateProfileSectionNamesA (
1833 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1840 GetPrivateProfileStringW (
1844 LPWSTR lpReturnedString
,
1849 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1856 GetPrivateProfileStringA (
1860 LPSTR lpReturnedString
,
1865 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1872 GetPrivateProfileStructW (
1880 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1887 GetPrivateProfileStructA (
1895 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1902 GetProcessAffinityMask (
1904 LPDWORD lpProcessAffinityMask
,
1905 LPDWORD lpSystemAffinityMask
1908 if ( (NULL
== lpProcessAffinityMask
)
1909 || (NULL
== lpSystemAffinityMask
)
1912 SetLastError(ERROR_BAD_ARGUMENTS
);
1915 /* FIXME: check hProcess is actually a process */
1916 /* FIXME: query the kernel process object */
1917 *lpProcessAffinityMask
= 0x00000001;
1918 *lpSystemAffinityMask
= 0x00000001;
1925 GetProcessShutdownParameters (
1930 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1941 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1948 GetProcessWorkingSetSize (
1950 LPDWORD lpMinimumWorkingSetSize
,
1951 LPDWORD lpMaximumWorkingSetSize
1954 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1967 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1980 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
1987 GetProfileSectionW (
1989 LPWSTR lpReturnedString
,
1993 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2000 GetProfileSectionA (
2002 LPSTR lpReturnedString
,
2006 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2017 LPWSTR lpReturnedString
,
2021 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2032 LPSTR lpReturnedString
,
2036 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2051 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2066 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2080 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2095 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2102 GetSystemDefaultLCID (VOID
)
2105 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2115 GetSystemDefaultLangID (VOID
)
2118 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2129 LPSYSTEM_INFO lpSystemInfo
2133 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2135 lpSystemInfo
->u
.s
.wProcessorArchitecture
=
2136 PROCESSOR_ARCHITECTURE_INTEL
;
2137 lpSystemInfo
->u
.s
.wReserved
=
2139 lpSystemInfo
->dwPageSize
=
2140 4096; /* FIXME: x86 default; may be 4Mb */
2141 lpSystemInfo
->lpMinimumApplicationAddress
=
2142 (PVOID
) 0x00010000; /* ? */
2143 lpSystemInfo
->lpMaximumApplicationAddress
=
2144 (PVOID
) 0x00010000; /* ? */
2145 lpSystemInfo
->dwActiveProcessorMask
=
2147 lpSystemInfo
->dwNumberOfProcessors
=
2148 1; /* ReactOS is UP for now! */
2149 lpSystemInfo
->dwProcessorType
=
2150 PROCESSOR_INTEL_PENTIUM
;
2151 lpSystemInfo
->dwAllocationGranularity
=
2152 65536; /* hard coded on Intel? */
2153 lpSystemInfo
->wProcessorLevel
=
2154 5; /* from cpuid on Intel? */
2155 lpSystemInfo
->wProcessorRevision
=
2156 0x0000; /* from cpuid on Intel? */
2162 GetSystemPowerStatus (
2166 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2177 LPVOID lpTapeInformation
2180 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2191 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2198 GetThreadLocale (VOID
)
2201 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2211 GetThreadSelectorEntry (
2214 LPLDT_ENTRY lpSelectorEntry
2217 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2227 CONST SYSTEMTIME
* lpTime
,
2233 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2243 CONST SYSTEMTIME
* lpTime
,
2249 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2256 GetUserDefaultLCID (VOID
)
2259 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2269 GetUserDefaultLangID (VOID
)
2272 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2282 GetVDMCurrentDirectories (
2287 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2298 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2309 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2321 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2332 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2343 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2354 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2365 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2376 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2386 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2397 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2404 GlobalGetAtomNameA (
2410 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2417 GlobalGetAtomNameW (
2423 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2434 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2445 /* In Win32 GlobalAlloc returns LPVOID? */
2452 GlobalMemoryStatus (
2453 LPMEMORYSTATUS lpBuffer
2456 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2468 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2479 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2490 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2501 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2511 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2522 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2523 return NULL
; /* ? */
2536 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2550 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2565 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2578 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2593 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2602 LPPROCESS_HEAP_ENTRY lpEntry
2605 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2616 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2623 InvalidateConsoleDIBits (
2628 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2639 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2651 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2658 IsDebuggerPresent (VOID
)
2660 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2661 return FALSE
; /* FIXME: */
2671 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2683 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2699 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2715 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2723 LPCSTR lpLibFileName
,
2728 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2736 LPCWSTR lpLibFileName
,
2741 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2749 LPCSTR lpModuleName
,
2750 LPVOID lpParameterBlock
2753 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2768 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2779 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2790 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2801 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2812 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2823 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2836 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2848 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2859 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2870 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2886 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2893 MultiByteToWideChar (
2896 LPCSTR lpMultiByteStr
,
2898 LPWSTR lpWideCharStr
,
2902 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2916 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2924 DWORD dwDesiredAccess
,
2925 WINBOOL bInheritHandle
,
2929 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2930 return INVALID_HANDLE_VALUE
;
2937 DWORD dwDesiredAccess
,
2938 WINBOOL bInheritHandle
,
2942 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2943 return INVALID_HANDLE_VALUE
;
2949 OpenProfileUserMapping (VOID
)
2951 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2959 DWORD dwDesiredAccess
,
2960 WINBOOL bInheritHandle
,
2964 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2965 return INVALID_HANDLE_VALUE
;
2972 DWORD dwDesiredAccess
,
2973 WINBOOL bInheritHandle
,
2977 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
2978 return INVALID_HANDLE_VALUE
;
2988 LPDWORD lpBytesRead
,
2989 LPDWORD lpTotalBytesAvail
,
2990 LPDWORD lpBytesLeftThisMessage
2993 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3006 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3018 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3025 QueryPerformanceCounter (
3026 LARGE_INTEGER
* lpPerformanceCount
3029 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3036 QueryPerformanceFrequency (
3037 LARGE_INTEGER
* lpFrequency
3040 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3047 QueryWin31IniFilesMappedToRegistry (
3054 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3062 DWORD dwExceptionCode
,
3063 DWORD dwExceptionFlags
,
3064 DWORD nNumberOfArguments
,
3065 CONST DWORD
* lpArguments
3068 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3077 RegisterConsoleVDM (
3091 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3098 RegisterWowBaseHandlers (
3102 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3113 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3124 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3134 LPLONG lpPreviousCount
3137 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3150 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3163 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3175 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3187 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3196 LPCOMMTIMEOUTS lpCommTimeouts
3199 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3207 LPCSTR lpComputerName
3210 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3218 LPCWSTR lpComputerName
3221 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3228 SetConsoleCommandHistoryMode (
3232 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3244 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3251 SetConsoleDisplayMode (
3257 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3269 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3276 SetConsoleHardwareState (
3282 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3289 SetConsoleKeyShortcuts (
3296 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3303 SetConsoleMaximumWindowSize (
3308 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3315 SetConsoleMenuClose (
3319 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3326 SetConsoleNumberOfCommandsA (
3331 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3338 SetConsoleNumberOfCommandsW (
3343 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3356 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3363 SetDefaultCommConfigA (
3369 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3376 SetDefaultCommConfigW (
3382 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3389 SetLastConsoleEventActive (VOID
)
3391 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3404 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3417 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3429 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3436 SetNamedPipeHandleState (
3439 LPDWORD lpMaxCollectionCount
,
3440 LPDWORD lpCollectDataTimeout
3443 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3452 DWORD dwPriorityClass
3455 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3462 SetProcessShutdownParameters (
3467 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3474 SetProcessWorkingSetSize (
3476 DWORD dwMinimumWorkingSetSize
,
3477 DWORD dwMaximumWorkingSetSize
3480 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3487 SetSystemPowerState (
3492 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3502 LPVOID lpTapeInformation
3505 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3514 DWORD dwPositionMethod
,
3521 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3532 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3539 SetVDMCurrentDirectories (
3544 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3557 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3569 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3585 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3595 DWORD nInBufferSize
,
3597 DWORD nOutBufferSize
,
3598 LPDWORD lpBytesRead
,
3599 LPOVERLAPPED lpOverlapped
3602 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3614 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3625 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3641 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3657 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3664 VDMConsoleOperation (
3669 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3676 VDMOperationStarted (
3680 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3693 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3706 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3713 VerifyConsoleIoHandle (
3717 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3724 VirtualBufferExceptionHandler (
3730 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3740 LPOVERLAPPED lpOverlapped
3743 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3751 LPDEBUG_EVENT lpDebugEvent
,
3752 DWORD dwMilliseconds
3755 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3763 LPCSTR lpNamedPipeName
,
3767 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3775 LPCWSTR lpNamedPipeName
,
3779 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3786 WideCharToMultiByte (
3789 LPCWSTR lpWideCharStr
,
3791 LPSTR lpMultiByteStr
,
3793 LPCSTR lpDefaultChar
,
3794 LPBOOL lpUsedDefaultChar
3797 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3804 WriteConsoleInputVDMA (
3811 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3818 WriteConsoleInputVDMW (
3825 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3832 WritePrivateProfileSectionA (
3838 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3845 WritePrivateProfileSectionW (
3851 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3858 WritePrivateProfileStringA (
3865 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3872 WritePrivateProfileStringW (
3879 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3886 WritePrivateProfileStructA (
3894 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3901 WritePrivateProfileStructW (
3909 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3918 WriteProfileSectionA (
3923 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3930 WriteProfileSectionW (
3935 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3942 WriteProfileStringA (
3948 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3955 WriteProfileStringW (
3961 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3970 DWORD dwTapemarkType
,
3971 DWORD dwTapemarkCount
,
3975 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
3983 DWORD dwPositionType
,
3984 LPDWORD lpdwPartition
,
3985 LPDWORD lpdwOffsetLow
,
3986 LPDWORD lpdwOffsetHigh
3989 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);