Home | History | Annotate | Download | only in include
      1 /**
      2  * This file has no copyright assigned and is placed in the Public Domain.
      3  * This file is part of the mingw-w64 runtime package.
      4  * No warranty is given; refer to the file DISCLAIMER.PD within this package.
      5  */
      6 #ifndef __REQUIRED_RPCNDR_H_VERSION__
      7 #define __REQUIRED_RPCNDR_H_VERSION__ 475
      8 #endif
      9 
     10 #include "rpc.h"
     11 #include "rpcndr.h"
     12 
     13 #ifndef __RPCNDR_H_VERSION__
     14 #error This stub requires an updated version of <rpcndr.h>
     15 #endif
     16 
     17 #ifndef COM_NO_WINDOWS_H
     18 #include "windows.h"
     19 #include "ole2.h"
     20 #endif
     21 
     22 #ifndef __tlogstg_h__
     23 #define __tlogstg_h__
     24 
     25 #ifndef __ITravelLogEntry_FWD_DEFINED__
     26 #define __ITravelLogEntry_FWD_DEFINED__
     27 typedef struct ITravelLogEntry ITravelLogEntry;
     28 #endif
     29 
     30 #ifndef __IEnumTravelLogEntry_FWD_DEFINED__
     31 #define __IEnumTravelLogEntry_FWD_DEFINED__
     32 typedef struct IEnumTravelLogEntry IEnumTravelLogEntry;
     33 #endif
     34 
     35 #ifndef __ITravelLogStg_FWD_DEFINED__
     36 #define __ITravelLogStg_FWD_DEFINED__
     37 typedef struct ITravelLogStg ITravelLogStg;
     38 #endif
     39 
     40 #include "objidl.h"
     41 #include "oleidl.h"
     42 
     43 #ifdef __cplusplus
     44 extern "C" {
     45 #endif
     46 
     47 #ifndef __MIDL_user_allocate_free_DEFINED__
     48 #define __MIDL_user_allocate_free_DEFINED__
     49   void *__RPC_API MIDL_user_allocate(size_t);
     50   void __RPC_API MIDL_user_free(void *);
     51 #endif
     52 
     53 #define SID_STravelLogCursor IID_ITravelLogStg
     54 
     55   extern RPC_IF_HANDLE __MIDL_itf_tlogstg_0000_v0_0_c_ifspec;
     56   extern RPC_IF_HANDLE __MIDL_itf_tlogstg_0000_v0_0_s_ifspec;
     57 #ifndef __ITravelLogEntry_INTERFACE_DEFINED__
     58 #define __ITravelLogEntry_INTERFACE_DEFINED__
     59   EXTERN_C const IID IID_ITravelLogEntry;
     60 #if defined(__cplusplus) && !defined(CINTERFACE)
     61   struct ITravelLogEntry : public IUnknown {
     62   public:
     63     virtual HRESULT WINAPI GetTitle(LPOLESTR *ppszTitle) = 0;
     64     virtual HRESULT WINAPI GetURL(LPOLESTR *ppszURL) = 0;
     65   };
     66 #else
     67   typedef struct ITravelLogEntryVtbl {
     68     BEGIN_INTERFACE
     69       HRESULT (WINAPI *QueryInterface)(ITravelLogEntry *This,REFIID riid,void **ppvObject);
     70       ULONG (WINAPI *AddRef)(ITravelLogEntry *This);
     71       ULONG (WINAPI *Release)(ITravelLogEntry *This);
     72       HRESULT (WINAPI *GetTitle)(ITravelLogEntry *This,LPOLESTR *ppszTitle);
     73       HRESULT (WINAPI *GetURL)(ITravelLogEntry *This,LPOLESTR *ppszURL);
     74     END_INTERFACE
     75   } ITravelLogEntryVtbl;
     76   struct ITravelLogEntry {
     77     CONST_VTBL struct ITravelLogEntryVtbl *lpVtbl;
     78   };
     79 #ifdef COBJMACROS
     80 #define ITravelLogEntry_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
     81 #define ITravelLogEntry_AddRef(This) (This)->lpVtbl->AddRef(This)
     82 #define ITravelLogEntry_Release(This) (This)->lpVtbl->Release(This)
     83 #define ITravelLogEntry_GetTitle(This,ppszTitle) (This)->lpVtbl->GetTitle(This,ppszTitle)
     84 #define ITravelLogEntry_GetURL(This,ppszURL) (This)->lpVtbl->GetURL(This,ppszURL)
     85 #endif
     86 #endif
     87   HRESULT WINAPI ITravelLogEntry_GetTitle_Proxy(ITravelLogEntry *This,LPOLESTR *ppszTitle);
     88   void __RPC_STUB ITravelLogEntry_GetTitle_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
     89   HRESULT WINAPI ITravelLogEntry_GetURL_Proxy(ITravelLogEntry *This,LPOLESTR *ppszURL);
     90   void __RPC_STUB ITravelLogEntry_GetURL_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
     91 #endif
     92 
     93 #ifndef __IEnumTravelLogEntry_INTERFACE_DEFINED__
     94 #define __IEnumTravelLogEntry_INTERFACE_DEFINED__
     95   EXTERN_C const IID IID_IEnumTravelLogEntry;
     96 #if defined(__cplusplus) && !defined(CINTERFACE)
     97   struct IEnumTravelLogEntry : public IUnknown {
     98   public:
     99     virtual HRESULT WINAPI Next(ULONG cElt,ITravelLogEntry **rgElt,ULONG *pcEltFetched) = 0;
    100     virtual HRESULT WINAPI Skip(ULONG cElt) = 0;
    101     virtual HRESULT WINAPI Reset(void) = 0;
    102     virtual HRESULT WINAPI Clone(IEnumTravelLogEntry **ppEnum) = 0;
    103   };
    104 #else
    105   typedef struct IEnumTravelLogEntryVtbl {
    106     BEGIN_INTERFACE
    107       HRESULT (WINAPI *QueryInterface)(IEnumTravelLogEntry *This,REFIID riid,void **ppvObject);
    108       ULONG (WINAPI *AddRef)(IEnumTravelLogEntry *This);
    109       ULONG (WINAPI *Release)(IEnumTravelLogEntry *This);
    110       HRESULT (WINAPI *Next)(IEnumTravelLogEntry *This,ULONG cElt,ITravelLogEntry **rgElt,ULONG *pcEltFetched);
    111       HRESULT (WINAPI *Skip)(IEnumTravelLogEntry *This,ULONG cElt);
    112       HRESULT (WINAPI *Reset)(IEnumTravelLogEntry *This);
    113       HRESULT (WINAPI *Clone)(IEnumTravelLogEntry *This,IEnumTravelLogEntry **ppEnum);
    114     END_INTERFACE
    115   } IEnumTravelLogEntryVtbl;
    116   struct IEnumTravelLogEntry {
    117     CONST_VTBL struct IEnumTravelLogEntryVtbl *lpVtbl;
    118   };
    119 #ifdef COBJMACROS
    120 #define IEnumTravelLogEntry_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    121 #define IEnumTravelLogEntry_AddRef(This) (This)->lpVtbl->AddRef(This)
    122 #define IEnumTravelLogEntry_Release(This) (This)->lpVtbl->Release(This)
    123 #define IEnumTravelLogEntry_Next(This,cElt,rgElt,pcEltFetched) (This)->lpVtbl->Next(This,cElt,rgElt,pcEltFetched)
    124 #define IEnumTravelLogEntry_Skip(This,cElt) (This)->lpVtbl->Skip(This,cElt)
    125 #define IEnumTravelLogEntry_Reset(This) (This)->lpVtbl->Reset(This)
    126 #define IEnumTravelLogEntry_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum)
    127 #endif
    128 #endif
    129   HRESULT WINAPI IEnumTravelLogEntry_Next_Proxy(IEnumTravelLogEntry *This,ULONG cElt,ITravelLogEntry **rgElt,ULONG *pcEltFetched);
    130   void __RPC_STUB IEnumTravelLogEntry_Next_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    131   HRESULT WINAPI IEnumTravelLogEntry_Skip_Proxy(IEnumTravelLogEntry *This,ULONG cElt);
    132   void __RPC_STUB IEnumTravelLogEntry_Skip_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    133   HRESULT WINAPI IEnumTravelLogEntry_Reset_Proxy(IEnumTravelLogEntry *This);
    134   void __RPC_STUB IEnumTravelLogEntry_Reset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    135   HRESULT WINAPI IEnumTravelLogEntry_Clone_Proxy(IEnumTravelLogEntry *This,IEnumTravelLogEntry **ppEnum);
    136   void __RPC_STUB IEnumTravelLogEntry_Clone_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    137 #endif
    138 
    139 #ifndef __ITravelLogStg_INTERFACE_DEFINED__
    140 #define __ITravelLogStg_INTERFACE_DEFINED__
    141   enum __MIDL_ITravelLogStg_0001 {
    142     TLEF_RELATIVE_INCLUDE_CURRENT = 0x1,TLEF_RELATIVE_BACK = 0x10,TLEF_RELATIVE_FORE = 0x20,TLEF_INCLUDE_UNINVOKEABLE = 0x40,TLEF_ABSOLUTE = 0x31
    143   };
    144   typedef DWORD TLENUMF;
    145 
    146   EXTERN_C const IID IID_ITravelLogStg;
    147 #if defined(__cplusplus) && !defined(CINTERFACE)
    148   struct ITravelLogStg : public IUnknown {
    149   public:
    150     virtual HRESULT WINAPI CreateEntry(LPCOLESTR pszUrl,LPCOLESTR pszTitle,ITravelLogEntry *ptleRelativeTo,WINBOOL fPrepend,ITravelLogEntry **pptle) = 0;
    151     virtual HRESULT WINAPI TravelTo(ITravelLogEntry *ptle) = 0;
    152     virtual HRESULT WINAPI EnumEntries(TLENUMF flags,IEnumTravelLogEntry **ppenum) = 0;
    153     virtual HRESULT WINAPI FindEntries(TLENUMF flags,LPCOLESTR pszUrl,IEnumTravelLogEntry **ppenum) = 0;
    154     virtual HRESULT WINAPI GetCount(TLENUMF flags,DWORD *pcEntries) = 0;
    155     virtual HRESULT WINAPI RemoveEntry(ITravelLogEntry *ptle) = 0;
    156     virtual HRESULT WINAPI GetRelativeEntry(int iOffset,ITravelLogEntry **ptle) = 0;
    157   };
    158 #else
    159   typedef struct ITravelLogStgVtbl {
    160     BEGIN_INTERFACE
    161       HRESULT (WINAPI *QueryInterface)(ITravelLogStg *This,REFIID riid,void **ppvObject);
    162       ULONG (WINAPI *AddRef)(ITravelLogStg *This);
    163       ULONG (WINAPI *Release)(ITravelLogStg *This);
    164       HRESULT (WINAPI *CreateEntry)(ITravelLogStg *This,LPCOLESTR pszUrl,LPCOLESTR pszTitle,ITravelLogEntry *ptleRelativeTo,WINBOOL fPrepend,ITravelLogEntry **pptle);
    165       HRESULT (WINAPI *TravelTo)(ITravelLogStg *This,ITravelLogEntry *ptle);
    166       HRESULT (WINAPI *EnumEntries)(ITravelLogStg *This,TLENUMF flags,IEnumTravelLogEntry **ppenum);
    167       HRESULT (WINAPI *FindEntries)(ITravelLogStg *This,TLENUMF flags,LPCOLESTR pszUrl,IEnumTravelLogEntry **ppenum);
    168       HRESULT (WINAPI *GetCount)(ITravelLogStg *This,TLENUMF flags,DWORD *pcEntries);
    169       HRESULT (WINAPI *RemoveEntry)(ITravelLogStg *This,ITravelLogEntry *ptle);
    170       HRESULT (WINAPI *GetRelativeEntry)(ITravelLogStg *This,int iOffset,ITravelLogEntry **ptle);
    171     END_INTERFACE
    172   } ITravelLogStgVtbl;
    173   struct ITravelLogStg {
    174     CONST_VTBL struct ITravelLogStgVtbl *lpVtbl;
    175   };
    176 #ifdef COBJMACROS
    177 #define ITravelLogStg_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    178 #define ITravelLogStg_AddRef(This) (This)->lpVtbl->AddRef(This)
    179 #define ITravelLogStg_Release(This) (This)->lpVtbl->Release(This)
    180 #define ITravelLogStg_CreateEntry(This,pszUrl,pszTitle,ptleRelativeTo,fPrepend,pptle) (This)->lpVtbl->CreateEntry(This,pszUrl,pszTitle,ptleRelativeTo,fPrepend,pptle)
    181 #define ITravelLogStg_TravelTo(This,ptle) (This)->lpVtbl->TravelTo(This,ptle)
    182 #define ITravelLogStg_EnumEntries(This,flags,ppenum) (This)->lpVtbl->EnumEntries(This,flags,ppenum)
    183 #define ITravelLogStg_FindEntries(This,flags,pszUrl,ppenum) (This)->lpVtbl->FindEntries(This,flags,pszUrl,ppenum)
    184 #define ITravelLogStg_GetCount(This,flags,pcEntries) (This)->lpVtbl->GetCount(This,flags,pcEntries)
    185 #define ITravelLogStg_RemoveEntry(This,ptle) (This)->lpVtbl->RemoveEntry(This,ptle)
    186 #define ITravelLogStg_GetRelativeEntry(This,iOffset,ptle) (This)->lpVtbl->GetRelativeEntry(This,iOffset,ptle)
    187 #endif
    188 #endif
    189   HRESULT WINAPI ITravelLogStg_CreateEntry_Proxy(ITravelLogStg *This,LPCOLESTR pszUrl,LPCOLESTR pszTitle,ITravelLogEntry *ptleRelativeTo,WINBOOL fPrepend,ITravelLogEntry **pptle);
    190   void __RPC_STUB ITravelLogStg_CreateEntry_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    191   HRESULT WINAPI ITravelLogStg_TravelTo_Proxy(ITravelLogStg *This,ITravelLogEntry *ptle);
    192   void __RPC_STUB ITravelLogStg_TravelTo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    193   HRESULT WINAPI ITravelLogStg_EnumEntries_Proxy(ITravelLogStg *This,TLENUMF flags,IEnumTravelLogEntry **ppenum);
    194   void __RPC_STUB ITravelLogStg_EnumEntries_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    195   HRESULT WINAPI ITravelLogStg_FindEntries_Proxy(ITravelLogStg *This,TLENUMF flags,LPCOLESTR pszUrl,IEnumTravelLogEntry **ppenum);
    196   void __RPC_STUB ITravelLogStg_FindEntries_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    197   HRESULT WINAPI ITravelLogStg_GetCount_Proxy(ITravelLogStg *This,TLENUMF flags,DWORD *pcEntries);
    198   void __RPC_STUB ITravelLogStg_GetCount_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    199   HRESULT WINAPI ITravelLogStg_RemoveEntry_Proxy(ITravelLogStg *This,ITravelLogEntry *ptle);
    200   void __RPC_STUB ITravelLogStg_RemoveEntry_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    201   HRESULT WINAPI ITravelLogStg_GetRelativeEntry_Proxy(ITravelLogStg *This,int iOffset,ITravelLogEntry **ptle);
    202   void __RPC_STUB ITravelLogStg_GetRelativeEntry_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    203 #endif
    204 
    205 #ifdef __cplusplus
    206 }
    207 #endif
    208 #endif
    209