shdocvw: Forward WhichPlatform() to shlwapi.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2020-02-03 10:16:07 +03:00 committed by Alexandre Julliard
parent bdf8d94e2a
commit cf4a78b3e5
3 changed files with 8 additions and 13 deletions

View File

@ -2,7 +2,7 @@
101 stdcall -noname IEWinMain(str long)
102 stub -noname CreateShortcutInDirA
103 stub -noname CreateShortcutInDirW
104 stdcall -noname WhichPlatformFORWARD()
104 stdcall -noname WhichPlatform() shlwapi.WhichPlatform
105 stub -noname CreateShortcutInDirEx
106 stub HlinkFindFrame
107 stub SetShellOfflineState

View File

@ -283,17 +283,6 @@ static void* fetch_shlwapi_ordinal(UINT_PTR ord)
return (void*)GetProcAddress(h, (const char*)ord);
}
/******************************************************************
* WhichPlatformFORWARD (SHDOCVW.@)
*/
DWORD WINAPI WhichPlatformFORWARD(void)
{
static DWORD (WINAPI *p)(void);
if (p || (p = fetch_shlwapi_ordinal(276))) return p();
return 1; /* not integrated, see shlwapi.WhichPlatform */
}
/******************************************************************
* StopWatchModeFORWARD (SHDOCVW.@)
*/

View File

@ -1135,7 +1135,6 @@ BOOL WINAPI IsOS(DWORD);
#define FDTF_RTLDATE 0x00000200
#define FDTF_NOAUTOREADINGORDER 0x00000400
typedef struct
{
const IID *piid;
@ -1144,6 +1143,13 @@ typedef struct
HRESULT WINAPI QISearch(void* base, const QITAB *pqit, REFIID riid, void **ppv);
#define PLATFORM_UNKNOWN 0
#define PLATFORM_IE3 1
#define PLATFORM_BROWSERONLY 1
#define PLATFORM_INTEGRATED 2
UINT WINAPI WhichPlatform(void);
#include <poppack.h>
#ifdef __cplusplus