mirror of
https://github.com/reactos/reactos.git
synced 2024-07-03 03:04:22 +00:00
Fix shell32 build.
svn path=/trunk/; revision=17064
This commit is contained in:
parent
ce4441ce6f
commit
6b88626e55
|
@ -56,4 +56,6 @@ DEFINE_GUID(CLSID_AutoComplete, 0x00bb2763, 0x6a77, 0x11d0, 0xa5, 0x35, 0x00, 0x
|
|||
DEFINE_GUID(IID_IInputObject, 0x068284FAA, 0x6A48, 0x11D0, 0x8C, 0x78, 0x00, 0xC0, 0x4F, 0xD9, 0x18, 0xB4);
|
||||
DEFINE_GUID(IID_IInputObjectSite, 0x0F1DB8392, 0x7331, 0x11D0, 0x8C, 0x99, 0x00, 0xA0, 0xC9, 0x2D, 0xBF, 0xE8);
|
||||
|
||||
DEFINE_GUID(IID_IShellLinkDataList, 0x45e2b4ae, 0xb1c3, 0x11d0, 0xb9, 0x2f, 0x00, 0xa0, 0xc9, 0x03, 0x12, 0xe1);
|
||||
|
||||
#endif /* __WINE_SHLGUID_H */
|
||||
|
|
|
@ -428,7 +428,7 @@ static HRESULT WINAPI ISF_Desktop_fnGetAttributesOf (IShellFolder2 * iface,
|
|||
IGenericSFImpl *This = (IGenericSFImpl *)iface;
|
||||
HRESULT hr = S_OK;
|
||||
const static DWORD dwDesktopAttributes =
|
||||
SFGAO_STORAGE | SFGAO_HASPROPSHEET | SFGAO_STORAGE_ANCESTOR |
|
||||
SFGAO_STORAGE | SFGAO_HASPROPSHEET | SFGAO_STORAGEANCESTOR |
|
||||
SFGAO_FILESYSANCESTOR | SFGAO_FOLDER | SFGAO_FILESYSTEM | SFGAO_HASSUBFOLDER;
|
||||
|
||||
TRACE ("(%p)->(cidl=%d apidl=%p mask=%p (0x%08lx))\n",
|
||||
|
|
|
@ -38,6 +38,7 @@ extern const GUID IID_IShellPropSheetExt;
|
|||
extern const GUID IID_IPersistFolder;
|
||||
extern const GUID IID_IExtractIconA;
|
||||
extern const GUID IID_IShellLinkA;
|
||||
extern const GUID IID_IShellLinkDataList;
|
||||
extern const GUID IID_IShellCopyHookA;
|
||||
extern const GUID IID_IFileViewerA;
|
||||
extern const GUID IID_ICommDlgBrowser;
|
||||
|
|
|
@ -95,6 +95,7 @@ extern "C" {
|
|||
#define SFGAO_CANCOPY DROPEFFECT_COPY
|
||||
#define SFGAO_CANMOVE DROPEFFECT_MOVE
|
||||
#define SFGAO_CANLINK DROPEFFECT_LINK
|
||||
#define SFGAO_STORAGE 0x00000008L
|
||||
#define SFGAO_CANRENAME 0x00000010L
|
||||
#define SFGAO_CANDELETE 0x00000020L
|
||||
#define SFGAO_HASPROPSHEET 0x00000040L
|
||||
|
@ -114,6 +115,7 @@ extern "C" {
|
|||
#define SFGAO_VALIDATE 0x01000000L
|
||||
#define SFGAO_REMOVABLE 0x02000000L
|
||||
#define SFGAO_COMPRESSED 0x04000000L
|
||||
#define SFGAO_STORAGEANCESTOR 0x00800000L
|
||||
#define STRRET_WSTR 0
|
||||
#define STRRET_OFFSET 1
|
||||
#define STRRET_CSTR 2
|
||||
|
@ -1117,6 +1119,31 @@ DECLARE_INTERFACE_(IShellLinkW, IUnknown)
|
|||
#define IShellLinkW_SetPath(T,a) (T)->lpVtbl->SetPath(T,a)
|
||||
#endif
|
||||
|
||||
#define INTERFACE IShellLinkDataList
|
||||
DECLARE_INTERFACE_(IShellLinkDataList, IUnknown)
|
||||
{
|
||||
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
|
||||
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE;
|
||||
STDMETHOD(AddDataBlock)(THIS_ PVOID) PURE;
|
||||
STDMETHOD(CopyDataBlock)(THIS_ DWORD,PVOID*) PURE;
|
||||
STDMETHOD(RemoveDataBlock)(THIS_ DWORD) PURE;
|
||||
STDMETHOD(GetFlags)(THIS_ PDWORD) PURE;
|
||||
STDMETHOD(SetFlags)(THIS_ DWORD) PURE;
|
||||
};
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
#define IShellLinkDataList_QueryInterface(T,a,b) (T)->lpVtbl->QueryInterface(T,a,b)
|
||||
#define IShellLinkDataList_AddRef(T) (T)->lpVtbl->AddRef(T)
|
||||
#define IShellLinkDataList_Release(T) (T)->lpVtbl->Release(T)
|
||||
#define IShellLinkDataList_AddDataBlock(T,a) (T)->lpVtbl->AddDataBlock(T,a)
|
||||
#define IShellLinkDataList_CopyDataBlock(T,a,b) (T)->lpVtbl->CopyDataBlock(T,a,b)
|
||||
#define IShellLinkDataList_RemoveDataBlock(T,a) (T)->lpVtbl->RemoveDataBlock(T,a)
|
||||
#define IShellLinkDataList_GetFlags(T,a) (T)->lpVtbl->GetFlags(T,a)
|
||||
#define IShellLinkDataList_SetFlags(T,a) (T)->lpVtbl->SetFlags(T,a)
|
||||
#endif
|
||||
|
||||
#define INTERFACE IShellFolder
|
||||
DECLARE_INTERFACE_(IShellFolder, IUnknown)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue