-/* $Id: stubs.c,v 1.32 2002/09/08 10:22:45 chorns Exp $
- *
- * KERNEL32.DLL stubs (unimplemented functions)
+/*
+ * KERNEL32.DLL stubs (STUB functions)
* Remove from this file, if you implement them.
*/
-#include <windows.h>
+#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
BaseAttachCompleteThunk (VOID)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return FALSE;
}
-
-BOOL
-STDCALL
-CmdBatNotification (
- DWORD Unknown
- )
+/*
+ * @unimplemented
+ */
+VOID STDCALL
+BaseDumpAppcompatCache(VOID)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
}
-
-int
-STDCALL
-CompareStringA (
- LCID Locale,
- DWORD dwCmpFlags,
- LPCSTR lpString1,
- int cchCount1,
- LPCSTR lpString2,
- int cchCount2
- )
+/*
+ * @unimplemented
+ */
+VOID STDCALL
+BaseFlushAppcompatCache(VOID)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ STUB;
}
-
-int
-STDCALL
-CompareStringW (
- LCID Locale,
- DWORD dwCmpFlags,
- LPCWSTR lpString1,
- int cchCount1,
- LPCWSTR lpString2,
- int cchCount2
- )
+/*
+ * @unimplemented
+ */
+VOID STDCALL
+BaseCheckAppcompatCache(ULONG Unknown1, ULONG Unknown2, ULONG Unknown3, ULONG Unknown4)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ STUB;
}
+/*
+ * @unimplemented
+ */
+VOID STDCALL
+BaseUpdateAppcompatCache(ULONG Unknown1, ULONG Unknown2, ULONG Unknown3)
+{
+ STUB;
+}
-LCID
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-ConvertDefaultLocale (
- LCID Locale
- )
+CmdBatNotification (
+ DWORD Unknown
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ STUB;
+ return FALSE;
}
+/*
+ * @unimplemented
+ */
DWORD
STDCALL
CreateVirtualBuffer (
- DWORD Unknown0,
- DWORD Unknown1,
- DWORD Unknown2
- )
+ DWORD Unknown0,
+ DWORD Unknown1,
+ DWORD Unknown2
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ STUB;
+ return 0;
}
-WINBOOL
+/*
+ * @unimplemented
+ */
+DWORD
STDCALL
-EnumCalendarInfoW (
- CALINFO_ENUMPROC lpCalInfoEnumProc,
- LCID Locale,
- CALID Calendar,
- CALTYPE CalType
+ExitVDM (
+ DWORD Unknown0,
+ DWORD Unknown1
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
-
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-EnumCalendarInfoA (
- CALINFO_ENUMPROC lpCalInfoEnumProc,
- LCID Locale,
- CALID Calendar,
- CALTYPE CalType
- )
+ExtendVirtualBuffer (
+ DWORD Unknown0,
+ DWORD Unknown1
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return FALSE;
}
-WINBOOL
+/*
+ * @unimplemented
+ */
+int
STDCALL
-EnumDateFormatsW (
- DATEFMT_ENUMPROC lpDateFmtEnumProc,
- LCID Locale,
- DWORD dwFlags
- )
+FoldStringW (
+ DWORD dwMapFlags,
+ LPCWSTR lpSrcStr,
+ int cchSrc,
+ LPWSTR lpDestStr,
+ int cchDest
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
-WINBOOL
+/*
+ * @unimplemented
+ */
+int
STDCALL
-EnumDateFormatsA (
- DATEFMT_ENUMPROC lpDateFmtEnumProc,
- LCID Locale,
- DWORD dwFlags
- )
+FoldStringA (
+ DWORD dwMapFlags,
+ LPCSTR lpSrcStr,
+ int cchSrc,
+ LPSTR lpDestStr,
+ int cchDest
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+FreeVirtualBuffer (
+ HANDLE hVirtualBuffer
+ )
+{
+ STUB;
+ return FALSE;
+}
-WINBOOL
+/*
+ * @unimplemented
+ */
+DWORD
STDCALL
-EnumSystemCodePagesW (
- CODEPAGE_ENUMPROC lpCodePageEnumProc,
- DWORD dwFlags
- )
+GetNextVDMCommand (
+ DWORD Unknown0
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-EnumSystemCodePagesA (
- CODEPAGE_ENUMPROC lpCodePageEnumProc,
- DWORD dwFlags
- )
+GetSystemPowerStatus (
+ LPSYSTEM_POWER_STATUS PowerStatus
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
-WINBOOL
+/*
+ * @unimplemented
+ */
+DWORD
STDCALL
-EnumSystemLocalesW (
- LOCALE_ENUMPROC lpLocaleEnumProc,
- DWORD dwFlags
- )
+GetVDMCurrentDirectories (
+ DWORD Unknown0,
+ DWORD Unknown1
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-EnumSystemLocalesA (
- LOCALE_ENUMPROC lpLocaleEnumProc,
- 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);
- return FALSE;
+ STUB;
+ return FALSE;
}
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-EnumTimeFormatsW (
- TIMEFMT_ENUMPROC lpTimeFmtEnumProc,
- LCID Locale,
- DWORD dwFlags
- )
+RegisterWowBaseHandlers (
+ DWORD Unknown0
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return FALSE;
}
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-EnumTimeFormatsA (
- TIMEFMT_ENUMPROC lpTimeFmtEnumProc,
- LCID Locale,
- DWORD dwFlags
- )
+RegisterWowExec (
+ DWORD Unknown0
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return FALSE;
}
+/*
+ * @unimplemented
+ */
+BOOL STDCALL
+SetSystemPowerState (
+ BOOL fSuspend,
+ BOOL fForce
+ )
+{
+ STUB;
+ return FALSE;
+}
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+SetVDMCurrentDirectories (
+ DWORD Unknown0,
+ DWORD Unknown1
+ )
+{
+ STUB;
+ return FALSE;
+}
-
+/*
+ * @unimplemented
+ */
DWORD
STDCALL
-ExitVDM (
- DWORD Unknown0,
- DWORD Unknown1
- )
+TrimVirtualBuffer (
+ DWORD Unknown0
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ STUB;
+ return 0;
}
-
-
-BOOL
+/*
+ * @unimplemented
+ */
+DWORD
STDCALL
-ExtendVirtualBuffer (
- DWORD Unknown0,
- DWORD Unknown1
- )
+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);
- return 0;
+ 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);
- return 0;
+ STUB;
+ return 0;
}
+/*
+ * @unimplemented
+ */
DWORD
STDCALL
-FormatMessageW (
- DWORD dwFlags,
- LPCVOID lpSource,
- DWORD dwMessageId,
- DWORD dwLanguageId,
- LPWSTR lpBuffer,
- DWORD nSize,
- va_list * Arguments
- )
+VerLanguageNameW (
+ DWORD wLang,
+ LPWSTR szLang,
+ DWORD nSize
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ STUB;
+ return 0;
}
+/*
+ * @unimplemented
+ */
DWORD
STDCALL
-FormatMessageA (
- DWORD dwFlags,
- LPCVOID lpSource,
- DWORD dwMessageId,
- DWORD dwLanguageId,
- LPSTR lpBuffer,
- DWORD nSize,
- va_list * Arguments
- )
+VirtualBufferExceptionHandler (
+ DWORD Unknown0,
+ DWORD Unknown1,
+ DWORD Unknown2
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ STUB;
+ return 0;
}
-
+/*
+ * @unimplemented
+ */
BOOL
STDCALL
-FreeVirtualBuffer (
- HANDLE hVirtualBuffer
- )
+ActivateActCtx(
+ HANDLE hActCtx,
+ ULONG_PTR *lpCookie
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
-
-UINT
+/*
+ * @unimplemented
+ */
+VOID
STDCALL
-GetACP (VOID)
+AddRefActCtx(
+ HANDLE hActCtx
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ STUB;
}
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetBinaryTypeW (
- LPCWSTR lpApplicationName,
- LPDWORD lpBinaryType
- )
+AllocateUserPhysicalPages(
+ HANDLE hProcess,
+ PULONG_PTR NumberOfPages,
+ PULONG_PTR UserPfnArray
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
-
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetBinaryTypeA (
- LPCSTR lpApplicationName,
- LPDWORD lpBinaryType
- )
+BindIoCompletionCallback (
+ HANDLE FileHandle,
+ LPOVERLAPPED_COMPLETION_ROUTINE Function,
+ ULONG Flags
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
-
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetCPInfo (
- UINT a0,
- LPCPINFO a1
- )
+CancelDeviceWakeupRequest(
+ HANDLE hDevice
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ STUB;
+ return 0;
}
-
-
-
-WINBOOL
+/*
+ * @unimplemented
+ */
+HANDLE
STDCALL
-GetComputerNameW (
- LPWSTR lpBuffer,
- LPDWORD nSize
- )
+CreateActCtxW(
+ PCACTCTXW pActCtx
+ )
{
- WCHAR Name [MAX_COMPUTERNAME_LENGTH + 1];
- DWORD Size = 0;
-
- /*
- * FIXME: get the computer's name from
- * the registry.
- */
- lstrcpyW( Name, L"ROSHost" ); /* <-- FIXME -- */
- Size = lstrlenW(Name) + 1;
- if (Size > *nSize)
- {
- *nSize = Size;
- SetLastError(ERROR_BUFFER_OVERFLOW);
- return FALSE;
- }
- lstrcpyW( lpBuffer, Name );
- return TRUE;
+ STUB;
+ return INVALID_HANDLE_VALUE;
}
-
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetComputerNameA (
- LPSTR lpBuffer,
- LPDWORD nSize
- )
+CreateJobSet (
+ ULONG NumJob,
+ PJOB_SET_ARRAY UserJobSet,
+ ULONG Flags)
{
- WCHAR Name [MAX_COMPUTERNAME_LENGTH + 1];
- int i;
-
- if (FALSE == GetComputerNameW(
- Name,
- nSize
- ))
- {
- return FALSE;
- }
-/* FIXME --> */
-/* Use UNICODE to ANSI */
- for ( i=0; Name[i]; ++i )
- {
- lpBuffer[i] = (CHAR) Name[i];
- }
- lpBuffer[i] = '\0';
-/* FIXME <-- */
- return TRUE;
+ STUB;
+ return 0;
}
-
-
-
-int
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetCurrencyFormatW (
- LCID Locale,
- DWORD dwFlags,
- LPCWSTR lpValue,
- CONST CURRENCYFMT * lpFormat,
- LPWSTR lpCurrencyStr,
- int cchCurrency
- )
+DeactivateActCtx(
+ DWORD dwFlags,
+ ULONG_PTR ulCookie
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ STUB;
+ return 0;
}
-
-int
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetCurrencyFormatA (
- LCID Locale,
- DWORD dwFlags,
- LPCSTR lpValue,
- CONST CURRENCYFMT * lpFormat,
- LPSTR lpCurrencyStr,
- int cchCurrency
- )
+FindActCtxSectionGuid(
+ DWORD dwFlags,
+ const GUID *lpExtensionGuid,
+ ULONG ulSectionId,
+ const GUID *lpGuidToFind,
+ PACTCTX_SECTION_KEYED_DATA ReturnedData
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ STUB;
+ return 0;
}
-
-
-
-
-int
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetDateFormatW (
- LCID Locale,
- DWORD dwFlags,
- CONST SYSTEMTIME * lpDate,
- LPCWSTR lpFormat,
- LPWSTR lpDateStr,
- int cchDate
- )
+FindVolumeClose(
+ HANDLE hFindVolume
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ STUB;
+ return 0;
}
-
-int
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetDateFormatA (
- LCID Locale,
- DWORD dwFlags,
- CONST SYSTEMTIME * lpDate,
- LPCSTR lpFormat,
- LPSTR lpDateStr,
- int cchDate
- )
+FindVolumeMountPointClose(
+ HANDLE hFindVolumeMountPoint
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ STUB;
+ return 0;
}
-
-int
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetLocaleInfoW (
- LCID Locale,
- LCTYPE LCType,
- LPWSTR lpLCData,
- int cchData
- )
+FreeUserPhysicalPages(
+ HANDLE hProcess,
+ PULONG_PTR NumberOfPages,
+ PULONG_PTR PageArray
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ STUB;
+ return 0;
}
-
-int
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetLocaleInfoA (
- LCID Locale,
- LCTYPE LCType,
- LPSTR lpLCData,
- int cchData
- )
+GetCurrentActCtx(
+ HANDLE *lphActCtx)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ STUB;
+ return 0;
}
-
-DWORD
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetNextVDMCommand (
- DWORD Unknown0
- )
+GetDevicePowerState(
+ HANDLE hDevice,
+ BOOL *pfOn
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ STUB;
+ return 0;
}
-int
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetNumberFormatW (
- LCID Locale,
- DWORD dwFlags,
- LPCWSTR lpValue,
- CONST NUMBERFMT * lpFormat,
- LPWSTR lpNumberStr,
- int cchNumber
- )
+GetNumaHighestNodeNumber(
+ PULONG HighestNodeNumber
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ STUB;
+ return 0;
}
-
-int
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetNumberFormatA (
- LCID Locale,
- DWORD dwFlags,
- LPCSTR lpValue,
- CONST NUMBERFMT * lpFormat,
- LPSTR lpNumberStr,
- int cchNumber
- )
+GetNumaNodeProcessorMask(
+ UCHAR Node,
+ PULONGLONG ProcessorMask
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ STUB;
+ return 0;
}
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+GetNumaProcessorNode(
+ UCHAR Processor,
+ PUCHAR NodeNumber
+ )
+{
+ STUB;
+ return 0;
+}
+/*
+ * @unimplemented
+ */
UINT
STDCALL
-GetOEMCP (VOID)
+GetWriteWatch(
+ DWORD dwFlags,
+ PVOID lpBaseAddress,
+ SIZE_T dwRegionSize,
+ PVOID *lpAddresses,
+ PULONG_PTR lpdwCount,
+ PULONG lpdwGranularity
+ )
{
- 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
- )
+HeapQueryInformation (
+ HANDLE HeapHandle,
+ HEAP_INFORMATION_CLASS HeapInformationClass,
+ PVOID HeapInformation OPTIONAL,
+ SIZE_T HeapInformationLength OPTIONAL,
+ PSIZE_T ReturnLength OPTIONAL
+ )
{
- 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
- )
+HeapSetInformation (
+ HANDLE HeapHandle,
+ HEAP_INFORMATION_CLASS HeapInformationClass,
+ PVOID HeapInformation OPTIONAL,
+ SIZE_T HeapInformationLength OPTIONAL
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
-
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetStringTypeW (
- DWORD dwInfoType,
- LPCWSTR lpSrcStr,
- int cchSrc,
- LPWORD lpCharType
- )
+IsSystemResumeAutomatic(
+ VOID
+ )
{
- 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
- )
+IsWow64Process(
+ HANDLE hProcess,
+ PBOOL Wow64Process
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ *Wow64Process = FALSE;
+ return TRUE;
}
-
-LCID
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetSystemDefaultLCID (VOID)
+MapUserPhysicalPages(
+ PVOID VirtualAddress,
+ ULONG_PTR NumberOfPages,
+ PULONG_PTR PageArray OPTIONAL
+ )
{
- /* FIXME: ??? */
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return MAKELCID(
- LANG_ENGLISH,
- SORT_DEFAULT
- );
+ STUB;
+ return 0;
}
-
-LANGID
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetSystemDefaultLangID (VOID)
+MapUserPhysicalPagesScatter(
+ PVOID *VirtualAddresses,
+ ULONG_PTR NumberOfPages,
+ PULONG_PTR PageArray OPTIONAL
+ )
{
- /* FIXME: ??? */
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return MAKELANGID(
- LANG_ENGLISH,
- SUBLANG_ENGLISH_US
- );
+ STUB;
+ return 0;
}
-
-DWORD
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetSystemPowerStatus (
- DWORD Unknown0
- )
+QueryActCtxW(
+ DWORD dwFlags,
+ HANDLE hActCtx,
+ PVOID pvSubInstance,
+ ULONG ulInfoClass,
+ PVOID pvBuffer,
+ SIZE_T cbBuffer OPTIONAL,
+ SIZE_T *pcbWrittenOrRequired OPTIONAL
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ STUB;
+ return 0;
}
-
-LCID
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetThreadLocale (VOID)
+QueueUserWorkItem(
+ LPTHREAD_START_ROUTINE Function,
+ PVOID Context,
+ ULONG Flags
+ )
{
- /* FIXME: ??? */
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return MAKELCID(
- LANG_ENGLISH,
- SORT_DEFAULT
- );
+ 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;
}
-
-int
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetTimeFormatW (
- LCID Locale,
- DWORD dwFlags,
- CONST SYSTEMTIME * lpTime,
- LPCWSTR lpFormat,
- LPWSTR lpTimeStr,
- int cchTime
- )
+RegisterWaitForSingleObject(
+ PHANDLE phNewWaitObject,
+ HANDLE hObject,
+ WAITORTIMERCALLBACK Callback,
+ PVOID Context,
+ ULONG dwMilliseconds,
+ ULONG dwFlags
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ STUB;
+ return 0;
}
+/*
+ * @unimplemented
+ */
+HANDLE
+STDCALL
+RegisterWaitForSingleObjectEx(
+ HANDLE hObject,
+ WAITORTIMERCALLBACK Callback,
+ PVOID Context,
+ ULONG dwMilliseconds,
+ ULONG dwFlags
+ )
+{
+ STUB;
+ return 0;
+}
-int
+/*
+ * @unimplemented
+ */
+VOID
STDCALL
-GetTimeFormatA (
- LCID Locale,
- DWORD dwFlags,
- CONST SYSTEMTIME * lpTime,
- LPCSTR lpFormat,
- LPSTR lpTimeStr,
- int cchTime
- )
+ReleaseActCtx(
+ HANDLE hActCtx
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ STUB;
}
-
-LCID
+/*
+ * @unimplemented
+ */
+ULONG
STDCALL
-GetUserDefaultLCID (VOID)
+RemoveVectoredExceptionHandler(
+ PVOID VectoredHandlerHandle
+ )
{
- /* FIXME: ??? */
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return MAKELCID(
- LANG_ENGLISH,
- SORT_DEFAULT
- );
+ STUB;
+ return 0;
}
-
-LANGID
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetUserDefaultLangID (VOID)
+RequestDeviceWakeup(
+ HANDLE hDevice
+ )
{
- /* FIXME: ??? */
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return MAKELANGID(
- LANG_ENGLISH,
- SUBLANG_ENGLISH_US
- );
+ STUB;
+ return 0;
}
-
-DWORD
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-GetVDMCurrentDirectories (
- DWORD Unknown0,
- DWORD Unknown1
- )
+RequestWakeupLatency(
+ LATENCY_TIME latency
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ STUB;
+ return 0;
}
-
-WINBOOL
+/*
+ * @unimplemented
+ */
+UINT
STDCALL
-IsDBCSLeadByte (
- BYTE TestChar
- )
+ResetWriteWatch(
+ LPVOID lpBaseAddress,
+ SIZE_T dwRegionSize
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
-
-WINBOOL
+/*
+ * @unimplemented
+ */
+VOID
STDCALL
-IsDBCSLeadByteEx (
- UINT CodePage,
- BYTE TestChar
- )
+RestoreLastError(
+ DWORD dwErrCode
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
}
-
-/**********************************************************************
- * NAME PRIVATE
- * IsInstalledCP@4
- *
- * RETURN VALUE
- * TRUE if CodePage is installed in the system.
+/*
+ * @unimplemented
*/
-static
BOOL
STDCALL
-IsInstalledCP (
- UINT CodePage
- )
+SetMessageWaitingIndicator(
+ HANDLE hMsgIndicator,
+ ULONG ulMsgCount
+ )
{
- /* FIXME */
- return TRUE;
+ STUB;
+ return 0;
}
-
-WINBOOL
+/*
+ * @unimplemented
+ */
+EXECUTION_STATE
STDCALL
-IsValidCodePage (
- UINT CodePage
- )
+SetThreadExecutionState(
+ EXECUTION_STATE esFlags
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+TzSpecificLocalTimeToSystemTime(
+ LPTIME_ZONE_INFORMATION lpTimeZoneInformation,
+ LPSYSTEMTIME lpLocalTime,
+ LPSYSTEMTIME lpUniversalTime
+ )
+{
+ STUB;
+ return 0;
+}
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-IsValidLocale (
- LCID Locale,
- DWORD dwFlags
- )
+UnregisterWait(
+ HANDLE WaitHandle
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+UnregisterWaitEx(
+ HANDLE WaitHandle,
+ HANDLE CompletionEvent
+ )
+{
+ STUB;
+ return 0;
+}
-int
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-LCMapStringA (
- LCID Locale,
- DWORD dwMapFlags,
- LPCSTR lpSrcStr,
- int cchSrc,
- LPSTR lpDestStr,
- int cchDest
- )
+WriteFileGather(
+ HANDLE hFile,
+ FILE_SEGMENT_ELEMENT aSegmentArray[],
+ DWORD nNumberOfBytesToWrite,
+ LPDWORD lpReserved,
+ LPOVERLAPPED lpOverlapped
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ STUB;
+ return 0;
}
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+ZombifyActCtx(
+ HANDLE hActCtx
+ )
+{
+ STUB;
+ return 0;
+}
-int
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-LCMapStringW (
- LCID Locale,
- DWORD dwMapFlags,
- LPCWSTR lpSrcStr,
- int cchSrc,
- LPWSTR lpDestStr,
- int cchDest
- )
+DeleteVolumeMountPointW(
+ LPCWSTR lpszVolumeMountPoint
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ STUB;
+ return 0;
}
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+DnsHostnameToComputerNameW (
+ LPCWSTR Hostname,
+ LPWSTR ComputerName,
+ LPDWORD nSize
+ )
+{
+ STUB;
+ return 0;
+}
-DWORD
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-LoadModule (
- LPCSTR lpModuleName,
- LPVOID lpParameterBlock
- )
+FindActCtxSectionStringW(
+ DWORD dwFlags,
+ const GUID *lpExtensionGuid,
+ ULONG ulSectionId,
+ LPCWSTR lpStringToFind,
+ PACTCTX_SECTION_KEYED_DATA ReturnedData
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ STUB;
+ return FALSE;
}
+/*
+ * @unimplemented
+ */
+HANDLE
+STDCALL
+FindFirstVolumeW(
+ LPCWSTR lpszVolumeName,
+ DWORD cchBufferLength
+ )
+{
+ STUB;
+ return 0;
+}
-/***********************************************************************
- * MulDiv (KERNEL32.@)
- * RETURNS
- * Result of multiplication and division
- * -1: Overflow occurred or Divisor was 0
+/*
+ * @unimplemented
*/
+HANDLE
+STDCALL
+FindFirstVolumeMountPointW(
+ LPWSTR lpszRootPathName,
+ LPWSTR lpszVolumeMountPoint,
+ DWORD cchBufferLength
+ )
+{
+ STUB;
+ return 0;
+}
-//FIXME! move to correct file
-INT STDCALL MulDiv(
- INT nMultiplicand,
- INT nMultiplier,
- INT nDivisor)
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+FindNextVolumeW(
+ HANDLE hFindVolume,
+ LPWSTR lpszVolumeName,
+ DWORD cchBufferLength
+ )
{
-#if SIZEOF_LONG_LONG >= 8
- long long ret;
+ STUB;
+ return 0;
+}
- if (!nDivisor) return -1;
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+FindNextVolumeMountPointW(
+ HANDLE hFindVolumeMountPoint,
+ LPWSTR lpszVolumeMountPoint,
+ DWORD cchBufferLength
+ )
+{
+ STUB;
+ return 0;
+}
- /* We want to deal with a positive divisor to simplify the logic. */
- if (nDivisor < 0)
- {
- nMultiplicand = - nMultiplicand;
- nDivisor = -nDivisor;
- }
+/*
+ * @unimplemented
+ */
+DWORD
+STDCALL
+GetFirmwareEnvironmentVariableW(
+ LPCWSTR lpName,
+ LPCWSTR lpGuid,
+ PVOID pBuffer,
+ DWORD nSize
+ )
+{
+ STUB;
+ return 0;
+}
- /* If the result is positive, we "add" to round. else, we subtract to round. */
- if ( ( (nMultiplicand < 0) && (nMultiplier < 0) ) ||
- ( (nMultiplicand >= 0) && (nMultiplier >= 0) ) )
- ret = (((long long)nMultiplicand * nMultiplier) + (nDivisor/2)) / nDivisor;
- else
- ret = (((long long)nMultiplicand * nMultiplier) - (nDivisor/2)) / nDivisor;
- if ((ret > 2147483647) || (ret < -2147483647)) return -1;
- return ret;
-#else
- if (!nDivisor) return -1;
- /* We want to deal with a positive divisor to simplify the logic. */
- if (nDivisor < 0)
- {
- nMultiplicand = - nMultiplicand;
- nDivisor = -nDivisor;
- }
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+GetModuleHandleExW(
+ DWORD dwFlags,
+ LPCWSTR lpModuleName,
+ HMODULE* phModule
+ )
+{
+ STUB;
+ return 0;
+}
- /* If the result is positive, we "add" to round. else, we subtract to round. */
- if ( ( (nMultiplicand < 0) && (nMultiplier < 0) ) ||
- ( (nMultiplicand >= 0) && (nMultiplier >= 0) ) )
- return ((nMultiplicand * nMultiplier) + (nDivisor/2)) / nDivisor;
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+GetVolumeNameForVolumeMountPointW(
+ LPCWSTR lpszVolumeMountPoint,
+ LPWSTR lpszVolumeName,
+ DWORD cchBufferLength
+ )
+{
+ STUB;
+ return 0;
+}
- return ((nMultiplicand * nMultiplier) - (nDivisor/2)) / nDivisor;
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+GetVolumePathNameW(
+ LPCWSTR lpszFileName,
+ LPWSTR lpszVolumePathName,
+ DWORD cchBufferLength
+ )
+{
+ STUB;
+ return 0;
+}
-#endif
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+GetVolumePathNamesForVolumeNameW(
+ LPCWSTR lpszVolumeName,
+ LPWSTR lpszVolumePathNames,
+ DWORD cchBufferLength,
+ PDWORD lpcchReturnLength
+ )
+{
+ STUB;
+ return 0;
}
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+ReplaceFileW(
+ LPCWSTR lpReplacedFileName,
+ LPCWSTR lpReplacementFileName,
+ LPCWSTR lpBackupFileName,
+ DWORD dwReplaceFlags,
+ LPVOID lpExclude,
+ LPVOID lpReserved
+ )
+{
+ STUB;
+ return 0;
+}
-/**********************************************************************
- * NAME EXPORTED
- * MultiByteToWideChar@24
- *
- * ARGUMENTS
- * CodePage
- * CP_ACP ANSI code page
- * CP_MACCP Macintosh code page
- * CP_OEMCP OEM code page
- * (UINT) Any installed code page
- *
- * dwFlags
- * MB_PRECOMPOSED
- * MB_COMPOSITE
- * MB_ERR_INVALID_CHARS
- * MB_USEGLYPHCHARS
- *
- * lpMultiByteStr
- * Input buffer;
- *
- * cchMultiByte
- * Size of MultiByteStr, or -1 if MultiByteStr is
- * NULL terminated;
- *
- * lpWideCharStr
- * Output buffer;
- *
- * cchWideChar
- * Size (in WCHAR unit) of WideCharStr, or 0
- * if the caller just wants to know how large
- * WideCharStr should be for a successful
- * conversion.
- *
- * RETURN VALUE
- * 0 on error; otherwise the number of WCHAR written
- * in the WideCharStr buffer.
- *
- * NOTE
- * A raw converter for now. It assumes lpMultiByteStr is
- * NEVER multi-byte (that is each input character is
- * 8-bit ASCII) and is ALWAYS NULL terminated.
- * FIXME-FIXME-FIXME-FIXME
- */
-INT
-STDCALL
-MultiByteToWideChar (
- UINT CodePage,
- DWORD dwFlags,
- LPCSTR lpMultiByteStr,
- int cchMultiByte,
- LPWSTR lpWideCharStr,
- int cchWideChar
- )
-{
- int InStringLength = 0;
- BOOL InIsNullTerminated = TRUE;
- PCHAR r;
- PWCHAR w;
- int cchConverted;
-
- /*
- * Check the parameters.
- */
- if ( /* --- CODE PAGE --- */
- ( (CP_ACP != CodePage)
- && (CP_MACCP != CodePage)
- && (CP_OEMCP != CodePage)
- && (FALSE == IsInstalledCP (CodePage))
- )
- /* --- FLAGS --- */
- || (dwFlags ^ ( MB_PRECOMPOSED
- | MB_COMPOSITE
- | MB_ERR_INVALID_CHARS
- | MB_USEGLYPHCHARS
- )
- )
- /* --- INPUT BUFFER --- */
- || (NULL == lpMultiByteStr)
- )
- {
- SetLastError (ERROR_INVALID_PARAMETER);
- return 0;
- }
- /*
- * Compute the input buffer length.
- */
- if (-1 == cchMultiByte)
- {
- InStringLength = lstrlen (lpMultiByteStr);
- }
- else
- {
- InIsNullTerminated = FALSE;
- InStringLength = cchMultiByte;
- }
- /*
- * Does caller query for output
- * buffer size?
- */
- if (0 == cchWideChar)
- {
- SetLastError (ERROR_SUCCESS);
- return InStringLength;
- }
- /*
- * Is space provided for the translated
- * string enough?
- */
- if (cchWideChar < InStringLength)
- {
- SetLastError (ERROR_INSUFFICIENT_BUFFER);
- return 0;
- }
- /*
- * Raw 8- to 16-bit conversion.
- */
- for ( cchConverted = 0,
- r = (PCHAR) lpMultiByteStr,
- w = (PWCHAR) lpWideCharStr;
-
- ((*r) && (cchConverted < cchWideChar));
-
- r++,
- cchConverted++
- )
- {
- *w = (WCHAR) *r;
- }
- /*
- * Is the input string NULL terminated?
- */
- if (TRUE == InIsNullTerminated)
- {
- *w = L'\0';
- ++cchConverted;
- }
- /*
- * Return how many characters we
- * wrote in the output buffer.
- */
- SetLastError (ERROR_SUCCESS);
- return cchConverted;
-}
-
-
-WINBOOL
-STDCALL
-QueryPerformanceCounter (
- LARGE_INTEGER * lpPerformanceCount
- )
-{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
-}
-
-
-WINBOOL
-STDCALL
-QueryPerformanceFrequency (
- LARGE_INTEGER * lpFrequency
- )
-{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
-}
-
-
-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
- )
+SetFirmwareEnvironmentVariableW(
+ LPCWSTR lpName,
+ LPCWSTR lpGuid,
+ PVOID pValue,
+ DWORD nSize
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+SetVolumeMountPointW(
+ LPCWSTR lpszVolumeMountPoint,
+ LPCWSTR lpszVolumeName
+ )
+{
+ STUB;
+ return 0;
+}
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-RegisterWowBaseHandlers (
- DWORD Unknown0
- )
+DeleteVolumeMountPointA(
+ LPCSTR lpszVolumeMountPoint
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+DnsHostnameToComputerNameA (
+ LPCSTR Hostname,
+ LPSTR ComputerName,
+ LPDWORD nSize
+ )
+{
+ STUB;
+ return 0;
+}
-WINBOOL
+/*
+ * @unimplemented
+ */
+HANDLE
STDCALL
-RegisterWowExec (
- DWORD Unknown0
- )
+FindFirstVolumeA(
+ LPCSTR lpszVolumeName,
+ DWORD cchBufferLength
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
+/*
+ * @unimplemented
+ */
+HANDLE
+STDCALL
+FindFirstVolumeMountPointA(
+ LPSTR lpszRootPathName,
+ LPSTR lpszVolumeMountPoint,
+ DWORD cchBufferLength
+ )
+{
+ STUB;
+ return 0;
+}
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-SetComputerNameA (
- LPCSTR lpComputerName
- )
+FindNextVolumeA(
+ HANDLE hFindVolume,
+ LPCSTR lpszVolumeName,
+ DWORD cchBufferLength
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+FindNextVolumeMountPointA(
+ HANDLE hFindVolumeMountPoint,
+ LPSTR lpszVolumeMountPoint,
+ DWORD cchBufferLength
+ )
+{
+ STUB;
+ return 0;
+}
-WINBOOL
+/*
+ * @unimplemented
+ */
+DWORD
STDCALL
-SetComputerNameW (
- LPCWSTR lpComputerName
+GetFirmwareEnvironmentVariableA(
+ LPCSTR lpName,
+ LPCSTR lpGuid,
+ PVOID pBuffer,
+ DWORD nSize
)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
-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;
}
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+GetVolumeNameForVolumeMountPointA(
+ LPCSTR lpszVolumeMountPoint,
+ LPSTR lpszVolumeName,
+ DWORD cchBufferLength
+ )
+{
+ STUB;
+ return 0;
+}
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-SetLocaleInfoW (
- LCID Locale,
- LCTYPE LCType,
- LPCWSTR lpLCData
- )
+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;
+}
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-SetSystemPowerState (
- DWORD Unknown0,
- DWORD Unknown1
- )
+ReplaceFileA(
+ LPCSTR lpReplacedFileName,
+ LPCSTR lpReplacementFileName,
+ LPCSTR lpBackupFileName,
+ DWORD dwReplaceFlags,
+ LPVOID lpExclude,
+ LPVOID lpReserved
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+SetFirmwareEnvironmentVariableA(
+ LPCSTR lpName,
+ LPCSTR lpGuid,
+ PVOID pValue,
+ DWORD nSize
+ )
+{
+ STUB;
+ return 0;
+}
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-SetThreadLocale (
- LCID Locale
- )
+SetVolumeMountPointA(
+ LPCSTR lpszVolumeMountPoint,
+ LPCSTR lpszVolumeName
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
+/*
+ * @unimplemented
+ */
+BOOL STDCALL GetConsoleKeyboardLayoutNameA(LPSTR name)
+{
+ STUB;
+ return 0;
+}
-WINBOOL
-STDCALL
-SetVDMCurrentDirectories (
- DWORD Unknown0,
- DWORD Unknown1
- )
+/*
+ * @unimplemented
+ */
+BOOL STDCALL GetConsoleKeyboardLayoutNameW(LPWSTR name)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ STUB;
+ return 0;
}
+/*
+ * @unimplemented
+ */
+DWORD STDCALL GetHandleContext(HANDLE hnd)
+{
+ STUB;
+ return 0;
+}
-DWORD
-STDCALL
-TrimVirtualBuffer (
- DWORD Unknown0
- )
+/*
+ * @unimplemented
+ */
+HANDLE STDCALL CreateSocketHandle(VOID)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ STUB;
+ return 0;
}
+/*
+ * @unimplemented
+ */
+BOOL STDCALL SetHandleContext(HANDLE hnd,DWORD context)
+{
+ STUB;
+ return 0;
+}
-DWORD
-STDCALL
-VDMConsoleOperation (
- DWORD Unknown0,
- DWORD Unknown1
- )
+/*
+ * @unimplemented
+ */
+BOOL STDCALL UTRegister( HMODULE hModule, LPSTR lpsz16BITDLL,
+ LPSTR lpszInitName, LPSTR lpszProcName,
+ FARPROC *ppfn32Thunk, FARPROC pfnUT32CallBack,
+ LPVOID lpBuff )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ STUB;
+ return 0;
}
+/*
+ * @unimplemented
+ */
+VOID STDCALL UTUnRegister( HMODULE hModule )
+{
+ STUB;
+}
-DWORD
-STDCALL
-VDMOperationStarted (
- DWORD Unknown0
- )
+/*
+ * @unimplemented
+ */
+#if 0
+FARPROC STDCALL DelayLoadFailureHook(unsigned int dliNotify, PDelayLoadInfo pdli)
+#else
+FARPROC STDCALL DelayLoadFailureHook(unsigned int dliNotify, PVOID pdli)
+#endif
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ STUB;
+ return 0;
}
+/*
+ * @unimplemented
+ */
+NTSTATUS STDCALL CreateNlsSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor,ULONG Size,ULONG AccessMask)
+{
+ STUB;
+ return 0;
+}
-DWORD
-STDCALL
-VerLanguageNameA (
- DWORD wLang,
- LPSTR szLang,
- DWORD nSize
- )
+/*
+ * @unimplemented
+ */
+BOOL STDCALL IsValidUILanguage(LANGID langid)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ STUB;
+ return 0;
}
+/*
+ * @unimplemented
+ */
+VOID STDCALL NlsConvertIntegerToString(ULONG Value,ULONG Base,ULONG strsize, LPWSTR str, ULONG strsize2)
+{
+ STUB;
+}
-DWORD
+/*
+ * @unimplemented
+ */
+UINT STDCALL SetCPGlobal(UINT CodePage)
+{
+ STUB;
+ return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
STDCALL
-VerLanguageNameW (
- DWORD wLang,
- LPWSTR szLang,
- DWORD nSize
- )
+SetClientTimeZoneInformation(
+ CONST TIME_ZONE_INFORMATION *lpTimeZoneInformation
+ )
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ STUB;
+ return 0;
}
+ULONG
+WINAPI
+NlsGetCacheUpdateCount(VOID)
+{
+ STUB;
+ return 0;
+}
-DWORD
+BOOL
STDCALL
-VirtualBufferExceptionHandler (
- DWORD Unknown0,
- DWORD Unknown1,
- DWORD Unknown2
- )
-{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
-}
-
-
-/**********************************************************************
- * NAME EXPORTED
- * MultiByteToWideChar@32
- *
- * Not yet implemented complete (without NLS so far)
- *
- * ARGUMENTS
- * CodePage
- * CP_ACP ANSI code page
- * CP_MACCP Macintosh code page
- * CP_OEMCP OEM code page
- * CP_SYMBOL Symbol code page (42)
- * CP_THREAD_ACP Current thread's ANSI code page
- * CP_UTF7 Translate using UTF-7
- * CP_UTF8 Translate using UTF-8
- * (UINT) Any installed code page
- *
- * dwFlags
- * WC_NO_BEST_FIT_CHARS
- * WC_COMPOSITECHECK Convert composite characters to precomposed characters.
- * WC_DISCARDNS Discard nonspacing characters during conversion.
- * WC_SEPCHARS Generate separate characters during conversion. This is the default conversion behavior.
- * WC_DEFAULTCHAR Replace exceptions with the default character during conversion.
- *
- * lpWideCharStr
- * Points to the wide-character string to be converted.
- *
- * cchWideChar
- * Size (in WCHAR unit) of WideCharStr, or 0
- * if the caller just wants to know how large
- * WideCharStr should be for a successful
- * conversion.
- * lpMultiByteStr
- * Points to the buffer to receive the translated string.
- * cchMultiByte
- * Specifies the size in bytes of the buffer pointed to by the
- * lpMultiByteStr parameter. If this value is zero, the function
- * returns the number of bytes required for the buffer.
- * lpDefaultChar
- * Points to the character used if a wide character cannot be
- * represented in the specified code page. If this parameter is
- * NULL, a system default value is used.
- FIXME: ignored
- * lpUsedDefaultChar
- * Points to a flag that indicates whether a default character was used.
- * This parameter may be NULL.
- FIXME: allways set to FALSE.
- *
- *
- *
- * RETURN VALUE
- * 0 on error; otherwise the number of bytes written
- * in the lpMultiByteStr buffer. Or the number of
- * bytes needed for the lpMultiByteStr buffer if cchMultiByte is zero.
- *
- * NOTE
- * A raw converter for now. It just cuts off the upper 9 Bit.
- * So the MBCS-string does not contain any LeadCharacters
- * FIXME - FIXME - FIXME - FIXME
- */
+Wow64DisableWow64FsRedirection (VOID ** pv)
+{
+ STUB;
+ return FALSE;
+}
-int
+BOOL
STDCALL
-WideCharToMultiByte (
- UINT CodePage,
- DWORD dwFlags,
- LPCWSTR lpWideCharStr,
- int cchWideChar,
- LPSTR lpMultiByteStr,
- int cchMultiByte,
- LPCSTR lpDefaultChar,
- LPBOOL lpUsedDefaultChar
- )
-{
- int wi, di; // wide counter, dbcs byte count
-
- // for now, make no difference but only convert cut the characters to 7Bit
- switch( CodePage )
- {
- case CP_ACP: //ANSI code page
- case CP_MACCP: //Macintosh code page
- case CP_OEMCP: //OEM code page
- case CP_SYMBOL: //Symbol code page (42)
- case CP_THREAD_ACP: //ACP Current thread's ANSI code page
- case CP_UTF7: //Translate using UTF-7
- case CP_UTF8: //Translate using UTF-8
- if( cchWideChar == -1 ) // assume its a 0-terminated str
- { // and determine its length
- for( cchWideChar=0; lpWideCharStr[cchWideChar]!=0; )
- cchWideChar++;
- }
-
- // user wants to determine needed space
- if( cchMultiByte == 0 )
- {
- SetLastError(ERROR_SUCCESS);
- return cchWideChar; // FIXME: determine correct.
- }
- // the lpWideCharStr is cchWideChar characters long.
- for( wi=0, di=0; wi<cchWideChar && di<cchMultiByte; ++wi)
- {
- // Flag and a not displayable char FIXME
- /*if( (dwFlags&WC_NO_BEST_FIT_CHARS) && (lpWideCharStr[wi] >127) )
- {
- lpMultiByteStr[di]=
- *lpUsedDefaultChar = TRUE;
-
- }*/
- // FIXME
- // just cut off the upper 9 Bit, since vals>=128 mean LeadByte.
- lpMultiByteStr[di] = lpWideCharStr[wi] & 0x007F;
- ++di;
- }
- // has MultiByte exceeded but Wide is still in the string?
- if( wi < cchWideChar && di >= cchMultiByte)
- {
- SetLastError(ERROR_INSUFFICIENT_BUFFER);
- return di;
- }
- // else return # of bytes wirtten to MBCSbuffer (di)
- SetLastError(ERROR_SUCCESS);
- // FIXME: move that elsewhere
- if( lpUsedDefaultChar!=NULL ) *lpUsedDefaultChar=FALSE;
- return di;
- break;
- default:
- SetLastError(ERROR_INVALID_PARAMETER);
- return FALSE;
- break;
- }
- SetLastError(ERROR_INVALID_PARAMETER);
- return FALSE;
-}
-
-
-
-
-
-
-
-
-
-
-
-/* EOF */
+Wow64RevertWow64FsRedirection (VOID * pv)
+{
+ STUB;
+ return FALSE;
+}