mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
update hlink headers to wine 0.9.52
svn path=/trunk/; revision=31585
This commit is contained in:
@@ -0,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
|
||||
@@ -26,6 +26,7 @@ interface IHlinkBrowseContext;
|
||||
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 HlinkOnNavigate(IHlinkFrame*, IHlinkBrowseContext*, DW
|
||||
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 @@ interface IHlinkBrowseContext : IUnknown
|
||||
[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 @@ interface IHlinkFrame : IUnknown
|
||||
{
|
||||
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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user