Nikolay Sivov : shlwapi: Add header entries for SHIsLowMemoryMachine().

Alexandre Julliard julliard at winehq.org
Mon Feb 3 15:06:05 CST 2020


Module: wine
Branch: master
Commit: b84d56fb04712d71148c9d51e36dab29e06614c3
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=b84d56fb04712d71148c9d51e36dab29e06614c3

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Mon Feb  3 10:16:11 2020 +0300

shlwapi: Add header entries for SHIsLowMemoryMachine().

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/shlwapi/ordinal.c      | 18 ------------------
 dlls/shlwapi/shlwapi_main.c | 10 ++++++++++
 include/shlwapi.h           |  4 ++++
 3 files changed, 14 insertions(+), 18 deletions(-)

diff --git a/dlls/shlwapi/ordinal.c b/dlls/shlwapi/ordinal.c
index 8767d0b579..8c9e324ae0 100644
--- a/dlls/shlwapi/ordinal.c
+++ b/dlls/shlwapi/ordinal.c
@@ -3564,24 +3564,6 @@ HRESULT WINAPI SHGetInverseCMAP(LPDWORD dest, DWORD dwSize)
     return 0;
 }
 
-/*************************************************************************
- *      SHIsLowMemoryMachine	[SHLWAPI.@]
- *
- * Determine if the current computer has low memory.
- *
- * PARAMS
- *  x [I] FIXME
- *
- * RETURNS
- *  TRUE if the users machine has 16 Megabytes of memory or less,
- *  FALSE otherwise.
- */
-BOOL WINAPI SHIsLowMemoryMachine (DWORD x)
-{
-  FIXME("(0x%08x) stub\n", x);
-  return FALSE;
-}
-
 /*************************************************************************
  *      GetMenuPosFromID	[SHLWAPI.@]
  *
diff --git a/dlls/shlwapi/shlwapi_main.c b/dlls/shlwapi/shlwapi_main.c
index 3717dfa712..04abf30ffc 100644
--- a/dlls/shlwapi/shlwapi_main.c
+++ b/dlls/shlwapi/shlwapi_main.c
@@ -166,3 +166,13 @@ HRESULT WINAPI SHGetViewStatePropertyBag(PCIDLIST_ABSOLUTE pidl, PCWSTR bag_name
 
     return E_NOTIMPL;
 }
+
+/*************************************************************************
+ *      SHIsLowMemoryMachine    [SHLWAPI.@]
+ */
+BOOL WINAPI SHIsLowMemoryMachine(DWORD type)
+{
+    FIXME("%d stub\n", type);
+
+    return FALSE;
+}
diff --git a/include/shlwapi.h b/include/shlwapi.h
index 02517a944a..ca15bd2077 100644
--- a/include/shlwapi.h
+++ b/include/shlwapi.h
@@ -1167,6 +1167,10 @@ UINT WINAPI WhichPlatform(void);
 
 HRESULT WINAPI SHGetViewStatePropertyBag(PCIDLIST_ABSOLUTE pidl, PCWSTR bagname, DWORD flags, REFIID riid, void **ppv);
 
+#define ILMM_IE4 0
+
+BOOL WINAPI SHIsLowMemoryMachine(DWORD type);
+
 #include <poppack.h> 
 
 #ifdef __cplusplus




More information about the wine-cvs mailing list