ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

urlhist.idl
Go to the documentation of this file.
00001 /*
00002  * Copyright 2006 Jacek Caban for CodeWeavers
00003  *
00004  * This library is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU Lesser General Public
00006  * License as published by the Free Software Foundation; either
00007  * version 2.1 of the License, or (at your option) any later version.
00008  *
00009  * This library is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012  * Lesser General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU Lesser General Public
00015  * License along with this library; if not, write to the Free Software
00016  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
00017  */
00018 
00019 import "objidl.idl";
00020 import "oleidl.idl";
00021 import "oaidl.idl";
00022 import "docobj.idl";
00023 import "servprov.idl";
00024 
00025 typedef enum _ADDURL_FLAG
00026 {
00027     ADDURL_FIRST                = 0,
00028     ADDURL_ADDTOHISTORYANDCACHE = 0,
00029     ADDURL_ADDTOCACHE           = 1,
00030     ADDURL_Max                  = 0x7fffffff
00031 } ADDURL_FLAG;
00032 
00033 /*****************************************************************************
00034  *    IEnumSTATURL interface
00035  */
00036 [
00037     object,
00038     uuid(3c374a42-bae4-11cf-bf7d-00aa006946ee),
00039     pointer_default(unique)
00040 ]
00041 interface IEnumSTATURL : IUnknown
00042 {
00043     typedef [unique] IEnumSTATURL *LPENUMSTATURL;
00044     
00045     typedef struct _STATURL
00046     {
00047         DWORD cbSize;
00048         LPWSTR pwcsUrl;
00049         LPWSTR pwcsTitle;
00050         FILETIME ftLastVisited;
00051         FILETIME ftLastUpdated;
00052         FILETIME ftExpires;
00053         DWORD dwFlags;
00054     } STATURL, *LPSTATURL;
00055 
00056     HRESULT Next(
00057         [in] ULONG celt,
00058         [in, out] LPSTATURL rgelt,
00059         [in, out] ULONG *pceltFetched);
00060 
00061     HRESULT Skip([in] ULONG celt);
00062     HRESULT Reset();
00063     HRESULT Clone([out] IEnumSTATURL **ppenum);
00064 
00065     HRESULT SetFilter(
00066         [in] LPCOLESTR poszFilter,
00067         [in] DWORD dwFlags);
00068 }
00069 
00070 /*****************************************************************************
00071  *    IUrlHistoryStg interface
00072  */
00073 [
00074     object,
00075     uuid(3c374a41-bae4-11cf-bf7d-00aa006946ee),
00076     pointer_default(unique)
00077 ]
00078 interface IUrlHistoryStg : IUnknown
00079 {
00080     typedef [unique] IUrlHistoryStg *LPURLHISTORYSTG;
00081     
00082     HRESULT AddUrl(
00083         [in] LPCOLESTR pocsUrl,
00084         [in, unique] LPCOLESTR pocsTitle,
00085         [in] DWORD dwFlags);
00086 
00087     HRESULT DeleteUrl(
00088         [in] LPCOLESTR pocsUrl,
00089         [in] DWORD dwFlags);
00090 
00091     HRESULT QueryUrl(
00092         [in] LPCOLESTR pocsUrl,
00093         [in] DWORD dwFlags,
00094         [in, out, unique] LPSTATURL lpSTATURL);
00095     
00096     HRESULT BindToObject(
00097         [in] LPCOLESTR pocsUrl,
00098         [in] REFIID riid,
00099         [out, iid_is(riid)] void **ppvOut);
00100 
00101     HRESULT EnumUrls(
00102         [out] IEnumSTATURL **ppEnum);   
00103 }
00104 
00105 /*****************************************************************************
00106  *    IUrlHistoryStg2 interface
00107  */
00108 [
00109     object,
00110     uuid(afa0dc11-c313-11d0-831a-00c04fd5ae38),
00111     pointer_default(unique)
00112 ]
00113 interface IUrlHistoryStg2 : IUrlHistoryStg
00114 {
00115     typedef [unique] IUrlHistoryStg2 *LPURLHISTORYSTG2;
00116 
00117     HRESULT AddUrlAndNotify(
00118         [in] LPCOLESTR pocsUrl,
00119         [in,unique] LPCOLESTR pocsTitle,
00120         [in] DWORD dwFlags,
00121         [in] BOOL fWriteHistory,
00122         [in] IOleCommandTarget *poctNotify,
00123         [in, unique] IUnknown *punkISFolder);
00124 
00125     HRESULT ClearHistory();
00126 }
00127 
00128 /*****************************************************************************
00129  *    IUrlHistoryNotify interface
00130  */
00131 [
00132     object,
00133     uuid(bc40bec1-c493-11d0-831b-00C04fd5ae38),
00134     pointer_default(unique)
00135 ]
00136 interface IUrlHistoryNotify : IOleCommandTarget
00137 {
00138     typedef [unique] IUrlHistoryNotify *LPURLHISTORYNOTIFY;
00139 }

Generated on Sun May 27 2012 04:32:30 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.