| 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 __bitscfg_h__ |
| 23 |
#define __bitscfg_h__ |
| 24 |
|
| 25 |
#ifndef __IBITSExtensionSetup_FWD_DEFINED__ |
| 26 |
#define __IBITSExtensionSetup_FWD_DEFINED__ |
| 27 |
typedef struct IBITSExtensionSetup IBITSExtensionSetup; |
| 28 |
#endif |
| 29 |
|
| 30 |
#ifndef __IBITSExtensionSetupFactory_FWD_DEFINED__ |
| 31 |
#define __IBITSExtensionSetupFactory_FWD_DEFINED__ |
| 32 |
typedef struct IBITSExtensionSetupFactory IBITSExtensionSetupFactory; |
| 33 |
#endif |
| 34 |
|
| 35 |
#ifndef __BITSExtensionSetupFactory_FWD_DEFINED__ |
| 36 |
#define __BITSExtensionSetupFactory_FWD_DEFINED__ |
| 37 |
#ifdef __cplusplus |
| 38 |
typedef class BITSExtensionSetupFactory BITSExtensionSetupFactory; |
| 39 |
#else |
| 40 |
typedef struct BITSExtensionSetupFactory BITSExtensionSetupFactory; |
| 41 |
#endif |
| 42 |
#endif |
| 43 |
|
| 44 |
#include "oaidl.h" |
| 45 |
#include "ocidl.h" |
| 46 |
#include "mstask.h" |
| 47 |
|
| 48 |
#ifdef __cplusplus |
| 49 |
extern "C"{ |
| 50 |
#endif |
| 51 |
|
| 52 |
#ifndef __MIDL_user_allocate_free_DEFINED__ |
| 53 |
#define __MIDL_user_allocate_free_DEFINED__ |
| 54 |
void *__RPC_API MIDL_user_allocate(size_t); |
| 55 |
void __RPC_API MIDL_user_free(void *); |
| 56 |
#endif |
| 57 |
|
| 58 |
#ifndef __IBITSExtensionSetup_INTERFACE_DEFINED__ |
| 59 |
#define __IBITSExtensionSetup_INTERFACE_DEFINED__ |
| 60 |
|
| 61 |
EXTERN_C const IID IID_IBITSExtensionSetup; |
| 62 |
#if defined(__cplusplus) && !defined(CINTERFACE) |
| 63 |
struct IBITSExtensionSetup : public IDispatch { |
| 64 |
public: |
| 65 |
virtual HRESULT WINAPI EnableBITSUploads(void) = 0; |
| 66 |
virtual HRESULT WINAPI DisableBITSUploads(void) = 0; |
| 67 |
virtual HRESULT WINAPI GetCleanupTaskName(BSTR *pTaskName) = 0; |
| 68 |
virtual HRESULT WINAPI GetCleanupTask(REFIID riid,IUnknown **ppUnk) = 0; |
| 69 |
}; |
| 70 |
#else |
| 71 |
typedef struct IBITSExtensionSetupVtbl { |
| 72 |
BEGIN_INTERFACE |
| 73 |
HRESULT (WINAPI *QueryInterface)(IBITSExtensionSetup *This,REFIID riid,void **ppvObject); |
| 74 |
ULONG (WINAPI *AddRef)(IBITSExtensionSetup *This); |
| 75 |
ULONG (WINAPI *Release)(IBITSExtensionSetup *This); |
| 76 |
HRESULT (WINAPI *GetTypeInfoCount)(IBITSExtensionSetup *This,UINT *pctinfo); |
| 77 |
HRESULT (WINAPI *GetTypeInfo)(IBITSExtensionSetup *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo); |
| 78 |
HRESULT (WINAPI *GetIDsOfNames)(IBITSExtensionSetup *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId); |
| 79 |
HRESULT (WINAPI *Invoke)(IBITSExtensionSetup *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr); |
| 80 |
HRESULT (WINAPI *EnableBITSUploads)(IBITSExtensionSetup *This); |
| 81 |
HRESULT (WINAPI *DisableBITSUploads)(IBITSExtensionSetup *This); |
| 82 |
HRESULT (WINAPI *GetCleanupTaskName)(IBITSExtensionSetup *This,BSTR *pTaskName); |
| 83 |
HRESULT (WINAPI *GetCleanupTask)(IBITSExtensionSetup *This,REFIID riid,IUnknown **ppUnk); |
| 84 |
END_INTERFACE |
| 85 |
} IBITSExtensionSetupVtbl; |
| 86 |
struct IBITSExtensionSetup { |
| 87 |
CONST_VTBL struct IBITSExtensionSetupVtbl *lpVtbl; |
| 88 |
}; |
| 89 |
#ifdef COBJMACROS |
| 90 |
#define IBITSExtensionSetup_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| 91 |
#define IBITSExtensionSetup_AddRef(This) (This)->lpVtbl->AddRef(This) |
| 92 |
#define IBITSExtensionSetup_Release(This) (This)->lpVtbl->Release(This) |
| 93 |
#define IBITSExtensionSetup_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) |
| 94 |
#define IBITSExtensionSetup_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) |
| 95 |
#define IBITSExtensionSetup_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) |
| 96 |
#define IBITSExtensionSetup_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) |
| 97 |
#define IBITSExtensionSetup_EnableBITSUploads(This) (This)->lpVtbl->EnableBITSUploads(This) |
| 98 |
#define IBITSExtensionSetup_DisableBITSUploads(This) (This)->lpVtbl->DisableBITSUploads(This) |
| 99 |
#define IBITSExtensionSetup_GetCleanupTaskName(This,pTaskName) (This)->lpVtbl->GetCleanupTaskName(This,pTaskName) |
| 100 |
#define IBITSExtensionSetup_GetCleanupTask(This,riid,ppUnk) (This)->lpVtbl->GetCleanupTask(This,riid,ppUnk) |
| 101 |
#endif |
| 102 |
#endif |
| 103 |
HRESULT WINAPI IBITSExtensionSetup_EnableBITSUploads_Proxy(IBITSExtensionSetup *This); |
| 104 |
void __RPC_STUB IBITSExtensionSetup_EnableBITSUploads_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); |
| 105 |
HRESULT WINAPI IBITSExtensionSetup_DisableBITSUploads_Proxy(IBITSExtensionSetup *This); |
| 106 |
void __RPC_STUB IBITSExtensionSetup_DisableBITSUploads_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); |
| 107 |
HRESULT WINAPI IBITSExtensionSetup_GetCleanupTaskName_Proxy(IBITSExtensionSetup *This,BSTR *pTaskName); |
| 108 |
void __RPC_STUB IBITSExtensionSetup_GetCleanupTaskName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); |
| 109 |
HRESULT WINAPI IBITSExtensionSetup_GetCleanupTask_Proxy(IBITSExtensionSetup *This,REFIID riid,IUnknown **ppUnk); |
| 110 |
void __RPC_STUB IBITSExtensionSetup_GetCleanupTask_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); |
| 111 |
#endif |
| 112 |
|
| 113 |
#ifndef __IBITSExtensionSetupFactory_INTERFACE_DEFINED__ |
| 114 |
#define __IBITSExtensionSetupFactory_INTERFACE_DEFINED__ |
| 115 |
EXTERN_C const IID IID_IBITSExtensionSetupFactory; |
| 116 |
#if defined(__cplusplus) && !defined(CINTERFACE) |
| 117 |
struct IBITSExtensionSetupFactory : public IDispatch { |
| 118 |
public: |
| 119 |
virtual HRESULT WINAPI GetObject(BSTR Path,IBITSExtensionSetup **ppExtensionSetup) = 0; |
| 120 |
}; |
| 121 |
#else |
| 122 |
typedef struct IBITSExtensionSetupFactoryVtbl { |
| 123 |
BEGIN_INTERFACE |
| 124 |
HRESULT (WINAPI *QueryInterface)(IBITSExtensionSetupFactory *This,REFIID riid,void **ppvObject); |
| 125 |
ULONG (WINAPI *AddRef)(IBITSExtensionSetupFactory *This); |
| 126 |
ULONG (WINAPI *Release)(IBITSExtensionSetupFactory *This); |
| 127 |
HRESULT (WINAPI *GetTypeInfoCount)(IBITSExtensionSetupFactory *This,UINT *pctinfo); |
| 128 |
HRESULT (WINAPI *GetTypeInfo)(IBITSExtensionSetupFactory *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo); |
| 129 |
HRESULT (WINAPI *GetIDsOfNames)(IBITSExtensionSetupFactory *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId); |
| 130 |
HRESULT (WINAPI *Invoke)(IBITSExtensionSetupFactory *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr); |
| 131 |
HRESULT (WINAPI *GetObject)(IBITSExtensionSetupFactory *This,BSTR Path,IBITSExtensionSetup **ppExtensionSetup); |
| 132 |
END_INTERFACE |
| 133 |
} IBITSExtensionSetupFactoryVtbl; |
| 134 |
struct IBITSExtensionSetupFactory { |
| 135 |
CONST_VTBL struct IBITSExtensionSetupFactoryVtbl *lpVtbl; |
| 136 |
}; |
| 137 |
#ifdef COBJMACROS |
| 138 |
#define IBITSExtensionSetupFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| 139 |
#define IBITSExtensionSetupFactory_AddRef(This) (This)->lpVtbl->AddRef(This) |
| 140 |
#define IBITSExtensionSetupFactory_Release(This) (This)->lpVtbl->Release(This) |
| 141 |
#define IBITSExtensionSetupFactory_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) |
| 142 |
#define IBITSExtensionSetupFactory_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) |
| 143 |
#define IBITSExtensionSetupFactory_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) |
| 144 |
#define IBITSExtensionSetupFactory_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) |
| 145 |
#define IBITSExtensionSetupFactory_GetObject(This,Path,ppExtensionSetup) (This)->lpVtbl->GetObject(This,Path,ppExtensionSetup) |
| 146 |
#endif |
| 147 |
#endif |
| 148 |
HRESULT WINAPI IBITSExtensionSetupFactory_GetObject_Proxy(IBITSExtensionSetupFactory *This,BSTR Path,IBITSExtensionSetup **ppExtensionSetup); |
| 149 |
void __RPC_STUB IBITSExtensionSetupFactory_GetObject_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); |
| 150 |
#endif |
| 151 |
|
| 152 |
#ifndef __BITSExtensionSetup_LIBRARY_DEFINED__ |
| 153 |
#define __BITSExtensionSetup_LIBRARY_DEFINED__ |
| 154 |
EXTERN_C const IID LIBID_BITSExtensionSetup; |
| 155 |
EXTERN_C const CLSID CLSID_BITSExtensionSetupFactory; |
| 156 |
#ifdef __cplusplus |
| 157 |
class BITSExtensionSetupFactory; |
| 158 |
#endif |
| 159 |
#endif |
| 160 |
|
| 161 |
ULONG __RPC_API BSTR_UserSize(ULONG *,ULONG,BSTR *); |
| 162 |
unsigned char *__RPC_API BSTR_UserMarshal(ULONG *,unsigned char *,BSTR *); |
| 163 |
unsigned char *__RPC_API BSTR_UserUnmarshal(ULONG *,unsigned char *,BSTR *); |
| 164 |
void __RPC_API BSTR_UserFree(ULONG *,BSTR *); |
| 165 |
|
| 166 |
#ifdef __cplusplus |
| 167 |
} |
| 168 |
#endif |
| 169 |
#endif |