From 45b1912686d578379b091947720ac8f20ff28f90 Mon Sep 17 00:00:00 2001
From: Alexey Pavlov <[email protected]>
Date: Tue, 31 Jul 2018 21:52:12 +0300
Subject: [PATCH] Add missing features to shlwapi header
---
mingw-w64-headers/include/shlwapi.h | 38 +
1 files changed, 38 insertions(+)
create mode 100644 mingw-w64-headers/include/evr.idl
create mode 100644 mingw-w64-headers/include/mfplay.idl
diff --git a/mingw-w64-headers/include/shlwapi.h
b/mingw-w64-headers/include/shlwapi.h
index 7475250a..62c71d09 100644
--- a/mingw-w64-headers/include/shlwapi.h
+++ b/mingw-w64-headers/include/shlwapi.h
@@ -858,6 +858,40 @@ extern "C" {
LWSTDAPI_(WINBOOL) SHUnlockShared(void *pvData);
#endif
+#if (_WIN32_IE >= 0x0501)
+#define PLATFORM_UNKNOWN 0
+#define PLATFORM_IE3 1
+#define PLATFORM_BROWSERONLY 1
+#define PLATFORM_INTEGRATED 2
+
+ LWSTDAPI WhichPlatform(void);
+
+typedef struct {
+ const IID *piid;
+ int dwOffset;
+} QITAB, *LPQITAB;
+typedef const QITAB *LPCQITAB;
+
+#ifndef OFFSETOFCLASS
+#define OFFSETOFCLASS(base, derived)
((DWORD)(DWORD_PTR)(static_cast<base*>((derived*)8))-8)
+#endif
+
+#ifdef __cplusplus
+#define QITABENTMULTI(Cthis, Ifoo, Iimpl) { &__uuidof(Ifoo),
OFFSETOFCLASS(Iimpl, Cthis) }
+#else
+#define QITABENTMULTI(Cthis, Ifoo, Iimpl) { (IID*) &IID_##Ifoo,
OFFSETOFCLASS(Iimpl, Cthis) }
+#endif
+#define QITABENTMULTI2(Cthis, Ifoo, Iimpl) { (IID*) &Ifoo,
OFFSETOFCLASS(Iimpl, Cthis) }
+#define QITABENT(Cthis, Ifoo) QITABENTMULTI(Cthis, Ifoo, Ifoo)
+
+ STDAPI QISearch(void *that, LPCQITAB pqit, REFIID riid, void **ppv);
+
+#define ILMM_IE4 0
+ LWSTDAPI_(BOOL) SHIsLowMemoryMachine(DWORD dwType);
+ LWSTDAPI_(int) GetMenuPosFromId(HMENU hMenu, UINT id);
+ LWSTDAPI SHGetInverseCMAP(__out_bcount(cbMap) BYTE *pbMap, ULONG cbMap);
+#endif
+
#define SHACF_DEFAULT 0x00000000
#define SHACF_FILESYSTEM 0x00000001
#define SHACF_URLALL (SHACF_URLHISTORY | SHACF_URLMRU)
@@ -870,6 +912,10 @@ extern "C" {
#define SHACF_FILESYS_DIRS 0x00000020
#endif
+#if (_WIN32_IE >= 0x0700)
+#define SHACF_VIRTUAL_NAMESPACE 0x00000040
+#endif
+
#define SHACF_AUTOSUGGEST_FORCE_ON 0x10000000
#define SHACF_AUTOSUGGEST_FORCE_OFF 0x20000000
#define SHACF_AUTOAPPEND_FORCE_ON 0x40000000
--
2.18.0
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public