mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 06:55:55 +00:00
[rshell]
- Commit rshell.exe that allows explorer_new to run in windows 8 svn path=/branches/shell-experiments/; revision=61978
This commit is contained in:
commit
222f0efde5
7 changed files with 1051 additions and 0 deletions
55
base/shell/rshell/precomp.h
Normal file
55
base/shell/rshell/precomp.h
Normal file
|
@ -0,0 +1,55 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <tchar.h>
|
||||
|
||||
#define WIN32_NO_STATUS
|
||||
#define _INC_WINDOWS
|
||||
#define COM_NO_WINDOWS_H
|
||||
|
||||
#define COBJMACROS
|
||||
|
||||
#include <windef.h>
|
||||
#include <winbase.h>
|
||||
#include <winreg.h>
|
||||
#include <wingdi.h>
|
||||
#include <winnls.h>
|
||||
#include <wincon.h>
|
||||
#include <shellapi.h>
|
||||
#include <shlobj.h>
|
||||
#include <shlobj_undoc.h>
|
||||
#include <shlwapi.h>
|
||||
#include <shlguid_undoc.h>
|
||||
#include <uxtheme.h>
|
||||
#include <strsafe.h>
|
||||
|
||||
#include <atlbase.h>
|
||||
#include <atlcom.h>
|
||||
#include <wine/debug.h>
|
||||
|
||||
#define shell32_hInstance 0
|
||||
#define SMC_EXEC 4
|
||||
extern "C" INT WINAPI Shell_GetCachedImageIndex(LPCWSTR szPath, INT nIndex, UINT bSimulateDoc);
|
||||
extern "C" HRESULT CMenuSite_Constructor(REFIID riid, void **ppv);
|
||||
|
||||
#define INTERFACE IExplorerHostCreator
|
||||
DECLARE_INTERFACE_(IExplorerHostCreator,IUnknown)
|
||||
{
|
||||
/*** IUnknown methods ***/
|
||||
STDMETHOD_(HRESULT,QueryInterface) (THIS_ REFIID riid, void** ppvObject) PURE;
|
||||
STDMETHOD_(ULONG,AddRef) (THIS) PURE;
|
||||
STDMETHOD_(ULONG,Release) (THIS) PURE;
|
||||
/*** IExplorerHostCreator ***/
|
||||
STDMETHOD_(HRESULT,CreateHost)(/*THIS,*/ const GUID* guid) PURE;
|
||||
STDMETHOD_(HRESULT,RunHost)(THIS) PURE;
|
||||
};
|
||||
#undef INTERFACE
|
||||
|
||||
#if defined(COBJMACROS)
|
||||
/*** IUnknown methods ***/
|
||||
#define IExplorerHostCreator_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IExplorerHostCreator_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IExplorerHostCreator_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IExplorerHostCreator methods ***/
|
||||
#define IExplorerHostCreator_CreateHost(p,a) (p)->lpVtbl->CreateHost(p,a)
|
||||
#define IExplorerHostCreator_RunHost(p) (p)->lpVtbl->RunHost(p)
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue