/usr/i686-w64-mingw32/include/urlhist.h is in mingw-w64-i686-dev 2.0.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 | /**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the w64 mingw-runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 440
#endif
#include "rpc.h"
#include "rpcndr.h"
#ifndef __RPCNDR_H_VERSION__
#error This stub requires an updated version of <rpcndr.h>
#endif
#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif
#ifndef __urlhist_h__
#define __urlhist_h__
#ifndef __IEnumSTATURL_FWD_DEFINED__
#define __IEnumSTATURL_FWD_DEFINED__
typedef struct IEnumSTATURL IEnumSTATURL;
#endif
#ifndef __IUrlHistoryStg_FWD_DEFINED__
#define __IUrlHistoryStg_FWD_DEFINED__
typedef struct IUrlHistoryStg IUrlHistoryStg;
#endif
#ifndef __IUrlHistoryStg2_FWD_DEFINED__
#define __IUrlHistoryStg2_FWD_DEFINED__
typedef struct IUrlHistoryStg2 IUrlHistoryStg2;
#endif
#ifndef __IUrlHistoryNotify_FWD_DEFINED__
#define __IUrlHistoryNotify_FWD_DEFINED__
typedef struct IUrlHistoryNotify IUrlHistoryNotify;
#endif
#include "objidl.h"
#include "oleidl.h"
#include "oaidl.h"
#include "docobj.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifndef __MIDL_user_allocate_free_DEFINED__
#define __MIDL_user_allocate_free_DEFINED__
void *__RPC_API MIDL_user_allocate(size_t);
void __RPC_API MIDL_user_free(void *);
#endif
#define STATURL_QUERYFLAG_ISCACHED 0x00010000
#define STATURL_QUERYFLAG_NOURL 0x00020000
#define STATURL_QUERYFLAG_NOTITLE 0x00040000
#define STATURL_QUERYFLAG_TOPLEVEL 0x00080000
#define STATURLFLAG_ISCACHED 0x00000001
#define STATURLFLAG_ISTOPLEVEL 0x00000002
typedef enum _ADDURL_FLAG {
ADDURL_FIRST = 0,ADDURL_ADDTOHISTORYANDCACHE = 0,ADDURL_ADDTOCACHE = 1,ADDURL_Max = 2147483647L
} ADDURL_FLAG;
#ifndef _LPENUMSTATURL_DEFINED
#define _LPENUMSTATURL_DEFINED
extern RPC_IF_HANDLE __MIDL_itf_urlhist_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_urlhist_0000_v0_0_s_ifspec;
#ifndef __IEnumSTATURL_INTERFACE_DEFINED__
#define __IEnumSTATURL_INTERFACE_DEFINED__
typedef IEnumSTATURL *LPENUMSTATURL;
typedef struct _STATURL {
DWORD cbSize;
LPWSTR pwcsUrl;
LPWSTR pwcsTitle;
FILETIME ftLastVisited;
FILETIME ftLastUpdated;
FILETIME ftExpires;
DWORD dwFlags;
} STATURL;
typedef struct _STATURL *LPSTATURL;
EXTERN_C const IID IID_IEnumSTATURL;
#if defined(__cplusplus) && !defined(CINTERFACE)
struct IEnumSTATURL : public IUnknown {
public:
virtual HRESULT WINAPI Next(ULONG celt,LPSTATURL rgelt,ULONG *pceltFetched) = 0;
virtual HRESULT WINAPI Skip(ULONG celt) = 0;
virtual HRESULT WINAPI Reset(void) = 0;
virtual HRESULT WINAPI Clone(IEnumSTATURL **ppenum) = 0;
virtual HRESULT WINAPI SetFilter(LPCOLESTR poszFilter,DWORD dwFlags) = 0;
};
#else
typedef struct IEnumSTATURLVtbl {
BEGIN_INTERFACE
HRESULT (WINAPI *QueryInterface)(IEnumSTATURL *This,REFIID riid,void **ppvObject);
ULONG (WINAPI *AddRef)(IEnumSTATURL *This);
ULONG (WINAPI *Release)(IEnumSTATURL *This);
HRESULT (WINAPI *Next)(IEnumSTATURL *This,ULONG celt,LPSTATURL rgelt,ULONG *pceltFetched);
HRESULT (WINAPI *Skip)(IEnumSTATURL *This,ULONG celt);
HRESULT (WINAPI *Reset)(IEnumSTATURL *This);
HRESULT (WINAPI *Clone)(IEnumSTATURL *This,IEnumSTATURL **ppenum);
HRESULT (WINAPI *SetFilter)(IEnumSTATURL *This,LPCOLESTR poszFilter,DWORD dwFlags);
END_INTERFACE
} IEnumSTATURLVtbl;
struct IEnumSTATURL {
CONST_VTBL struct IEnumSTATURLVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IEnumSTATURL_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IEnumSTATURL_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IEnumSTATURL_Release(This) (This)->lpVtbl->Release(This)
#define IEnumSTATURL_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched)
#define IEnumSTATURL_Skip(This,celt) (This)->lpVtbl->Skip(This,celt)
#define IEnumSTATURL_Reset(This) (This)->lpVtbl->Reset(This)
#define IEnumSTATURL_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum)
#define IEnumSTATURL_SetFilter(This,poszFilter,dwFlags) (This)->lpVtbl->SetFilter(This,poszFilter,dwFlags)
#endif
#endif
HRESULT WINAPI IEnumSTATURL_Next_Proxy(IEnumSTATURL *This,ULONG celt,LPSTATURL rgelt,ULONG *pceltFetched);
void __RPC_STUB IEnumSTATURL_Next_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
HRESULT WINAPI IEnumSTATURL_Skip_Proxy(IEnumSTATURL *This,ULONG celt);
void __RPC_STUB IEnumSTATURL_Skip_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
HRESULT WINAPI IEnumSTATURL_Reset_Proxy(IEnumSTATURL *This);
void __RPC_STUB IEnumSTATURL_Reset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
HRESULT WINAPI IEnumSTATURL_Clone_Proxy(IEnumSTATURL *This,IEnumSTATURL **ppenum);
void __RPC_STUB IEnumSTATURL_Clone_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
HRESULT WINAPI IEnumSTATURL_SetFilter_Proxy(IEnumSTATURL *This,LPCOLESTR poszFilter,DWORD dwFlags);
void __RPC_STUB IEnumSTATURL_SetFilter_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
#endif
#endif
#ifndef _LPURLHISTORYSTG_DEFINED
#define _LPURLHISTORYSTG_DEFINED
extern RPC_IF_HANDLE __MIDL_itf_urlhist_0277_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_urlhist_0277_v0_0_s_ifspec;
#ifndef __IUrlHistoryStg_INTERFACE_DEFINED__
#define __IUrlHistoryStg_INTERFACE_DEFINED__
typedef IUrlHistoryStg *LPURLHISTORYSTG;
EXTERN_C const IID IID_IUrlHistoryStg;
#if defined(__cplusplus) && !defined(CINTERFACE)
struct IUrlHistoryStg : public IUnknown {
public:
virtual HRESULT WINAPI AddUrl(LPCOLESTR pocsUrl,LPCOLESTR pocsTitle,DWORD dwFlags) = 0;
virtual HRESULT WINAPI DeleteUrl(LPCOLESTR pocsUrl,DWORD dwFlags) = 0;
virtual HRESULT WINAPI QueryUrl(LPCOLESTR pocsUrl,DWORD dwFlags,LPSTATURL lpSTATURL) = 0;
virtual HRESULT WINAPI BindToObject(LPCOLESTR pocsUrl,REFIID riid,void **ppvOut) = 0;
virtual HRESULT WINAPI EnumUrls(IEnumSTATURL **ppEnum) = 0;
};
#else
typedef struct IUrlHistoryStgVtbl {
BEGIN_INTERFACE
HRESULT (WINAPI *QueryInterface)(IUrlHistoryStg *This,REFIID riid,void **ppvObject);
ULONG (WINAPI *AddRef)(IUrlHistoryStg *This);
ULONG (WINAPI *Release)(IUrlHistoryStg *This);
HRESULT (WINAPI *AddUrl)(IUrlHistoryStg *This,LPCOLESTR pocsUrl,LPCOLESTR pocsTitle,DWORD dwFlags);
HRESULT (WINAPI *DeleteUrl)(IUrlHistoryStg *This,LPCOLESTR pocsUrl,DWORD dwFlags);
HRESULT (WINAPI *QueryUrl)(IUrlHistoryStg *This,LPCOLESTR pocsUrl,DWORD dwFlags,LPSTATURL lpSTATURL);
HRESULT (WINAPI *BindToObject)(IUrlHistoryStg *This,LPCOLESTR pocsUrl,REFIID riid,void **ppvOut);
HRESULT (WINAPI *EnumUrls)(IUrlHistoryStg *This,IEnumSTATURL **ppEnum);
END_INTERFACE
} IUrlHistoryStgVtbl;
struct IUrlHistoryStg {
CONST_VTBL struct IUrlHistoryStgVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IUrlHistoryStg_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IUrlHistoryStg_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IUrlHistoryStg_Release(This) (This)->lpVtbl->Release(This)
#define IUrlHistoryStg_AddUrl(This,pocsUrl,pocsTitle,dwFlags) (This)->lpVtbl->AddUrl(This,pocsUrl,pocsTitle,dwFlags)
#define IUrlHistoryStg_DeleteUrl(This,pocsUrl,dwFlags) (This)->lpVtbl->DeleteUrl(This,pocsUrl,dwFlags)
#define IUrlHistoryStg_QueryUrl(This,pocsUrl,dwFlags,lpSTATURL) (This)->lpVtbl->QueryUrl(This,pocsUrl,dwFlags,lpSTATURL)
#define IUrlHistoryStg_BindToObject(This,pocsUrl,riid,ppvOut) (This)->lpVtbl->BindToObject(This,pocsUrl,riid,ppvOut)
#define IUrlHistoryStg_EnumUrls(This,ppEnum) (This)->lpVtbl->EnumUrls(This,ppEnum)
#endif
#endif
HRESULT WINAPI IUrlHistoryStg_AddUrl_Proxy(IUrlHistoryStg *This,LPCOLESTR pocsUrl,LPCOLESTR pocsTitle,DWORD dwFlags);
void __RPC_STUB IUrlHistoryStg_AddUrl_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
HRESULT WINAPI IUrlHistoryStg_DeleteUrl_Proxy(IUrlHistoryStg *This,LPCOLESTR pocsUrl,DWORD dwFlags);
void __RPC_STUB IUrlHistoryStg_DeleteUrl_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
HRESULT WINAPI IUrlHistoryStg_QueryUrl_Proxy(IUrlHistoryStg *This,LPCOLESTR pocsUrl,DWORD dwFlags,LPSTATURL lpSTATURL);
void __RPC_STUB IUrlHistoryStg_QueryUrl_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
HRESULT WINAPI IUrlHistoryStg_BindToObject_Proxy(IUrlHistoryStg *This,LPCOLESTR pocsUrl,REFIID riid,void **ppvOut);
void __RPC_STUB IUrlHistoryStg_BindToObject_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
HRESULT WINAPI IUrlHistoryStg_EnumUrls_Proxy(IUrlHistoryStg *This,IEnumSTATURL **ppEnum);
void __RPC_STUB IUrlHistoryStg_EnumUrls_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
#endif
#endif
#ifndef _LPURLHISTORYSTG2_DEFINED
#define _LPURLHISTORYSTG2_DEFINED
extern RPC_IF_HANDLE __MIDL_itf_urlhist_0278_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_urlhist_0278_v0_0_s_ifspec;
#ifndef __IUrlHistoryStg2_INTERFACE_DEFINED__
#define __IUrlHistoryStg2_INTERFACE_DEFINED__
typedef IUrlHistoryStg2 *LPURLHISTORYSTG2;
EXTERN_C const IID IID_IUrlHistoryStg2;
#if defined(__cplusplus) && !defined(CINTERFACE)
struct IUrlHistoryStg2 : public IUrlHistoryStg {
public:
virtual HRESULT WINAPI AddUrlAndNotify(LPCOLESTR pocsUrl,LPCOLESTR pocsTitle,DWORD dwFlags,WINBOOL fWriteHistory,IOleCommandTarget *poctNotify,IUnknown *punkISFolder) = 0;
virtual HRESULT WINAPI ClearHistory(void) = 0;
};
#else
typedef struct IUrlHistoryStg2Vtbl {
BEGIN_INTERFACE
HRESULT (WINAPI *QueryInterface)(IUrlHistoryStg2 *This,REFIID riid,void **ppvObject);
ULONG (WINAPI *AddRef)(IUrlHistoryStg2 *This);
ULONG (WINAPI *Release)(IUrlHistoryStg2 *This);
HRESULT (WINAPI *AddUrl)(IUrlHistoryStg2 *This,LPCOLESTR pocsUrl,LPCOLESTR pocsTitle,DWORD dwFlags);
HRESULT (WINAPI *DeleteUrl)(IUrlHistoryStg2 *This,LPCOLESTR pocsUrl,DWORD dwFlags);
HRESULT (WINAPI *QueryUrl)(IUrlHistoryStg2 *This,LPCOLESTR pocsUrl,DWORD dwFlags,LPSTATURL lpSTATURL);
HRESULT (WINAPI *BindToObject)(IUrlHistoryStg2 *This,LPCOLESTR pocsUrl,REFIID riid,void **ppvOut);
HRESULT (WINAPI *EnumUrls)(IUrlHistoryStg2 *This,IEnumSTATURL **ppEnum);
HRESULT (WINAPI *AddUrlAndNotify)(IUrlHistoryStg2 *This,LPCOLESTR pocsUrl,LPCOLESTR pocsTitle,DWORD dwFlags,WINBOOL fWriteHistory,IOleCommandTarget *poctNotify,IUnknown *punkISFolder);
HRESULT (WINAPI *ClearHistory)(IUrlHistoryStg2 *This);
END_INTERFACE
} IUrlHistoryStg2Vtbl;
struct IUrlHistoryStg2 {
CONST_VTBL struct IUrlHistoryStg2Vtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IUrlHistoryStg2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IUrlHistoryStg2_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IUrlHistoryStg2_Release(This) (This)->lpVtbl->Release(This)
#define IUrlHistoryStg2_AddUrl(This,pocsUrl,pocsTitle,dwFlags) (This)->lpVtbl->AddUrl(This,pocsUrl,pocsTitle,dwFlags)
#define IUrlHistoryStg2_DeleteUrl(This,pocsUrl,dwFlags) (This)->lpVtbl->DeleteUrl(This,pocsUrl,dwFlags)
#define IUrlHistoryStg2_QueryUrl(This,pocsUrl,dwFlags,lpSTATURL) (This)->lpVtbl->QueryUrl(This,pocsUrl,dwFlags,lpSTATURL)
#define IUrlHistoryStg2_BindToObject(This,pocsUrl,riid,ppvOut) (This)->lpVtbl->BindToObject(This,pocsUrl,riid,ppvOut)
#define IUrlHistoryStg2_EnumUrls(This,ppEnum) (This)->lpVtbl->EnumUrls(This,ppEnum)
#define IUrlHistoryStg2_AddUrlAndNotify(This,pocsUrl,pocsTitle,dwFlags,fWriteHistory,poctNotify,punkISFolder) (This)->lpVtbl->AddUrlAndNotify(This,pocsUrl,pocsTitle,dwFlags,fWriteHistory,poctNotify,punkISFolder)
#define IUrlHistoryStg2_ClearHistory(This) (This)->lpVtbl->ClearHistory(This)
#endif
#endif
HRESULT WINAPI IUrlHistoryStg2_AddUrlAndNotify_Proxy(IUrlHistoryStg2 *This,LPCOLESTR pocsUrl,LPCOLESTR pocsTitle,DWORD dwFlags,WINBOOL fWriteHistory,IOleCommandTarget *poctNotify,IUnknown *punkISFolder);
void __RPC_STUB IUrlHistoryStg2_AddUrlAndNotify_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
HRESULT WINAPI IUrlHistoryStg2_ClearHistory_Proxy(IUrlHistoryStg2 *This);
void __RPC_STUB IUrlHistoryStg2_ClearHistory_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
#endif
#endif
#ifndef _LPURLHISTORYNOTIFY_DEFINED
#define _LPURLHISTORYNOTIFY_DEFINED
extern RPC_IF_HANDLE __MIDL_itf_urlhist_0279_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_urlhist_0279_v0_0_s_ifspec;
#ifndef __IUrlHistoryNotify_INTERFACE_DEFINED__
#define __IUrlHistoryNotify_INTERFACE_DEFINED__
typedef IUrlHistoryNotify *LPURLHISTORYNOTIFY;
EXTERN_C const IID IID_IUrlHistoryNotify;
#if defined(__cplusplus) && !defined(CINTERFACE)
struct IUrlHistoryNotify : public IOleCommandTarget {
};
#else
typedef struct IUrlHistoryNotifyVtbl {
BEGIN_INTERFACE
HRESULT (WINAPI *QueryInterface)(IUrlHistoryNotify *This,REFIID riid,void **ppvObject);
ULONG (WINAPI *AddRef)(IUrlHistoryNotify *This);
ULONG (WINAPI *Release)(IUrlHistoryNotify *This);
HRESULT (WINAPI *QueryStatus)(IUrlHistoryNotify *This,const GUID *pguidCmdGroup,ULONG cCmds,OLECMD prgCmds[],OLECMDTEXT *pCmdText);
HRESULT (WINAPI *Exec)(IUrlHistoryNotify *This,const GUID *pguidCmdGroup,DWORD nCmdID,DWORD nCmdexecopt,VARIANT *pvaIn,VARIANT *pvaOut);
END_INTERFACE
} IUrlHistoryNotifyVtbl;
struct IUrlHistoryNotify {
CONST_VTBL struct IUrlHistoryNotifyVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IUrlHistoryNotify_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IUrlHistoryNotify_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IUrlHistoryNotify_Release(This) (This)->lpVtbl->Release(This)
#define IUrlHistoryNotify_QueryStatus(This,pguidCmdGroup,cCmds,prgCmds,pCmdText) (This)->lpVtbl->QueryStatus(This,pguidCmdGroup,cCmds,prgCmds,pCmdText)
#define IUrlHistoryNotify_Exec(This,pguidCmdGroup,nCmdID,nCmdexecopt,pvaIn,pvaOut) (This)->lpVtbl->Exec(This,pguidCmdGroup,nCmdID,nCmdexecopt,pvaIn,pvaOut)
#endif
#endif
#endif
#endif
extern RPC_IF_HANDLE __MIDL_itf_urlhist_0280_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_urlhist_0280_v0_0_s_ifspec;
#ifdef __cplusplus
}
#endif
#endif
|