1 /* $Id: stubs.c,v 1.51 2003/06/09 19:58:21 hbirr Exp $
3 * KERNEL32.DLL stubs (unimplemented functions)
4 * Remove from this file, if you implement them.
8 //#define _OLE2NLS_IN_BUILD_
12 BaseAttachCompleteThunk (VOID
)
14 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
25 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
41 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
57 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
64 ConvertDefaultLocale (
68 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
81 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
89 CALINFO_ENUMPROC lpCalInfoEnumProc
,
95 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
103 CALINFO_ENUMPROC lpCalInfoEnumProc
,
109 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
117 DATEFMT_ENUMPROC lpDateFmtEnumProc
,
122 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
130 DATEFMT_ENUMPROC lpDateFmtEnumProc
,
135 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
142 EnumSystemCodePagesW (
143 CODEPAGE_ENUMPROC lpCodePageEnumProc
,
147 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
154 EnumSystemCodePagesA (
155 CODEPAGE_ENUMPROC lpCodePageEnumProc
,
159 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
163 #ifndef _OLE2NLS_IN_BUILD_
168 LOCALE_ENUMPROC lpLocaleEnumProc
,
172 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
180 LOCALE_ENUMPROC lpLocaleEnumProc
,
184 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
193 TIMEFMT_ENUMPROC lpTimeFmtEnumProc
,
198 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
206 TIMEFMT_ENUMPROC lpTimeFmtEnumProc
,
211 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
223 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
230 ExtendVirtualBuffer (
235 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
250 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
265 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
273 HANDLE hVirtualBuffer
276 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
280 #ifndef _OLE2NLS_IN_BUILD_
286 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
295 LPCWSTR lpApplicationName
,
299 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
307 LPCSTR lpApplicationName
,
311 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
315 #ifndef _OLE2NLS_IN_BUILD_
321 LPCPINFO CodePageInfo
326 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
328 CodePageInfo
->MaxCharSize
= 1;
329 CodePageInfo
->DefaultChar
[0] = '?';
330 for (i
= 1; i
< MAX_DEFAULTCHAR
; i
++)
332 CodePageInfo
->DefaultChar
[i
] = '\0';
334 for (i
= 0; i
< MAX_LEADBYTES
; i
++)
336 CodePageInfo
->LeadByte
[i
] = '\0';
350 CONST CURRENCYFMT
* lpFormat
,
351 LPWSTR lpCurrencyStr
,
355 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
366 CONST CURRENCYFMT
* lpFormat
,
371 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
375 #ifndef _OLE2NLS_IN_BUILD_
382 CONST SYSTEMTIME
* lpDate
,
388 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
398 CONST SYSTEMTIME
* lpDate
,
404 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
418 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
432 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
443 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
454 CONST NUMBERFMT
* lpFormat
,
459 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
470 CONST NUMBERFMT
* lpFormat
,
475 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
484 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
485 return 437; /* FIXME: call csrss.exe */
499 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
514 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
528 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
543 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
550 GetSystemDefaultLCID (VOID
)
553 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
563 GetSystemDefaultLangID (VOID
)
566 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
577 GetSystemPowerStatus (
581 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
585 #ifndef _OLE2NLS_IN_BUILD_
589 GetThreadLocale (VOID
)
592 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
606 CONST SYSTEMTIME
* lpTime
,
612 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
622 CONST SYSTEMTIME
* lpTime
,
628 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
632 #ifndef _OLE2NLS_IN_BUILD_
636 GetUserDefaultLCID (VOID
)
639 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
649 GetUserDefaultLangID (VOID
)
652 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
663 GetVDMCurrentDirectories (
668 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
672 #ifndef _OLE2NLS_IN_BUILD_
680 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
692 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
703 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
715 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
731 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
747 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
757 LPVOID lpParameterBlock
760 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
781 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
788 RegisterWowBaseHandlers (
792 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
803 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
808 #ifndef _OLE2NLS_IN_BUILD_
818 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
831 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
842 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
850 SetSystemPowerState (
855 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
862 SetVDMCurrentDirectories (
867 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
878 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
885 VDMConsoleOperation (
890 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
897 VDMOperationStarted (
901 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
906 #ifndef _OLE2NLS_IN_BUILD_
916 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
929 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
937 VirtualBufferExceptionHandler (
943 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);