From 719c9e981156890bc244afbd14e1492ec28403db Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Sun, 28 Nov 2010 09:28:28 +0000 Subject: [PATCH] [PSDK] Add some GUIDs for MSVC. svn path=/branches/cmake-bringup/; revision=49835 --- include/psdk/hlguids.h | 4 ++++ include/psdk/richole.idl | 5 +++++ include/psdk/shlguid.h | 41 ++++++++++++++++++++-------------------- 3 files changed, 30 insertions(+), 20 deletions(-) diff --git a/include/psdk/hlguids.h b/include/psdk/hlguids.h index 7a45e668d86..9083a76a951 100644 --- a/include/psdk/hlguids.h +++ b/include/psdk/hlguids.h @@ -27,5 +27,9 @@ DEFINE_GUID(CLSID_StdHlinkBrowseContext, 0x79eac9d1, 0xbaf9, 0x11ce, 0x8c, 0x82, 0x00, 0xaa,0x00,0x4b,0xa9,0x0b); DEFINE_GUID(CLSID_IID_IExtensionServices, 0x79eac9cb, 0xbaf9, 0x11ce, 0x8c, 0x82, 0x00, 0xaa,0x00,0x4b,0xa9,0x0b); +#ifndef __GNUC__ +DEFINE_GUID(IID_IBindStatusCallback, + 0x79eac9c1, 0xbaf9, 0x11ce, 0x8c, 0x82, 0x00, 0xaa,0x00,0x4b,0xa9,0x0b); +#endif #endif diff --git a/include/psdk/richole.idl b/include/psdk/richole.idl index c74783f9a28..149de6c1a53 100644 --- a/include/psdk/richole.idl +++ b/include/psdk/richole.idl @@ -131,3 +131,8 @@ interface IRichEditOleCallback : IUnknown HRESULT GetDragDropEffect(BOOL fDrag, DWORD grfKeyState, LPDWORD pdwEffect); HRESULT GetContextMenu(WORD seltype, LPOLEOBJECT lpoleobj, CHARRANGE *lpchrg, HMENU *lphmenu); } + +#ifndef __WIDL__ +cpp_quote("DEFINE_GUID(IID_IRichEditOle, 0x00020D00, 0, 0, 0xC0,0,0,0,0,0,0,0x46);") +cpp_quote("DEFINE_GUID(IID_IRichEditOleCallback, 0x00020D03, 0, 0, 0xC0,0,0,0,0,0,0,0x46);") +#endif diff --git a/include/psdk/shlguid.h b/include/psdk/shlguid.h index 152da1952a4..a2f0a91022f 100644 --- a/include/psdk/shlguid.h +++ b/include/psdk/shlguid.h @@ -57,26 +57,27 @@ DEFINE_GUID(IID_IObjMgr, 0x00BB2761L,0x6A77,0x11D0,0xA5,0x35,0x00,0xC0,0x4F,0x DEFINE_GUID(IID_IProgressDialog, 0xEBBC7C04,0x315E,0x11D2,0xB6,0x2F,0x00,0x60,0x97,0xDF,0x5B,0xD4); -/* avoid duplicate definitions with shobjidl.h (FIXME) */ -/* DEFINE_GUID(IID_IDockingWindow, 0x012dd920L, 0x7B26, 0x11D0, 0x8C, 0xA9, 0x00, 0xA0, 0xC9, 0x2D, 0xBF, 0xE8); */ -/* DEFINE_OLEGUID(IID_IShellPropSheetExt, 0x000214E9L, 0, 0); */ -/* DEFINE_OLEGUID(IID_IExtractIconA, 0x000214EBL, 0, 0); */ -/* DEFINE_OLEGUID(IID_IExtractIconW, 0x000214FAL, 0, 0); */ -/* DEFINE_OLEGUID(IID_IContextMenu, 0x000214E4L, 0, 0); */ -/* DEFINE_OLEGUID(IID_IContextMenu2, 0x000214F4L, 0, 0); */ -/* DEFINE_OLEGUID(IID_ICommDlgBrowser, 0x000214F1L, 0, 0); */ -/* DEFINE_OLEGUID(IID_IShellBrowser, 0x000214E2L, 0, 0); */ -/* DEFINE_OLEGUID(IID_IShellView, 0x000214E3L, 0, 0); */ -/* DEFINE_OLEGUID(IID_IShellFolder, 0x000214E6L, 0, 0); */ -/* DEFINE_OLEGUID(IID_IShellExtInit, 0x000214E8L, 0, 0); */ -/* DEFINE_OLEGUID(IID_IPersistFolder, 0x000214EAL, 0, 0); */ -/* DEFINE_OLEGUID(IID_IShellLinkA, 0x000214EEL, 0, 0); */ -/* DEFINE_OLEGUID(IID_IEnumIDList, 0x000214F2L, 0, 0); */ -/* DEFINE_OLEGUID(IID_IShellLinkW, 0x000214F9L, 0, 0); */ -/* DEFINE_OLEGUID(IID_IShellExecuteHookA, 0x000214F5L, 0, 0); */ -/* DEFINE_OLEGUID(IID_IShellExecuteHookW, 0x000214FBL, 0, 0); */ -/* DEFINE_OLEGUID(IID_INewShortcutHookA, 0x000214E1L, 0, 0); */ -/* DEFINE_OLEGUID(IID_INewShortcutHookW, 0x000214F7L, 0, 0); */ +#ifndef __GNUC__ /* avoid duplicate definitions with shobjidl.h (FIXME) */ +DEFINE_GUID(IID_IDockingWindow, 0x012dd920L, 0x7B26, 0x11D0, 0x8C, 0xA9, 0x00, 0xA0, 0xC9, 0x2D, 0xBF, 0xE8); +DEFINE_OLEGUID(IID_IShellPropSheetExt, 0x000214E9L, 0, 0); +DEFINE_OLEGUID(IID_IExtractIconA, 0x000214EBL, 0, 0); +DEFINE_OLEGUID(IID_IExtractIconW, 0x000214FAL, 0, 0); +DEFINE_OLEGUID(IID_IContextMenu, 0x000214E4L, 0, 0); +DEFINE_OLEGUID(IID_IContextMenu2, 0x000214F4L, 0, 0); +DEFINE_OLEGUID(IID_ICommDlgBrowser, 0x000214F1L, 0, 0); +DEFINE_OLEGUID(IID_IShellBrowser, 0x000214E2L, 0, 0); +DEFINE_OLEGUID(IID_IShellView, 0x000214E3L, 0, 0); +DEFINE_OLEGUID(IID_IShellFolder, 0x000214E6L, 0, 0); +DEFINE_OLEGUID(IID_IShellExtInit, 0x000214E8L, 0, 0); +DEFINE_OLEGUID(IID_IPersistFolder, 0x000214EAL, 0, 0); +DEFINE_OLEGUID(IID_IShellLinkA, 0x000214EEL, 0, 0); +DEFINE_OLEGUID(IID_IEnumIDList, 0x000214F2L, 0, 0); +DEFINE_OLEGUID(IID_IShellLinkW, 0x000214F9L, 0, 0); +DEFINE_OLEGUID(IID_IShellExecuteHookA, 0x000214F5L, 0, 0); +DEFINE_OLEGUID(IID_IShellExecuteHookW, 0x000214FBL, 0, 0); +DEFINE_OLEGUID(IID_INewShortcutHookA, 0x000214E1L, 0, 0); +DEFINE_OLEGUID(IID_INewShortcutHookW, 0x000214F7L, 0, 0); +#endif DEFINE_GUID(CLSID_CUrlHistory, 0x3c374a40, 0xbae4, 0x11cf, 0xbf, 0x7d, 0x00, 0xaa, 0x00, 0x69, 0x46, 0xee); #define SID_SUrlHistory CLSID_CUrlHistory