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:
parent
bdf8d94e2a
commit
cf4a78b3e5
|
@ -2,7 +2,7 @@
|
||||||
101 stdcall -noname IEWinMain(str long)
|
101 stdcall -noname IEWinMain(str long)
|
||||||
102 stub -noname CreateShortcutInDirA
|
102 stub -noname CreateShortcutInDirA
|
||||||
103 stub -noname CreateShortcutInDirW
|
103 stub -noname CreateShortcutInDirW
|
||||||
104 stdcall -noname WhichPlatformFORWARD()
|
104 stdcall -noname WhichPlatform() shlwapi.WhichPlatform
|
||||||
105 stub -noname CreateShortcutInDirEx
|
105 stub -noname CreateShortcutInDirEx
|
||||||
106 stub HlinkFindFrame
|
106 stub HlinkFindFrame
|
||||||
107 stub SetShellOfflineState
|
107 stub SetShellOfflineState
|
||||||
|
|
|
@ -283,17 +283,6 @@ static void* fetch_shlwapi_ordinal(UINT_PTR ord)
|
||||||
return (void*)GetProcAddress(h, (const char*)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.@)
|
* StopWatchModeFORWARD (SHDOCVW.@)
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1135,7 +1135,6 @@ BOOL WINAPI IsOS(DWORD);
|
||||||
#define FDTF_RTLDATE 0x00000200
|
#define FDTF_RTLDATE 0x00000200
|
||||||
#define FDTF_NOAUTOREADINGORDER 0x00000400
|
#define FDTF_NOAUTOREADINGORDER 0x00000400
|
||||||
|
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
const IID *piid;
|
const IID *piid;
|
||||||
|
@ -1144,6 +1143,13 @@ typedef struct
|
||||||
|
|
||||||
HRESULT WINAPI QISearch(void* base, const QITAB *pqit, REFIID riid, void **ppv);
|
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>
|
#include <poppack.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
Loading…
Reference in New Issue