-/* $Id: stubs.c,v 1.40 2003/01/05 10:07:08 robd Exp $
- *
- * KERNEL32.DLL stubs (unimplemented functions)
+/*
+ * KERNEL32.DLL stubs (STUB functions)
* Remove from this file, if you implement them.
*/
-#include <windows.h>
-#define _OLE2NLS_IN_BUILD_
+#include <k32.h>
+#define NDEBUG
+#include "../include/debug.h"
+
+
+#define STUB \
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED); \
+ DPRINT1("%s() is UNIMPLEMENTED!\n", __FUNCTION__)
+
+/*
+ * @unimplemented
+ */
BOOL
STDCALL
-IsProcessorFeaturePresent( DWORD ProcessorFeature )
+BaseAttachCompleteThunk (VOID)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ STUB;
return FALSE;
}
+/*
+ * @unimplemented
+ */
+VOID STDCALL
+BaseDumpAppcompatCache(VOID)
+{
+ STUB;
+}
-BOOL
-STDCALL
-BaseAttachCompleteThunk (VOID)
+/*
+ * @unimplemented
+ */
+VOID STDCALL
+BaseFlushAppcompatCache(VOID)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+}
+
+/*
+ * @unimplemented
+ */
+VOID STDCALL
+BaseCheckAppcompatCache(ULONG Unknown1, ULONG Unknown2, ULONG Unknown3, ULONG Unknown4)
+{
+ STUB;
}
+/*
+ * @unimplemented
+ */
+VOID STDCALL
+BaseUpdateAppcompatCache(ULONG Unknown1, ULONG Unknown2, ULONG Unknown3)
+{
+ STUB;
+}
+/*
+ * @unimplemented
+ */
BOOL
STDCALL
CmdBatNotification (
DWORD Unknown
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ STUB;
return FALSE;
}
-int
+/*
+ * @unimplemented
+ */
+DWORD
STDCALL
-CompareStringA (
- LCID Locale,
- DWORD dwCmpFlags,
- LPCSTR lpString1,
- int cchCount1,
- LPCSTR lpString2,
- int cchCount2
+CreateVirtualBuffer (
+ DWORD Unknown0,
+ DWORD Unknown1,
+ DWORD Unknown2
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ STUB;
return 0;
}
-int
+/*
+ * @unimplemented
+ */
+DWORD
STDCALL
-CompareStringW (
- LCID Locale,
- DWORD dwCmpFlags,
- LPCWSTR lpString1,
- int cchCount1,
- LPCWSTR lpString2,
- int cchCount2
+ExitVDM (
+ DWORD Unknown0,
+ DWORD Unknown1
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ STUB;
return 0;
}
-LCID
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-ConvertDefaultLocale (
- LCID Locale
+ExtendVirtualBuffer (
+ DWORD Unknown0,
+ DWORD Unknown1
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ STUB;
+ return FALSE;
}
-DWORD
+/*
+ * @unimplemented
+ */
+int
STDCALL
-CreateVirtualBuffer (
- DWORD Unknown0,
- DWORD Unknown1,
- DWORD Unknown2
+FoldStringW (
+ DWORD dwMapFlags,
+ LPCWSTR lpSrcStr,
+ int cchSrc,
+ LPWSTR lpDestStr,
+ int cchDest
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ STUB;
return 0;
}
-WINBOOL
+/*
+ * @unimplemented
+ */
+int
STDCALL
-EnumCalendarInfoW (
- CALINFO_ENUMPROC lpCalInfoEnumProc,
- LCID Locale,
- CALID Calendar,
- CALTYPE CalType
+FoldStringA (
+ DWORD dwMapFlags,
+ LPCSTR lpSrcStr,
+ int cchSrc,
+ LPSTR lpDestStr,
+ int cchDest
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-EnumCalendarInfoA (
- CALINFO_ENUMPROC lpCalInfoEnumProc,
- LCID Locale,
- CALID Calendar,
- CALTYPE CalType
+FreeVirtualBuffer (
+ HANDLE hVirtualBuffer
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ STUB;
return FALSE;
}
-WINBOOL
+/*
+ * @unimplemented
+ */
+DWORD
STDCALL
-EnumDateFormatsW (
- DATEFMT_ENUMPROC lpDateFmtEnumProc,
- LCID Locale,
- DWORD dwFlags
+GetNextVDMCommand (
+ DWORD Unknown0
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-EnumDateFormatsA (
- DATEFMT_ENUMPROC lpDateFmtEnumProc,
- LCID Locale,
- DWORD dwFlags
+GetSystemPowerStatus (
+ LPSYSTEM_POWER_STATUS PowerStatus
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ PowerStatus->ACLineStatus = 1;
+ PowerStatus->BatteryFlag = 128;
+ PowerStatus->BatteryLifePercent = 255;
+ PowerStatus->Reserved1 = 0;
+ PowerStatus->BatteryLifeTime = -1;
+ PowerStatus->BatteryFullLifeTime = -1;
+ return TRUE;
}
-WINBOOL
+/*
+ * @unimplemented
+ */
+DWORD
STDCALL
-EnumSystemCodePagesW (
- CODEPAGE_ENUMPROC lpCodePageEnumProc,
- DWORD dwFlags
+GetVDMCurrentDirectories (
+ DWORD Unknown0,
+ DWORD Unknown1
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-EnumSystemCodePagesA (
- CODEPAGE_ENUMPROC lpCodePageEnumProc,
- DWORD dwFlags
+RegisterConsoleVDM (
+ DWORD Unknown0,
+ DWORD Unknown1,
+ DWORD Unknown2,
+ DWORD Unknown3,
+ DWORD Unknown4,
+ DWORD Unknown5,
+ DWORD Unknown6,
+ DWORD Unknown7,
+ DWORD Unknown8,
+ DWORD Unknown9,
+ DWORD Unknown10
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ STUB;
return FALSE;
}
-#ifndef _OLE2NLS_IN_BUILD_
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-EnumSystemLocalesW (
- LOCALE_ENUMPROC lpLocaleEnumProc,
- DWORD dwFlags
+RegisterWowBaseHandlers (
+ DWORD Unknown0
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ STUB;
return FALSE;
}
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-EnumSystemLocalesA (
- LOCALE_ENUMPROC lpLocaleEnumProc,
- DWORD dwFlags
+RegisterWowExec (
+ DWORD Unknown0
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ STUB;
return FALSE;
}
-#endif
-WINBOOL
-STDCALL
-EnumTimeFormatsW (
- TIMEFMT_ENUMPROC lpTimeFmtEnumProc,
- LCID Locale,
- DWORD dwFlags
+/*
+ * @unimplemented
+ */
+BOOL STDCALL
+SetSystemPowerState (
+ BOOL fSuspend,
+ BOOL fForce
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ STUB;
return FALSE;
}
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-EnumTimeFormatsA (
- TIMEFMT_ENUMPROC lpTimeFmtEnumProc,
- LCID Locale,
- DWORD dwFlags
+SetVDMCurrentDirectories (
+ DWORD Unknown0,
+ DWORD Unknown1
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ STUB;
return FALSE;
}
+/*
+ * @unimplemented
+ */
DWORD
STDCALL
-ExitVDM (
- DWORD Unknown0,
- DWORD Unknown1
+TrimVirtualBuffer (
+ DWORD Unknown0
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ STUB;
return 0;
}
-BOOL
+/*
+ * @unimplemented
+ */
+DWORD
STDCALL
-ExtendVirtualBuffer (
+VDMConsoleOperation (
DWORD Unknown0,
DWORD Unknown1
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
-int
+/*
+ * @unimplemented
+ */
+DWORD
STDCALL
-FoldStringW (
- DWORD dwMapFlags,
- LPCWSTR lpSrcStr,
- int cchSrc,
- LPWSTR lpDestStr,
- int cchDest
+VDMOperationStarted (
+ DWORD Unknown0
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ STUB;
return 0;
}
-int
+/*
+ * @unimplemented
+ */
+DWORD
STDCALL
-FoldStringA (
- DWORD dwMapFlags,
- LPCSTR lpSrcStr,
- int cchSrc,
- LPSTR lpDestStr,
- int cchDest
+VerLanguageNameA (
+ DWORD wLang,
+ LPSTR szLang,
+ DWORD nSize
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ STUB;
return 0;
}
-BOOL
+/*
+ * @unimplemented
+ */
+DWORD
STDCALL
-FreeVirtualBuffer (
- HANDLE hVirtualBuffer
+VerLanguageNameW (
+ DWORD wLang,
+ LPWSTR szLang,
+ DWORD nSize
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
-#ifndef _OLE2NLS_IN_BUILD_
-UINT
+/*
+ * @unimplemented
+ */
+DWORD
STDCALL
-GetACP (VOID)
+VirtualBufferExceptionHandler (
+ DWORD Unknown0,
+ DWORD Unknown1,
+ DWORD Unknown2
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ STUB;
return 0;
}
-#endif
-
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetBinaryTypeW (
- LPCWSTR lpApplicationName,
- LPDWORD lpBinaryType
+ActivateActCtx(
+ HANDLE hActCtx,
+ ULONG_PTR *lpCookie
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
-
-WINBOOL
+/*
+ * @unimplemented
+ */
+VOID
STDCALL
-GetBinaryTypeA (
- LPCSTR lpApplicationName,
- LPDWORD lpBinaryType
+AddRefActCtx(
+ HANDLE hActCtx
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
}
-#ifndef _OLE2NLS_IN_BUILD_
-
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetCPInfo (
- UINT a0,
- LPCPINFO a1
+AllocateUserPhysicalPages(
+ HANDLE hProcess,
+ PULONG_PTR NumberOfPages,
+ PULONG_PTR UserPfnArray
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ STUB;
return 0;
}
-#endif
-
-int
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetCurrencyFormatW (
- LCID Locale,
- DWORD dwFlags,
- LPCWSTR lpValue,
- CONST CURRENCYFMT * lpFormat,
- LPWSTR lpCurrencyStr,
- int cchCurrency
+BindIoCompletionCallback (
+ HANDLE FileHandle,
+ LPOVERLAPPED_COMPLETION_ROUTINE Function,
+ ULONG Flags
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ STUB;
return 0;
}
-
-int
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetCurrencyFormatA (
- LCID Locale,
- DWORD dwFlags,
- LPCSTR lpValue,
- CONST CURRENCYFMT * lpFormat,
- LPSTR lpCurrencyStr,
- int cchCurrency
+CancelDeviceWakeupRequest(
+ HANDLE hDevice
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ STUB;
return 0;
}
-#ifndef _OLE2NLS_IN_BUILD_
-
-int
+/*
+ * @unimplemented
+ */
+HANDLE
STDCALL
-GetDateFormatW (
- LCID Locale,
- DWORD dwFlags,
- CONST SYSTEMTIME * lpDate,
- LPCWSTR lpFormat,
- LPWSTR lpDateStr,
- int cchDate
+CreateActCtxW(
+ PCACTCTXW pActCtx
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ STUB;
+ return INVALID_HANDLE_VALUE;
}
-
-int
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetDateFormatA (
- LCID Locale,
- DWORD dwFlags,
- CONST SYSTEMTIME * lpDate,
- LPCSTR lpFormat,
- LPSTR lpDateStr,
- int cchDate
- )
+CreateJobSet (
+ ULONG NumJob,
+ PJOB_SET_ARRAY UserJobSet,
+ ULONG Flags)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ STUB;
return 0;
}
-
-int
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetLocaleInfoW (
- LCID Locale,
- LCTYPE LCType,
- LPWSTR lpLCData,
- int cchData
+DeactivateActCtx(
+ DWORD dwFlags,
+ ULONG_PTR ulCookie
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ STUB;
return 0;
}
-
-int
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetLocaleInfoA (
- LCID Locale,
- LCTYPE LCType,
- LPSTR lpLCData,
- int cchData
+FindActCtxSectionGuid(
+ DWORD dwFlags,
+ const GUID *lpExtensionGuid,
+ ULONG ulSectionId,
+ const GUID *lpGuidToFind,
+ PACTCTX_SECTION_KEYED_DATA ReturnedData
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ STUB;
return 0;
}
-
-DWORD
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetNextVDMCommand (
- DWORD Unknown0
+FindVolumeClose(
+ HANDLE hFindVolume
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ STUB;
return 0;
}
-
-int
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetNumberFormatW (
- LCID Locale,
- DWORD dwFlags,
- LPCWSTR lpValue,
- CONST NUMBERFMT * lpFormat,
- LPWSTR lpNumberStr,
- int cchNumber
+FindVolumeMountPointClose(
+ HANDLE hFindVolumeMountPoint
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ STUB;
return 0;
}
-
-int
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetNumberFormatA (
- LCID Locale,
- DWORD dwFlags,
- LPCSTR lpValue,
- CONST NUMBERFMT * lpFormat,
- LPSTR lpNumberStr,
- int cchNumber
+FreeUserPhysicalPages(
+ HANDLE hProcess,
+ PULONG_PTR NumberOfPages,
+ PULONG_PTR PageArray
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ STUB;
return 0;
}
-
-UINT
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetOEMCP (VOID)
+GetCurrentActCtx(
+ HANDLE *lphActCtx)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 437; /* FIXME: call csrss.exe */
+ STUB;
+ return 0;
}
-
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetStringTypeExW (
- LCID Locale,
- DWORD dwInfoType,
- LPCWSTR lpSrcStr,
- int cchSrc,
- LPWORD lpCharType
+GetDevicePowerState(
+ HANDLE hDevice,
+ BOOL *pfOn
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetStringTypeExA (
- LCID Locale,
- DWORD dwInfoType,
- LPCSTR lpSrcStr,
- int cchSrc,
- LPWORD lpCharType
+GetNumaHighestNodeNumber(
+ PULONG HighestNodeNumber
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
-
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetStringTypeW (
- DWORD dwInfoType,
- LPCWSTR lpSrcStr,
- int cchSrc,
- LPWORD lpCharType
+GetNumaNodeProcessorMask(
+ UCHAR Node,
+ PULONGLONG ProcessorMask
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
-
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetStringTypeA (
- LCID Locale,
- DWORD dwInfoType,
- LPCSTR lpSrcStr,
- int cchSrc,
- LPWORD lpCharType
+GetNumaProcessorNode(
+ UCHAR Processor,
+ PUCHAR NodeNumber
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
+/*
+ * @unimplemented
+ */
+UINT
+STDCALL
+GetWriteWatch(
+ DWORD dwFlags,
+ PVOID lpBaseAddress,
+ SIZE_T dwRegionSize,
+ PVOID *lpAddresses,
+ PULONG_PTR lpdwCount,
+ PULONG lpdwGranularity
+ )
+{
+ STUB;
+ return 0;
+}
-LCID
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetSystemDefaultLCID (VOID)
+HeapQueryInformation (
+ HANDLE HeapHandle,
+ HEAP_INFORMATION_CLASS HeapInformationClass,
+ PVOID HeapInformation OPTIONAL,
+ SIZE_T HeapInformationLength OPTIONAL,
+ PSIZE_T ReturnLength OPTIONAL
+ )
{
- /* FIXME: ??? */
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return MAKELCID(
- LANG_ENGLISH,
- SORT_DEFAULT
- );
+ STUB;
+ return 0;
}
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+HeapSetInformation (
+ HANDLE HeapHandle,
+ HEAP_INFORMATION_CLASS HeapInformationClass,
+ PVOID HeapInformation OPTIONAL,
+ SIZE_T HeapInformationLength OPTIONAL
+ )
+{
+ STUB;
+ return 0;
+}
-LANGID
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetSystemDefaultLangID (VOID)
+IsSystemResumeAutomatic(
+ VOID
+ )
{
- /* FIXME: ??? */
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return MAKELANGID(
- LANG_ENGLISH,
- SUBLANG_ENGLISH_US
- );
+ STUB;
+ return 0;
}
-#endif
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+IsWow64Process(
+ HANDLE hProcess,
+ PBOOL Wow64Process
+ )
+{
+ STUB;
+ *Wow64Process = FALSE;
+ return TRUE;
+}
-DWORD
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetSystemPowerStatus (
- DWORD Unknown0
+MapUserPhysicalPages(
+ PVOID VirtualAddress,
+ ULONG_PTR NumberOfPages,
+ PULONG_PTR PageArray OPTIONAL
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ STUB;
return 0;
}
-#ifndef _OLE2NLS_IN_BUILD_
-
-LCID
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetThreadLocale (VOID)
+MapUserPhysicalPagesScatter(
+ PVOID *VirtualAddresses,
+ ULONG_PTR NumberOfPages,
+ PULONG_PTR PageArray OPTIONAL
+ )
{
- /* FIXME: ??? */
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return MAKELCID(
- LANG_ENGLISH,
- SORT_DEFAULT
- );
+ STUB;
+ return 0;
}
-#endif
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+QueryActCtxW(
+ DWORD dwFlags,
+ HANDLE hActCtx,
+ PVOID pvSubInstance,
+ ULONG ulInfoClass,
+ PVOID pvBuffer,
+ SIZE_T cbBuffer OPTIONAL,
+ SIZE_T *pcbWrittenOrRequired OPTIONAL
+ )
+{
+ STUB;
+ return 0;
+}
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetThreadPriorityBoost (
- HANDLE hThread,
- DWORD dwSelector,
- LPLDT_ENTRY lpSelectorEntry
+QueueUserWorkItem(
+ LPTHREAD_START_ROUTINE Function,
+ PVOID Context,
+ ULONG Flags
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
-WINBOOL
+
+
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetThreadSelectorEntry (
- HANDLE hThread,
- DWORD dwSelector,
- LPLDT_ENTRY lpSelectorEntry
+ReadFileScatter(
+ HANDLE hFile,
+ FILE_SEGMENT_ELEMENT aSegmentArray[],
+ DWORD nNumberOfBytesToRead,
+ LPDWORD lpReserved,
+ LPOVERLAPPED lpOverlapped
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+RegisterWaitForSingleObject(
+ PHANDLE phNewWaitObject,
+ HANDLE hObject,
+ WAITORTIMERCALLBACK Callback,
+ PVOID Context,
+ ULONG dwMilliseconds,
+ ULONG dwFlags
+ )
+{
+ STUB;
+ return 0;
+}
-int
+/*
+ * @unimplemented
+ */
+HANDLE
STDCALL
-GetTimeFormatW (
- LCID Locale,
- DWORD dwFlags,
- CONST SYSTEMTIME * lpTime,
- LPCWSTR lpFormat,
- LPWSTR lpTimeStr,
- int cchTime
+RegisterWaitForSingleObjectEx(
+ HANDLE hObject,
+ WAITORTIMERCALLBACK Callback,
+ PVOID Context,
+ ULONG dwMilliseconds,
+ ULONG dwFlags
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ STUB;
return 0;
}
+/*
+ * @unimplemented
+ */
+VOID
+STDCALL
+ReleaseActCtx(
+ HANDLE hActCtx
+ )
+{
+ STUB;
+}
-int
+/*
+ * @unimplemented
+ */
+ULONG
STDCALL
-GetTimeFormatA (
- LCID Locale,
- DWORD dwFlags,
- CONST SYSTEMTIME * lpTime,
- LPCSTR lpFormat,
- LPSTR lpTimeStr,
- int cchTime
+RemoveVectoredExceptionHandler(
+ PVOID VectoredHandlerHandle
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ STUB;
return 0;
}
-#ifndef _OLE2NLS_IN_BUILD_
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+RequestDeviceWakeup(
+ HANDLE hDevice
+ )
+{
+ STUB;
+ return 0;
+}
-LCID
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetUserDefaultLCID (VOID)
+RequestWakeupLatency(
+ LATENCY_TIME latency
+ )
{
- /* FIXME: ??? */
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return MAKELCID(
- LANG_ENGLISH,
- SORT_DEFAULT
- );
+ STUB;
+ return 0;
}
+/*
+ * @unimplemented
+ */
+UINT
+STDCALL
+ResetWriteWatch(
+ LPVOID lpBaseAddress,
+ SIZE_T dwRegionSize
+ )
+{
+ STUB;
+ return 0;
+}
-LANGID
+/*
+ * @unimplemented
+ */
+VOID
STDCALL
-GetUserDefaultLangID (VOID)
+RestoreLastError(
+ DWORD dwErrCode
+ )
{
- /* FIXME: ??? */
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return MAKELANGID(
- LANG_ENGLISH,
- SUBLANG_ENGLISH_US
- );
+ STUB;
}
-#endif
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+SetMessageWaitingIndicator(
+ HANDLE hMsgIndicator,
+ ULONG ulMsgCount
+ )
+{
+ STUB;
+ return 0;
+}
-DWORD
+/*
+ * @unimplemented
+ */
+EXECUTION_STATE
STDCALL
-GetVDMCurrentDirectories (
- DWORD Unknown0,
- DWORD Unknown1
+SetThreadExecutionState(
+ EXECUTION_STATE esFlags
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ STUB;
return 0;
}
-#ifndef _OLE2NLS_IN_BUILD_
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+TzSpecificLocalTimeToSystemTime(
+ LPTIME_ZONE_INFORMATION lpTimeZoneInformation,
+ LPSYSTEMTIME lpLocalTime,
+ LPSYSTEMTIME lpUniversalTime
+ )
+{
+ STUB;
+ return 0;
+}
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-IsDBCSLeadByte (
- BYTE TestChar
+UnregisterWait(
+ HANDLE WaitHandle
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+UnregisterWaitEx(
+ HANDLE WaitHandle,
+ HANDLE CompletionEvent
+ )
+{
+ STUB;
+ return 0;
+}
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-IsDBCSLeadByteEx (
- UINT CodePage,
- BYTE TestChar
+WriteFileGather(
+ HANDLE hFile,
+ FILE_SEGMENT_ELEMENT aSegmentArray[],
+ DWORD nNumberOfBytesToWrite,
+ LPDWORD lpReserved,
+ LPOVERLAPPED lpOverlapped
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+ZombifyActCtx(
+ HANDLE hActCtx
+ )
+{
+ STUB;
+ return 0;
+}
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-IsValidCodePage (
- UINT CodePage
+DeleteVolumeMountPointW(
+ LPCWSTR lpszVolumeMountPoint
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+DnsHostnameToComputerNameW (
+ LPCWSTR Hostname,
+ LPWSTR ComputerName,
+ LPDWORD nSize
+ )
+{
+ STUB;
+ return 0;
+}
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-IsValidLocale (
- LCID Locale,
- DWORD dwFlags
+FindActCtxSectionStringW(
+ DWORD dwFlags,
+ const GUID *lpExtensionGuid,
+ ULONG ulSectionId,
+ LPCWSTR lpStringToFind,
+ PACTCTX_SECTION_KEYED_DATA ReturnedData
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ STUB;
return FALSE;
}
-
-int
+/*
+ * @unimplemented
+ */
+HANDLE
STDCALL
-LCMapStringA (
- LCID Locale,
- DWORD dwMapFlags,
- LPCSTR lpSrcStr,
- int cchSrc,
- LPSTR lpDestStr,
- int cchDest
+FindFirstVolumeW(
+ LPCWSTR lpszVolumeName,
+ DWORD cchBufferLength
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ STUB;
return 0;
}
+/*
+ * @unimplemented
+ */
+HANDLE
+STDCALL
+FindFirstVolumeMountPointW(
+ LPWSTR lpszRootPathName,
+ LPWSTR lpszVolumeMountPoint,
+ DWORD cchBufferLength
+ )
+{
+ STUB;
+ return 0;
+}
-int
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-LCMapStringW (
- LCID Locale,
- DWORD dwMapFlags,
- LPCWSTR lpSrcStr,
- int cchSrc,
- LPWSTR lpDestStr,
- int cchDest
+FindNextVolumeW(
+ HANDLE hFindVolume,
+ LPWSTR lpszVolumeName,
+ DWORD cchBufferLength
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ STUB;
return 0;
}
-#endif
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+FindNextVolumeMountPointW(
+ HANDLE hFindVolumeMountPoint,
+ LPWSTR lpszVolumeMountPoint,
+ DWORD cchBufferLength
+ )
+{
+ STUB;
+ return 0;
+}
+/*
+ * @unimplemented
+ */
DWORD
STDCALL
-LoadModule (
- LPCSTR lpModuleName,
- LPVOID lpParameterBlock
+GetFirmwareEnvironmentVariableW(
+ LPCWSTR lpName,
+ LPCWSTR lpGuid,
+ PVOID pBuffer,
+ DWORD nSize
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ STUB;
return 0;
}
-WINBOOL
+
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-QueryPerformanceCounter (
- LARGE_INTEGER * lpPerformanceCount
+GetModuleHandleExW(
+ DWORD dwFlags,
+ LPCWSTR lpModuleName,
+ HMODULE* phModule
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
-
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-QueryPerformanceFrequency (
- LARGE_INTEGER * lpFrequency
+GetVolumeNameForVolumeMountPointW(
+ LPCWSTR lpszVolumeMountPoint,
+ LPWSTR lpszVolumeName,
+ DWORD cchBufferLength
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
-
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-RegisterConsoleVDM (
- DWORD Unknown0,
- DWORD Unknown1,
- DWORD Unknown2,
- DWORD Unknown3,
- DWORD Unknown4,
- DWORD Unknown5,
- DWORD Unknown6,
- DWORD Unknown7,
- DWORD Unknown8,
- DWORD Unknown9,
- DWORD Unknown10
+GetVolumePathNameW(
+ LPCWSTR lpszFileName,
+ LPWSTR lpszVolumePathName,
+ DWORD cchBufferLength
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
-
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-RegisterWowBaseHandlers (
- DWORD Unknown0
+GetVolumePathNamesForVolumeNameW(
+ LPCWSTR lpszVolumeName,
+ LPWSTR lpszVolumePathNames,
+ DWORD cchBufferLength,
+ PDWORD lpcchReturnLength
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
-
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-RegisterWowExec (
- DWORD Unknown0
+ReplaceFileW(
+ LPCWSTR lpReplacedFileName,
+ LPCWSTR lpReplacementFileName,
+ LPCWSTR lpBackupFileName,
+ DWORD dwReplaceFlags,
+ LPVOID lpExclude,
+ LPVOID lpReserved
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
-
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-SetComputerNameA (
- LPCSTR lpComputerName
+SetFirmwareEnvironmentVariableW(
+ LPCWSTR lpName,
+ LPCWSTR lpGuid,
+ PVOID pValue,
+ DWORD nSize
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
-
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-SetComputerNameW (
- LPCWSTR lpComputerName
+SetVolumeMountPointW(
+ LPCWSTR lpszVolumeMountPoint,
+ LPCWSTR lpszVolumeName
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
-
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-SetSystemPowerState (
- DWORD Unknown0,
- DWORD Unknown1
+DeleteVolumeMountPointA(
+ LPCSTR lpszVolumeMountPoint
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
-
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-SetThreadIdealProcessor(VOID)
+DnsHostnameToComputerNameA (
+ LPCSTR Hostname,
+ LPSTR ComputerName,
+ LPDWORD nSize
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ STUB;
return 0;
}
-
-WINBOOL
+/*
+ * @unimplemented
+ */
+HANDLE
STDCALL
-SetThreadPriorityBoost(VOID)
+FindFirstVolumeA(
+ LPCSTR lpszVolumeName,
+ DWORD cchBufferLength
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ STUB;
return 0;
}
-
-WINBOOL
+/*
+ * @unimplemented
+ */
+HANDLE
STDCALL
-SetVDMCurrentDirectories (
- DWORD Unknown0,
- DWORD Unknown1
+FindFirstVolumeMountPointA(
+ LPSTR lpszRootPathName,
+ LPSTR lpszVolumeMountPoint,
+ DWORD cchBufferLength
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
-
-DWORD
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-TrimVirtualBuffer (
- DWORD Unknown0
+FindNextVolumeA(
+ HANDLE hFindVolume,
+ LPCSTR lpszVolumeName,
+ DWORD cchBufferLength
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ STUB;
return 0;
}
-
-DWORD
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-VDMConsoleOperation (
- DWORD Unknown0,
- DWORD Unknown1
+FindNextVolumeMountPointA(
+ HANDLE hFindVolumeMountPoint,
+ LPSTR lpszVolumeMountPoint,
+ DWORD cchBufferLength
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ STUB;
return 0;
}
-
+/*
+ * @unimplemented
+ */
DWORD
STDCALL
-VDMOperationStarted (
- DWORD Unknown0
+GetFirmwareEnvironmentVariableA(
+ LPCSTR lpName,
+ LPCSTR lpGuid,
+ PVOID pBuffer,
+ DWORD nSize
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ STUB;
return 0;
}
-#ifndef _OLE2NLS_IN_BUILD_
-WINBOOL
+
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-SetLocaleInfoA (
- LCID Locale,
- LCTYPE LCType,
- LPCSTR lpLCData
+GetModuleHandleExA(
+ DWORD dwFlags,
+ LPCSTR lpModuleName,
+ HMODULE* phModule
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
-
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-SetLocaleInfoW (
- LCID Locale,
- LCTYPE LCType,
- LPCWSTR lpLCData
+GetVolumeNameForVolumeMountPointA(
+ LPCSTR lpszVolumeMountPoint,
+ LPSTR lpszVolumeName,
+ DWORD cchBufferLength
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
-
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-SetThreadLocale (
- LCID Locale
+GetVolumePathNameA(
+ LPCSTR lpszFileName,
+ LPSTR lpszVolumePathName,
+ DWORD cchBufferLength
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+GetVolumePathNamesForVolumeNameA(
+ LPCSTR lpszVolumeName,
+ LPSTR lpszVolumePathNames,
+ DWORD cchBufferLength,
+ PDWORD lpcchReturnLength
+ )
+{
+ STUB;
+ return 0;
+}
-DWORD
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-VerLanguageNameA (
- DWORD wLang,
- LPSTR szLang,
- DWORD nSize
+ReplaceFileA(
+ LPCSTR lpReplacedFileName,
+ LPCSTR lpReplacementFileName,
+ LPCSTR lpBackupFileName,
+ DWORD dwReplaceFlags,
+ LPVOID lpExclude,
+ LPVOID lpReserved
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ STUB;
return 0;
}
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+SetFirmwareEnvironmentVariableA(
+ LPCSTR lpName,
+ LPCSTR lpGuid,
+ PVOID pValue,
+ DWORD nSize
+ )
+{
+ STUB;
+ return 0;
+}
-DWORD
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-VerLanguageNameW (
- DWORD wLang,
- LPWSTR szLang,
- DWORD nSize
+SetVolumeMountPointA(
+ LPCSTR lpszVolumeMountPoint,
+ LPCSTR lpszVolumeName
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ STUB;
+ return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL STDCALL GetConsoleKeyboardLayoutNameA(LPSTR name)
+{
+ STUB;
return 0;
}
+/*
+ * @unimplemented
+ */
+BOOL STDCALL GetConsoleKeyboardLayoutNameW(LPWSTR name)
+{
+ STUB;
+ return 0;
+}
+
+/*
+ * @unimplemented
+ */
+DWORD STDCALL GetHandleContext(HANDLE hnd)
+{
+ STUB;
+ return 0;
+}
+
+/*
+ * @unimplemented
+ */
+HANDLE STDCALL CreateSocketHandle(VOID)
+{
+ STUB;
+ return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL STDCALL SetHandleContext(HANDLE hnd,DWORD context)
+{
+ STUB;
+ return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL STDCALL UTRegister( HMODULE hModule, LPSTR lpsz16BITDLL,
+ LPSTR lpszInitName, LPSTR lpszProcName,
+ FARPROC *ppfn32Thunk, FARPROC pfnUT32CallBack,
+ LPVOID lpBuff )
+{
+ STUB;
+ return 0;
+}
+
+/*
+ * @unimplemented
+ */
+VOID STDCALL UTUnRegister( HMODULE hModule )
+{
+ STUB;
+}
+
+/*
+ * @unimplemented
+ */
+#if 0
+FARPROC STDCALL DelayLoadFailureHook(unsigned int dliNotify, PDelayLoadInfo pdli)
+#else
+FARPROC STDCALL DelayLoadFailureHook(unsigned int dliNotify, PVOID pdli)
#endif
+{
+ STUB;
+ return 0;
+}
-DWORD
+/*
+ * @unimplemented
+ */
+NTSTATUS STDCALL CreateNlsSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor,ULONG Size,ULONG AccessMask)
+{
+ STUB;
+ return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL STDCALL IsValidUILanguage(LANGID langid)
+{
+ STUB;
+ return 0;
+}
+
+/*
+ * @unimplemented
+ */
+VOID STDCALL NlsConvertIntegerToString(ULONG Value,ULONG Base,ULONG strsize, LPWSTR str, ULONG strsize2)
+{
+ STUB;
+}
+
+/*
+ * @unimplemented
+ */
+UINT STDCALL SetCPGlobal(UINT CodePage)
+{
+ STUB;
+ return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-VirtualBufferExceptionHandler (
- DWORD Unknown0,
- DWORD Unknown1,
- DWORD Unknown2
- )
+SetClientTimeZoneInformation(
+ CONST TIME_ZONE_INFORMATION *lpTimeZoneInformation
+ )
+{
+ STUB;
+ return 0;
+}
+
+ULONG
+WINAPI
+NlsGetCacheUpdateCount(VOID)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ STUB;
return 0;
}
-/* EOF */
+BOOL
+STDCALL
+Wow64DisableWow64FsRedirection (VOID ** pv)
+{
+ STUB;
+ return FALSE;
+}
+
+BOOL
+STDCALL
+Wow64RevertWow64FsRedirection (VOID * pv)
+{
+ STUB;
+ return FALSE;
+}