Author: cwittich Date: Thu Jan 3 21:40:38 2008 New Revision: 31585
URL: http://svn.reactos.org/svn/reactos?rev=31585&view=rev Log: update hlink headers to wine 0.9.52
Added: trunk/reactos/include/psdk/hlguids.h (with props) Modified: trunk/reactos/include/psdk/hlink.idl
Added: trunk/reactos/include/psdk/hlguids.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/hlguids.h?rev=... ============================================================================== --- trunk/reactos/include/psdk/hlguids.h (added) +++ trunk/reactos/include/psdk/hlguids.h Thu Jan 3 21:40:38 2008 @@ -1,0 +1,29 @@ +/* + * Implementation of hyperlinking (hlink.dll) + * + * Copyright 2005 Aric Stewart for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_HLGUIDS_H__ +#define __WINE_HLGUIDS_H__ + +DEFINE_GUID(CLSID_StdHlink, + 0x79eac9d0, 0xbaf9, 0x11ce, 0x8c, 0x82, 0x00, 0xaa,0x00,0x4b,0xa9,0x0b); +DEFINE_GUID(CLSID_StdHlinkBrowseContext, + 0x79eac9d1, 0xbaf9, 0x11ce, 0x8c, 0x82, 0x00, 0xaa,0x00,0x4b,0xa9,0x0b); + +#endif
Propchange: trunk/reactos/include/psdk/hlguids.h ------------------------------------------------------------------------------ svn:eol-style = native
Modified: trunk/reactos/include/psdk/hlink.idl URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/hlink.idl?rev=... ============================================================================== --- trunk/reactos/include/psdk/hlink.idl (original) +++ trunk/reactos/include/psdk/hlink.idl Thu Jan 3 21:40:38 2008 @@ -26,6 +26,7 @@ cpp_quote("HRESULT WINAPI HlinkCreateFromMoniker(IMoniker*, LPCWSTR, LPCWSTR, IHlinkSite*, DWORD, IUnknown*, REFIID, void**);") cpp_quote("HRESULT WINAPI HlinkCreateFromString(LPCWSTR, LPCWSTR, LPCWSTR, IHlinkSite*, DWORD, IUnknown*, REFIID, void**);") cpp_quote("HRESULT WINAPI HlinkCreateFromData(IDataObject*, IHlinkSite*, DWORD dwSiteData, IUnknown*, REFIID, void**);") +cpp_quote("HRESULT WINAPI HlinkCreateExtensionServices(LPCWSTR, HWND, LPCWSTR, LPCWSTR, IUnknown*, REFIID, void**);") cpp_quote("HRESULT WINAPI HlinkQueryCreateFromData(IDataObject*);") cpp_quote("HRESULT WINAPI HlinkClone(IHlink*, REFIID, IHlinkSite*, DWORD, void **);") cpp_quote("HRESULT WINAPI HlinkCreateBrowseContext(IUnknown*, REFIID, void **);") @@ -35,6 +36,17 @@ cpp_quote("HRESULT WINAPI HlinkIsShortcut(LPCWSTR);") cpp_quote("HRESULT WINAPI HlinkTranslateURL(LPCWSTR,DWORD,LPWSTR*);")
+typedef enum _HLSR_NOREDEF10 { + HLSR_HOME, + HLSR_SEARCHPAGE, + HLSR_HISTORYFOLDER +} HLSR; + +cpp_quote("HRESULT WINAPI HlinkSetSpecialReference(ULONG uReference, LPCWSTR pwzReference);") +cpp_quote("HRESULT WINAPI HlinkGetSpecialReference(ULONG uReference, LPWSTR *ppwzReference);") + +cpp_quote("#define SID_SHlinkFrame IID_IHlinkFrame") + /***************************************************************************** * IHlink interface */ @@ -274,6 +286,10 @@ [in, unique] IMoniker *pimk, [out] DWORD *pdwRegister);
+cpp_quote("#ifdef WINE_NO_UNICODE_MACROS") +cpp_quote("#undef GetObject") +cpp_quote("#endif") + HRESULT GetObject( [in, unique] IMoniker *pimk, [in] BOOL fBindIfRootRegistered, @@ -377,24 +393,24 @@ { typedef IHlinkFrame *LPHLINKFRAME;
- HRESULT SetBrowseContext( + HRESULT SetBrowseContext( [in, unique] IHlinkBrowseContext * pihlbc); - HRESULT GetBrowseContext( + HRESULT GetBrowseContext( [out] IHlinkBrowseContext ** ppihlbc); - HRESULT Navigate( - [in] DWORD grfHLNF, - [in, unique] LPBC pbc, - [in, unique] IBindStatusCallback *pibsc, + HRESULT Navigate( + [in] DWORD grfHLNF, + [in, unique] LPBC pbc, + [in, unique] IBindStatusCallback *pibsc, [in, unique] IHlink *pihlNavigate); - HRESULT OnNavigate( - [in] DWORD grfHLNF, - [in, unique] IMoniker *pimkTarget, - [in, unique] LPCWSTR pwzLocation, - [in, unique] LPCWSTR pwzFriendlyName, + HRESULT OnNavigate( + [in] DWORD grfHLNF, + [in, unique] IMoniker *pimkTarget, + [in, unique] LPCWSTR pwzLocation, + [in, unique] LPCWSTR pwzFriendlyName, [in] DWORD dwreserved); - HRESULT UpdateHlink( - [in] ULONG uHLID, - [in, unique] IMoniker *pimkTarget, - [in, unique] LPCWSTR pwzLocation, + HRESULT UpdateHlink( + [in] ULONG uHLID, + [in, unique] IMoniker *pimkTarget, + [in, unique] LPCWSTR pwzLocation, [in, unique] LPCWSTR pwzFriendlyName); }