Emanuele Aliberti <ea@reactos.com>
[reactos.git] / reactos / lib / kernel32 / misc / stubs.c
index 72aa445..cdd9dea 100644 (file)
@@ -1,32 +1,83 @@
-/* $Id: stubs.c,v 1.50 2003/06/08 20:59:30 ekohl Exp $
+/* $Id: stubs.c,v 1.92 2004/09/23 21:01:23 ea Exp $
  *
- * KERNEL32.DLL stubs (unimplemented functions)
+ * KERNEL32.DLL stubs (STUB functions)
  * Remove from this file, if you implement them.
  */
+
 #include <k32.h>
 
-//#define _OLE2NLS_IN_BUILD_
+#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);
+    STUB;
     return FALSE;
 }
 
+/*
+ * @unimplemented
+ */
+VOID STDCALL
+BaseDumpAppcompatCache(VOID)
+{
+    STUB;
+}
+
+/*
+ * @unimplemented
+ */
+VOID STDCALL
+BaseFlushAppcompatCache(VOID)
+{
+    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;
 }
 
 
+/*
+ * @unimplemented
+ */
 int
 STDCALL
 CompareStringA (
@@ -38,11 +89,14 @@ CompareStringA (
     int cchCount2
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    STUB;
     return 0;
 }
 
 
+/*
+ * @unimplemented
+ */
 int
 STDCALL
 CompareStringW (
@@ -54,920 +108,1923 @@ CompareStringW (
     int cchCount2
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-    return 0;
+    INT Result;
+    UNICODE_STRING String1, String2;
+
+    if (!lpString1 || !lpString2)
+    {
+        SetLastError(ERROR_INVALID_PARAMETER);
+        return 0;
+    }
+
+    if (dwCmpFlags & ~(NORM_IGNORECASE | NORM_IGNORENONSPACE |
+        NORM_IGNORESYMBOLS | SORT_STRINGSORT | NORM_IGNOREKANATYPE |
+        NORM_IGNOREWIDTH | 0x10000000))
+    {
+        SetLastError(ERROR_INVALID_FLAGS);
+        return 0;
+    }
+
+    if (dwCmpFlags & ~NORM_IGNORECASE)
+    {
+        DPRINT1("CompareString: STUB flags - 0x%x\n",
+           dwCmpFlags & ~NORM_IGNORECASE);
+    }
+
+    if (cchCount1 < 0) cchCount1 = lstrlenW(lpString1);
+    if (cchCount2 < 0) cchCount2 = lstrlenW(lpString2);
+
+    String1.Length = String1.MaximumLength = cchCount1 * sizeof(WCHAR);
+    String1.Buffer = (LPWSTR)lpString1;
+    String2.Length = String2.MaximumLength = cchCount2 * sizeof(WCHAR);
+    String2.Buffer = (LPWSTR)lpString2;
+
+    Result = RtlCompareUnicodeString(
+       &String1, &String2, dwCmpFlags & NORM_IGNORECASE);
+
+    if (Result) /* need to translate result */
+        return (Result < 0) ? CSTR_LESS_THAN : CSTR_GREATER_THAN;
+
+    return CSTR_EQUAL;
 }
 
 
-LCID
+/*
+ * @unimplemented
+ */
+DWORD
 STDCALL
-ConvertDefaultLocale (
-    LCID    Locale
+CreateVirtualBuffer (
+    DWORD   Unknown0,
+    DWORD   Unknown1,
+    DWORD   Unknown2
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    STUB;
     return 0;
 }
 
 
+/*
+ * @unimplemented
+ */
 DWORD
 STDCALL
-CreateVirtualBuffer (
+ExitVDM (
     DWORD   Unknown0,
-    DWORD   Unknown1,
-    DWORD   Unknown2
+    DWORD   Unknown1
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    STUB;
     return 0;
 }
 
 
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
 STDCALL
-EnumCalendarInfoW (
-    CALINFO_ENUMPROC lpCalInfoEnumProc,
-    LCID              Locale,
-    CALID             Calendar,
-    CALTYPE           CalType
+ExtendVirtualBuffer (
+    DWORD   Unknown0,
+    DWORD   Unknown1
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    STUB;
     return FALSE;
 }
 
 
-WINBOOL
+/*
+ * @unimplemented
+ */
+int
 STDCALL
-EnumCalendarInfoA (
-    CALINFO_ENUMPROC    lpCalInfoEnumProc,
-    LCID            Locale,
-    CALID           Calendar,
-    CALTYPE         CalType
+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
-EnumDateFormatsW (
-    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;
 }
 
 
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
 STDCALL
-EnumDateFormatsA (
-    DATEFMT_ENUMPROC    lpDateFmtEnumProc,
-    LCID            Locale,
-    DWORD           dwFlags
+FreeVirtualBuffer (
+    HANDLE  hVirtualBuffer
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    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
+GetStringTypeExW (
+    LCID    Locale,
+    DWORD   dwInfoType,
+    LPCWSTR lpSrcStr,
+    int cchSrc,
+    LPWORD  lpCharType
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    STUB;
     return FALSE;
 }
 
-#ifndef _OLE2NLS_IN_BUILD_
 
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
 STDCALL
-EnumSystemLocalesW (
-    LOCALE_ENUMPROC lpLocaleEnumProc,
-    DWORD       dwFlags
+GetStringTypeExA (
+    LCID    Locale,
+    DWORD   dwInfoType,
+    LPCSTR  lpSrcStr,
+    int cchSrc,
+    LPWORD  lpCharType
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    STUB;
     return FALSE;
 }
 
 
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
 STDCALL
-EnumSystemLocalesA (
-    LOCALE_ENUMPROC lpLocaleEnumProc,
-    DWORD       dwFlags
+GetStringTypeW (
+    DWORD   dwInfoType,
+    LPCWSTR lpSrcStr,
+    int cchSrc,
+    LPWORD  lpCharType
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    STUB;
     return FALSE;
 }
 
-#endif
 
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
 STDCALL
-EnumTimeFormatsW (
-    TIMEFMT_ENUMPROC    lpTimeFmtEnumProc,
-    LCID            Locale,
-    DWORD           dwFlags
+GetStringTypeA (
+    LCID    Locale,
+    DWORD   dwInfoType,
+    LPCSTR  lpSrcStr,
+    int cchSrc,
+    LPWORD  lpCharType
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    STUB;
     return FALSE;
 }
 
 
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
 STDCALL
-EnumTimeFormatsA (
-    TIMEFMT_ENUMPROC    lpTimeFmtEnumProc,
-    LCID            Locale,
-    DWORD           dwFlags
+GetSystemPowerStatus (
+    LPSYSTEM_POWER_STATUS PowerStatus
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-    return FALSE;
+    STUB;
+    return 0;
 }
 
 
+/*
+ * @unimplemented
+ */
 DWORD
 STDCALL
-ExitVDM (
+GetVDMCurrentDirectories (
     DWORD   Unknown0,
     DWORD   Unknown1
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    STUB;
     return 0;
 }
 
 
+/*
+ * @unimplemented
+ */
 BOOL
 STDCALL
-ExtendVirtualBuffer (
+RegisterConsoleVDM (
     DWORD   Unknown0,
-    DWORD   Unknown1
+    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;
 }
 
 
-int
+/*
+ * @unimplemented
+ */
+BOOL
 STDCALL
-FoldStringW (
-    DWORD   dwMapFlags,
-    LPCWSTR lpSrcStr,
-    int cchSrc,
-    LPWSTR  lpDestStr,
-    int cchDest
+RegisterWowBaseHandlers (
+    DWORD   Unknown0
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-    return 0;
+    STUB;
+    return FALSE;
 }
 
 
-int
+/*
+ * @unimplemented
+ */
+BOOL
 STDCALL
-FoldStringA (
-    DWORD   dwMapFlags,
-    LPCSTR  lpSrcStr,
-    int cchSrc,
-    LPSTR   lpDestStr,
-    int cchDest
+RegisterWowExec (
+    DWORD   Unknown0
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-    return 0;
+    STUB;
+    return FALSE;
 }
 
 
-BOOL
-STDCALL
-FreeVirtualBuffer (
-    HANDLE  hVirtualBuffer
+/*
+ * @unimplemented
+ */
+BOOL STDCALL
+SetSystemPowerState (
+    BOOL fSuspend,
+    BOOL fForce
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    STUB;
     return FALSE;
 }
 
-#ifndef _OLE2NLS_IN_BUILD_
 
-UINT
+/*
+ * @unimplemented
+ */
+BOOL
 STDCALL
-GetACP (VOID)
+SetVDMCurrentDirectories (
+    DWORD   Unknown0,
+    DWORD   Unknown1
+    )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-    return 1252;
+    STUB;
+    return FALSE;
 }
 
-#endif
 
-WINBOOL
+/*
+ * @unimplemented
+ */
+DWORD
 STDCALL
-GetBinaryTypeW (
-    LPCWSTR lpApplicationName,
-    LPDWORD lpBinaryType
+TrimVirtualBuffer (
+    DWORD   Unknown0
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-    return FALSE;
+    STUB;
+    return 0;
 }
 
 
-WINBOOL
+/*
+ * @unimplemented
+ */
+DWORD
 STDCALL
-GetBinaryTypeA (
-    LPCSTR  lpApplicationName,
-    LPDWORD lpBinaryType
+VDMConsoleOperation (
+    DWORD   Unknown0,
+    DWORD   Unknown1
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-    return FALSE;
+    STUB;
+    return 0;
 }
 
-#ifndef _OLE2NLS_IN_BUILD_
 
-WINBOOL
+/*
+ * @unimplemented
+ */
+DWORD
 STDCALL
-GetCPInfo (
-    UINT        CodePage,
-    LPCPINFO    CodePageInfo
+VDMOperationStarted (
+    DWORD   Unknown0
     )
 {
-    unsigned i;
-
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-
-    CodePageInfo->MaxCharSize = 1;
-    CodePageInfo->DefaultChar[0] = '?';
-    for (i = 1; i < MAX_DEFAULTCHAR; i++)
-       {
-       CodePageInfo->DefaultChar[i] = '\0';
-       }
-    for (i = 0; i < MAX_LEADBYTES; i++)
-       {
-       CodePageInfo->LeadByte[i] = '\0';
-       }
-
-    return TRUE;
+    STUB;
+    return 0;
 }
 
-#endif
 
-int
+/*
+ * @unimplemented
+ */
+DWORD
 STDCALL
-GetCurrencyFormatW (
-    LCID            Locale,
-    DWORD           dwFlags,
-    LPCWSTR         lpValue,
-    CONST CURRENCYFMT   * lpFormat,
-    LPWSTR          lpCurrencyStr,
-    int         cchCurrency
+VerLanguageNameA (
+    DWORD   wLang,
+    LPSTR   szLang,
+    DWORD   nSize
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    STUB;
     return 0;
 }
 
 
-int
+/*
+ * @unimplemented
+ */
+DWORD
 STDCALL
-GetCurrencyFormatA (
-    LCID            Locale,
-    DWORD           dwFlags,
-    LPCSTR          lpValue,
-    CONST CURRENCYFMT   * lpFormat,
-    LPSTR           lpCurrencyStr,
-    int         cchCurrency
+VerLanguageNameW (
+    DWORD   wLang,
+    LPWSTR  szLang,
+    DWORD   nSize
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    STUB;
     return 0;
 }
 
-#ifndef _OLE2NLS_IN_BUILD_
 
-int
+/*
+ * @unimplemented
+ */
+DWORD
 STDCALL
-GetDateFormatW (
-    LCID            Locale,
-    DWORD           dwFlags,
-    CONST SYSTEMTIME    * lpDate,
-    LPCWSTR         lpFormat,
-    LPWSTR          lpDateStr,
-    int         cchDate
+VirtualBufferExceptionHandler (
+    DWORD   Unknown0,
+    DWORD   Unknown1,
+    DWORD   Unknown2
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    STUB;
     return 0;
 }
 
-
-int
+/*
+ * @unimplemented
+ */
+BOOL
 STDCALL
-GetDateFormatA (
-    LCID            Locale,
-    DWORD           dwFlags,
-    CONST SYSTEMTIME    * lpDate,
-    LPCSTR          lpFormat,
-    LPSTR           lpDateStr,
-    int         cchDate
+ActivateActCtx(
+    HANDLE hActCtx,
+    ULONG_PTR *lpCookie
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    STUB;
     return 0;
 }
 
+/*
+ * @unimplemented
+ */
+VOID
+STDCALL
+AddRefActCtx(
+    HANDLE hActCtx
+    )
+{
+    STUB;
+}
 
-int
+/*
+ * @unimplemented
+ */
+BOOL
 STDCALL
-GetLocaleInfoW (
-    LCID    Locale,
-    LCTYPE  LCType,
-    LPWSTR  lpLCData,
-    int cchData
+AllocateUserPhysicalPages(
+    HANDLE hProcess,
+    PULONG_PTR NumberOfPages,
+    PULONG_PTR PageArray
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    STUB;
     return 0;
 }
 
-
-int
+/*
+ * @unimplemented
+ */
+BOOL
 STDCALL
-GetLocaleInfoA (
-    LCID    Locale,
-    LCTYPE  LCType,
-    LPSTR   lpLCData,
-    int cchData
+BindIoCompletionCallback (
+    HANDLE FileHandle,
+    LPOVERLAPPED_COMPLETION_ROUTINE Function,
+    ULONG Flags
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    STUB;
     return 0;
 }
 
-
-DWORD
+/*
+ * @unimplemented
+ */
+BOOL
 STDCALL
-GetNextVDMCommand (
-    DWORD   Unknown0
+CancelDeviceWakeupRequest(
+    HANDLE hDevice
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    STUB;
     return 0;
 }
 
 
-int
+/*
+ * @unimplemented
+ */
+HANDLE
 STDCALL
-GetNumberFormatW (
-    LCID        Locale,
-    DWORD       dwFlags,
-    LPCWSTR     lpValue,
-    CONST NUMBERFMT * lpFormat,
-    LPWSTR      lpNumberStr,
-    int     cchNumber
+CreateActCtxA(
+    PCACTCTXA pActCtx
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    STUB;
     return 0;
 }
 
-
-int
+/*
+ * @unimplemented
+ */
+HANDLE
 STDCALL
-GetNumberFormatA (
-    LCID        Locale,
-    DWORD       dwFlags,
-    LPCSTR      lpValue,
-    CONST NUMBERFMT * lpFormat,
-    LPSTR       lpNumberStr,
-    int     cchNumber
+CreateActCtxW(
+    PCACTCTXW pActCtx
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    STUB;
     return 0;
 }
 
-
-UINT
+/*
+ * @unimplemented
+ */
+BOOL
 STDCALL
-GetOEMCP (VOID)
+CreateJobSet (
+    ULONG NumJob,
+    PJOB_SET_ARRAY UserJobSet,
+    ULONG Flags)
 {
-    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
+DeactivateActCtx(
+    DWORD dwFlags,
+    ULONG_PTR ulCookie
     )
 {
-    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
+FindActCtxSectionGuid(
+    DWORD dwFlags,
+    const GUID *lpExtensionGuid,
+    ULONG ulSectionId,
+    const GUID *lpGuidToFind,
+    PACTCTX_SECTION_KEYED_DATA ReturnedData
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-    return FALSE;
+    STUB;
+    return 0;
 }
 
-
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
 STDCALL
-GetStringTypeW (
-    DWORD   dwInfoType,
-    LPCWSTR lpSrcStr,
-    int cchSrc,
-    LPWORD  lpCharType
+FindVolumeClose(
+    HANDLE hFindVolume
     )
 {
-    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
+FindVolumeMountPointClose(
+    HANDLE hFindVolumeMountPoint
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-    return FALSE;
+    STUB;
+    return 0;
 }
 
-
-LCID
+/*
+ * @unimplemented
+ */
+BOOL
 STDCALL
-GetSystemDefaultLCID (VOID)
+FreeUserPhysicalPages(
+    HANDLE hProcess,
+    PULONG_PTR NumberOfPages,
+    PULONG_PTR PageArray
+    )
 {
-    /* FIXME: ??? */
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-    return MAKELCID(
-        LANG_ENGLISH,
-        SORT_DEFAULT
-        );
+    STUB;
+    return 0;
 }
 
-
-LANGID
+/*
+ * @unimplemented
+ */
+BOOL
 STDCALL
-GetSystemDefaultLangID (VOID)
+GetCurrentActCtx(
+    HANDLE *lphActCtx)
 {
-     /* FIXME: ??? */
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-    return MAKELANGID(
-        LANG_ENGLISH,
-        SUBLANG_ENGLISH_US
-        );
+    STUB;
+    return 0;
 }
 
-#endif
-
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
 STDCALL
-GetSystemPowerStatus (
-    DWORD   Unknown0
+GetDevicePowerState(
+    HANDLE hDevice,
+    BOOL *pfOn
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    STUB;
     return 0;
 }
 
-#ifndef _OLE2NLS_IN_BUILD_
-
-LCID
+/*
+ * @unimplemented
+ */
+VOID
 STDCALL
-GetThreadLocale (VOID)
+GetNativeSystemInfo(
+    LPSYSTEM_INFO lpSystemInfo
+    )
 {
-    /* FIXME: ??? */
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-    return MAKELCID(
-        LANG_ENGLISH,
-        SORT_DEFAULT
-        );
+    STUB;
 }
 
-#endif
-
-int
+/*
+ * @unimplemented
+ */
+BOOL
 STDCALL
-GetTimeFormatW (
-    LCID            Locale,
-    DWORD           dwFlags,
-    CONST SYSTEMTIME    * lpTime,
-    LPCWSTR         lpFormat,
-    LPWSTR          lpTimeStr,
-    int         cchTime
+GetNumaHighestNodeNumber(
+    PULONG HighestNodeNumber
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    STUB;
     return 0;
 }
 
-
-int
+/*
+ * @unimplemented
+ */
+BOOL
 STDCALL
-GetTimeFormatA (
-    LCID            Locale,
-    DWORD           dwFlags,
-    CONST SYSTEMTIME    * lpTime,
-    LPCSTR          lpFormat,
-    LPSTR           lpTimeStr,
-    int         cchTime
+GetNumaNodeProcessorMask(
+    UCHAR Node,
+    PULONGLONG ProcessorMask
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    STUB;
     return 0;
 }
 
-#ifndef _OLE2NLS_IN_BUILD_
-
-LCID
+/*
+ * @unimplemented
+ */
+BOOL
 STDCALL
-GetUserDefaultLCID (VOID)
+GetNumaProcessorNode(
+    UCHAR Processor,
+    PUCHAR NodeNumber
+    )
 {
-    /* FIXME: ??? */
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-    return MAKELCID(
-        LANG_ENGLISH,
-        SORT_DEFAULT
-        );
+    STUB;
+    return 0;
 }
 
-
-LANGID
+/*
+ * @unimplemented
+ */
+BOOL
 STDCALL
-GetUserDefaultLangID (VOID)
+GetThreadIOPendingFlag(
+    HANDLE hThread,
+    PBOOL lpIOIsPending
+    )
 {
-     /* FIXME: ??? */
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-    return MAKELANGID(
-        LANG_ENGLISH,
-        SUBLANG_ENGLISH_US
-        );
+    STUB;
+    return 0;
 }
 
-#endif
-
-DWORD
+/*
+ * @unimplemented
+ */
+UINT
 STDCALL
-GetVDMCurrentDirectories (
-    DWORD   Unknown0,
-    DWORD   Unknown1
+GetWriteWatch(
+    DWORD  dwFlags,
+    PVOID  lpBaseAddress,
+    SIZE_T dwRegionSize,
+    PVOID *lpAddresses,
+    PULONG_PTR lpdwCount,
+    PULONG lpdwGranularity
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    STUB;
     return 0;
 }
 
-#ifndef _OLE2NLS_IN_BUILD_
-
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
 STDCALL
-IsDBCSLeadByte (
-    BYTE    TestChar
+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
-IsDBCSLeadByteEx (
-    UINT    CodePage,
-    BYTE    TestChar
+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
-IsValidCodePage (
-    UINT    CodePage
+IsSystemResumeAutomatic(
+    VOID
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-    return FALSE;
+    STUB;
+    return 0;
 }
 
-
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
 STDCALL
-IsValidLocale (
-    LCID    Locale,
-    DWORD   dwFlags
+IsWow64Process(
+    HANDLE hProcess,
+    PBOOL Wow64Process
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-    return FALSE;
+    STUB;
+    return 0;
 }
 
-
-int
+/*
+ * @unimplemented
+ */
+BOOL
 STDCALL
-LCMapStringA (
-    LCID    Locale,
-    DWORD   dwMapFlags,
-    LPCSTR  lpSrcStr,
-    int cchSrc,
-    LPSTR   lpDestStr,
-    int cchDest
+MapUserPhysicalPages(
+    PVOID VirtualAddress,
+    ULONG_PTR NumberOfPages,
+    PULONG_PTR PageArray OPTIONAL
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    STUB;
     return 0;
 }
 
-
-int
+/*
+ * @unimplemented
+ */
+BOOL
 STDCALL
-LCMapStringW (
-    LCID    Locale,
-    DWORD   dwMapFlags,
-    LPCWSTR lpSrcStr,
-    int cchSrc,
-    LPWSTR  lpDestStr,
-    int cchDest
+MapUserPhysicalPagesScatter(
+    PVOID *VirtualAddresses,
+    ULONG_PTR NumberOfPages,
+    PULONG_PTR PageArray OPTIONAL
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    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;
+}
 
+/*
+ * @unimplemented
+ */
 DWORD
 STDCALL
-LoadModule (
-    LPCSTR  lpModuleName,
-    LPVOID  lpParameterBlock
+QueueUserAPC(
+    PAPCFUNC pfnAPC,
+    HANDLE hThread,
+    ULONG_PTR dwData
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    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
+QueueUserWorkItem(
+    LPTHREAD_START_ROUTINE Function,
+    PVOID Context,
+    ULONG Flags
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-    return FALSE;
+    STUB;
+    return 0;
 }
 
-
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
 STDCALL
-RegisterWowBaseHandlers (
-    DWORD   Unknown0
+ReadDirectoryChangesW(
+    HANDLE hDirectory,
+    LPVOID lpBuffer,
+    DWORD nBufferLength,
+    BOOL bWatchSubtree,
+    DWORD dwNotifyFilter,
+    LPDWORD lpBytesReturned,
+    LPOVERLAPPED lpOverlapped,
+    LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-    return FALSE;
+    STUB;
+    return 0;
 }
 
-
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
 STDCALL
-RegisterWowExec (
-    DWORD   Unknown0
+ReadFileScatter(
+    HANDLE hFile,
+    FILE_SEGMENT_ELEMENT aSegmentArray[],
+    DWORD nNumberOfBytesToRead,
+    LPDWORD lpReserved,
+    LPOVERLAPPED lpOverlapped
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-    return FALSE;
+    STUB;
+    return 0;
 }
 
-
-#ifndef _OLE2NLS_IN_BUILD_
-
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
 STDCALL
-SetLocaleInfoA (
-    LCID    Locale,
-    LCTYPE  LCType,
-    LPCSTR  lpLCData
+RegisterWaitForSingleObject(
+    PHANDLE phNewWaitObject,
+    HANDLE hObject,
+    WAITORTIMERCALLBACK Callback,
+    PVOID Context,
+    ULONG dwMilliseconds,
+    ULONG dwFlags
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-    return FALSE;
+    STUB;
+    return 0;
 }
 
+/*
+ * @unimplemented
+ */
+HANDLE
+STDCALL
+RegisterWaitForSingleObjectEx(
+    HANDLE hObject,
+    WAITORTIMERCALLBACK Callback,
+    PVOID Context,
+    ULONG dwMilliseconds,
+    ULONG dwFlags
+    )
+{
+    STUB;
+    return 0;
+}
 
-WINBOOL
+/*
+ * @unimplemented
+ */
+VOID
 STDCALL
-SetLocaleInfoW (
-    LCID    Locale,
-    LCTYPE  LCType,
-    LPCWSTR lpLCData
+ReleaseActCtx(
+    HANDLE hActCtx
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-    return FALSE;
+    STUB;
 }
 
-
-WINBOOL
+/*
+ * @unimplemented
+ */
+ULONG
 STDCALL
-SetThreadLocale (
-    LCID    Locale
+RemoveVectoredExceptionHandler(
+    PVOID VectoredHandlerHandle
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-    return FALSE;
+    STUB;
+    return 0;
 }
 
-#endif
-
-
-WINBOOL STDCALL
-SetSystemPowerState (
-    IN WINBOOL fSuspend,
-    IN WINBOOL fForce
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+RequestDeviceWakeup(
+    HANDLE hDevice
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-    return FALSE;
+    STUB;
+    return 0;
 }
 
-
-WINBOOL
+/*
+ * @unimplemented
+ */
+BOOL
 STDCALL
-SetVDMCurrentDirectories (
-    DWORD   Unknown0,
-    DWORD   Unknown1
+RequestWakeupLatency(
+    LATENCY_TIME latency
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-    return FALSE;
+    STUB;
+    return 0;
 }
 
-
-DWORD
+/*
+ * @unimplemented
+ */
+UINT
 STDCALL
-TrimVirtualBuffer (
-    DWORD   Unknown0
+ResetWriteWatch(
+    LPVOID lpBaseAddress,
+    SIZE_T dwRegionSize
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    STUB;
     return 0;
 }
 
+/*
+ * @unimplemented
+ */
+VOID
+STDCALL
+RestoreLastError(
+    DWORD dwErrCode
+    )
+{
+    STUB;
+}
 
-DWORD
+/*
+ * @unimplemented
+ */
+BOOL
 STDCALL
-VDMConsoleOperation (
-    DWORD   Unknown0,
-    DWORD   Unknown1
+SetMessageWaitingIndicator(
+    HANDLE hMsgIndicator,
+    ULONG ulMsgCount
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    STUB;
     return 0;
 }
 
-
-DWORD
+/*
+ * @unimplemented
+ */
+EXECUTION_STATE
 STDCALL
-VDMOperationStarted (
-    DWORD   Unknown0
+SetThreadExecutionState(
+    EXECUTION_STATE esFlags
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    STUB;
     return 0;
 }
 
-
-#ifndef _OLE2NLS_IN_BUILD_
-
-DWORD
+/*
+ * @unimplemented
+ */
+BOOL
 STDCALL
-VerLanguageNameA (
-    DWORD   wLang,
-    LPSTR   szLang,
-    DWORD   nSize
+TzSpecificLocalTimeToSystemTime(
+    LPTIME_ZONE_INFORMATION lpTimeZoneInformation,
+    LPSYSTEMTIME lpLocalTime,
+    LPSYSTEMTIME lpUniversalTime
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    STUB;
     return 0;
 }
 
-
-DWORD
+/*
+ * @unimplemented
+ */
+BOOL
 STDCALL
-VerLanguageNameW (
-    DWORD   wLang,
-    LPWSTR  szLang,
-    DWORD   nSize
+UnregisterWait(
+    HANDLE WaitHandle
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    STUB;
     return 0;
 }
 
-#endif
-
-DWORD
+/*
+ * @unimplemented
+ */
+BOOL
 STDCALL
-VirtualBufferExceptionHandler (
-    DWORD   Unknown0,
-    DWORD   Unknown1,
-    DWORD   Unknown2
+UnregisterWaitEx(
+    HANDLE WaitHandle,
+    HANDLE CompletionEvent
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    STUB;
     return 0;
 }
 
-
+/*
+ * @unimplemented
+ */
 BOOL
 STDCALL
-GetFileAttributesExA(
-    LPCSTR lpFileName,
-    GET_FILEEX_INFO_LEVELS fInfoLevelId,
-    LPVOID lpFileInformation
+WriteFileGather(
+    HANDLE hFile,
+    FILE_SEGMENT_ELEMENT aSegmentArray[],
+    DWORD nNumberOfBytesToWrite,
+    LPDWORD lpReserved,
+    LPOVERLAPPED lpOverlapped
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    STUB;
     return 0;
 }
 
-
+/*
+ * @unimplemented
+ */
 BOOL
 STDCALL
-GetFileAttributesExW(
-    LPCWSTR lpFileName,
-    GET_FILEEX_INFO_LEVELS fInfoLevelId,
-    LPVOID lpFileInformation
+ZombifyActCtx(
+    HANDLE hActCtx
     )
 {
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    STUB;
     return 0;
 }
 
-/* EOF */
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+DeleteVolumeMountPointW(
+    LPCWSTR lpszVolumeMountPoint
+    )
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+DnsHostnameToComputerNameW (
+    LPCWSTR Hostname,
+    LPWSTR ComputerName,
+    LPDWORD nSize
+    )
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+FindActCtxSectionStringW(
+    DWORD dwFlags,
+    const GUID *lpExtensionGuid,
+    ULONG ulSectionId,
+    LPCWSTR lpStringToFind,
+    PACTCTX_SECTION_KEYED_DATA ReturnedData
+    )
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+HANDLE
+STDCALL
+FindFirstVolumeW(
+    LPCWSTR lpszVolumeName,
+    DWORD cchBufferLength
+    )
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+HANDLE
+STDCALL
+FindFirstVolumeMountPointW(
+    LPWSTR lpszRootPathName,
+    LPWSTR lpszVolumeMountPoint,
+    DWORD cchBufferLength
+    )
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+FindNextVolumeW(
+    HANDLE hFindVolume,
+    LPWSTR lpszVolumeName,
+    DWORD cchBufferLength
+    )
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+FindNextVolumeMountPointW(
+    HANDLE hFindVolumeMountPoint,
+    LPWSTR lpszVolumeMountPoint,
+    DWORD cchBufferLength
+    )
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+DWORD
+STDCALL
+GetDllDirectoryW(
+    DWORD nBufferLength,
+    LPWSTR lpBuffer
+    )
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+DWORD
+STDCALL
+GetFirmwareEnvironmentVariableW(
+    LPCWSTR lpName,
+    LPCWSTR lpGuid,
+    PVOID   pBuffer,
+    DWORD    nSize
+    )
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+DWORD
+STDCALL
+GetLongPathNameW(
+    LPCWSTR lpszShortPath,
+    LPWSTR  lpszLongPath,
+    DWORD    cchBuffer
+    )
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+GetModuleHandleExW(
+    DWORD        dwFlags,
+    LPCWSTR     lpModuleName,
+    HMODULE*    phModule
+    )
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+UINT
+STDCALL
+GetSystemWow64DirectoryW(
+    LPWSTR lpBuffer,
+    UINT uSize
+    )
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+GetVolumeNameForVolumeMountPointW(
+    LPCWSTR lpszVolumeMountPoint,
+    LPWSTR lpszVolumeName,
+    DWORD cchBufferLength
+    )
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+GetVolumePathNameW(
+    LPCWSTR lpszFileName,
+    LPWSTR lpszVolumePathName,
+    DWORD cchBufferLength
+    )
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @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;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+SetComputerNameExW (
+    COMPUTER_NAME_FORMAT NameType,
+    LPCWSTR lpBuffer
+    )
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+SetDllDirectoryW(
+    LPCWSTR lpPathName
+    )
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+SetFirmwareEnvironmentVariableW(
+    LPCWSTR lpName,
+    LPCWSTR lpGuid,
+    PVOID    pValue,
+    DWORD    nSize
+    )
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+SetVolumeMountPointW(
+    LPCWSTR lpszVolumeMountPoint,
+    LPCWSTR lpszVolumeName
+    )
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+VerifyVersionInfoW(
+    LPOSVERSIONINFOEXW lpVersionInformation,
+    DWORD dwTypeMask,
+    DWORDLONG dwlConditionMask
+    )
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+DeleteVolumeMountPointA(
+    LPCSTR lpszVolumeMountPoint
+    )
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+DnsHostnameToComputerNameA (
+    LPCSTR Hostname,
+    LPSTR ComputerName,
+    LPDWORD nSize
+    )
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+FindActCtxSectionStringA(
+    DWORD dwFlags,
+    const GUID *lpExtensionGuid,
+    ULONG ulSectionId,
+    LPCSTR lpStringToFind,
+    PACTCTX_SECTION_KEYED_DATA ReturnedData
+    )
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+HANDLE
+STDCALL
+FindFirstVolumeA(
+    LPCSTR lpszVolumeName,
+    DWORD cchBufferLength
+    )
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+HANDLE
+STDCALL
+FindFirstVolumeMountPointA(
+    LPSTR lpszRootPathName,
+    LPSTR lpszVolumeMountPoint,
+    DWORD cchBufferLength
+    )
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+FindNextVolumeA(
+    HANDLE hFindVolume,
+    LPCSTR lpszVolumeName,
+    DWORD cchBufferLength
+    )
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+FindNextVolumeMountPointA(
+    HANDLE hFindVolumeMountPoint,
+    LPSTR lpszVolumeMountPoint,
+    DWORD cchBufferLength
+    )
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+DWORD
+STDCALL
+GetDllDirectoryA(
+    DWORD nBufferLength,
+    LPSTR lpBuffer
+    )
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+DWORD
+STDCALL
+GetFirmwareEnvironmentVariableA(
+    LPCSTR lpName,
+    LPCSTR lpGuid,
+    PVOID   pBuffer,
+    DWORD    nSize
+    )
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+DWORD
+STDCALL
+GetLongPathNameA(
+    LPCSTR lpszShortPath,
+    LPSTR  lpszLongPath,
+    DWORD    cchBuffer
+    )
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+GetModuleHandleExA(
+    DWORD        dwFlags,
+    LPCSTR     lpModuleName,
+    HMODULE*    phModule
+    )
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+UINT
+STDCALL
+GetSystemWow64DirectoryA(
+    LPSTR lpBuffer,
+    UINT uSize
+    )
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+GetVolumeNameForVolumeMountPointA(
+    LPCSTR lpszVolumeMountPoint,
+    LPSTR lpszVolumeName,
+    DWORD cchBufferLength
+    )
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+GetVolumePathNameA(
+    LPCSTR lpszFileName,
+    LPSTR lpszVolumePathName,
+    DWORD cchBufferLength
+    )
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+GetVolumePathNamesForVolumeNameA(
+    LPCSTR lpszVolumeName,
+    LPSTR lpszVolumePathNames,
+    DWORD cchBufferLength,
+    PDWORD lpcchReturnLength
+    )
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+ReplaceFileA(
+    LPCSTR  lpReplacedFileName,
+    LPCSTR  lpReplacementFileName,
+    LPCSTR  lpBackupFileName,
+    DWORD   dwReplaceFlags,
+    LPVOID  lpExclude,
+    LPVOID  lpReserved
+    )
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+SetComputerNameExA (
+    COMPUTER_NAME_FORMAT NameType,
+    LPCSTR lpBuffer
+    )
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+SetDllDirectoryA(
+    LPCSTR lpPathName
+    )
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+SetFirmwareEnvironmentVariableA(
+    LPCSTR lpName,
+    LPCSTR lpGuid,
+    PVOID    pValue,
+    DWORD    nSize
+    )
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+SetVolumeMountPointA(
+    LPCSTR lpszVolumeMountPoint,
+    LPCSTR lpszVolumeName
+    )
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+VerifyVersionInfoA(
+    LPOSVERSIONINFOEXA lpVersionInformation,
+    DWORD dwTypeMask,
+    DWORDLONG dwlConditionMask
+    )
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+EnumSystemLanguageGroupsW(
+    LANGUAGEGROUP_ENUMPROCW lpLanguageGroupEnumProc,
+    DWORD                   dwFlags,
+    LONG_PTR                lParam)
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+ULONGLONG
+STDCALL
+VerSetConditionMask(
+        ULONGLONG   ConditionMask,
+        DWORD   TypeMask,
+        BYTE    Condition
+        )
+{
+    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 SetConsoleInputExeNameA(LPCSTR name)
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL STDCALL SetConsoleInputExeNameW(LPCWSTR name)
+{
+    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;
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS STDCALL CreateNlsSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor,ULONG Size,ULONG AccessMask)
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL STDCALL GetConsoleInputExeNameA(ULONG length,LPCSTR name)
+{
+    STUB;
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL STDCALL GetConsoleInputExeNameW(ULONG length,LPCWSTR name)
+{
+    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
+SetClientTimeZoneInformation(
+                      CONST TIME_ZONE_INFORMATION *lpTimeZoneInformation
+                      )
+{
+    STUB;
+    return 0;
+}