bits2_5.h (10712B) - Raw
1 /*** Autogenerated by WIDL 10.4 from include/bits2_5.idl - Do not edit ***/ 2 3 #ifdef _WIN32 4 #ifndef __REQUIRED_RPCNDR_H_VERSION__ 5 #define __REQUIRED_RPCNDR_H_VERSION__ 475 6 #endif 7 #include <rpc.h> 8 #include <rpcndr.h> 9 #endif 10 11 #ifndef COM_NO_WINDOWS_H 12 #include <windows.h> 13 #include <ole2.h> 14 #endif 15 16 #ifndef __bits2_5_h__ 17 #define __bits2_5_h__ 18 19 /* Forward declarations */ 20 21 #ifndef __IBackgroundCopyJobHttpOptions_FWD_DEFINED__ 22 #define __IBackgroundCopyJobHttpOptions_FWD_DEFINED__ 23 typedef interface IBackgroundCopyJobHttpOptions IBackgroundCopyJobHttpOptions; 24 #ifdef __cplusplus 25 interface IBackgroundCopyJobHttpOptions; 26 #endif /* __cplusplus */ 27 #endif 28 29 #ifndef __BackgroundCopyManager2_5_FWD_DEFINED__ 30 #define __BackgroundCopyManager2_5_FWD_DEFINED__ 31 #ifdef __cplusplus 32 typedef class BackgroundCopyManager2_5 BackgroundCopyManager2_5; 33 #else 34 typedef struct BackgroundCopyManager2_5 BackgroundCopyManager2_5; 35 #endif /* defined __cplusplus */ 36 #endif /* defined __BackgroundCopyManager2_5_FWD_DEFINED__ */ 37 38 /* Headers for imported files */ 39 40 #include <bits.h> 41 #include <bits1_5.h> 42 #include <bits2_0.h> 43 44 #ifdef __cplusplus 45 extern "C" { 46 #endif 47 48 /***************************************************************************** 49 * IBackgroundCopyJobHttpOptions interface 50 */ 51 #ifndef __IBackgroundCopyJobHttpOptions_INTERFACE_DEFINED__ 52 #define __IBackgroundCopyJobHttpOptions_INTERFACE_DEFINED__ 53 54 typedef enum __WIDL_bits2_5_generated_name_00000016 { 55 BG_CERT_STORE_LOCATION_CURRENT_USER = 0, 56 BG_CERT_STORE_LOCATION_LOCAL_MACHINE = 1, 57 BG_CERT_STORE_LOCATION_CURRENT_SERVICE = 2, 58 BG_CERT_STORE_LOCATION_SERVICES = 3, 59 BG_CERT_STORE_LOCATION_USERS = 4, 60 BG_CERT_STORE_LOCATION_CURRENT_USER_GROUP_POLICY = 5, 61 BG_CERT_STORE_LOCATION_LOCAL_MACHINE_GROUP_POLICY = 6, 62 BG_CERT_STORE_LOCATION_LOCAL_MACHINE_ENTERPRISE = 7 63 } BG_CERT_STORE_LOCATION; 64 DEFINE_GUID(IID_IBackgroundCopyJobHttpOptions, 0xf1bd1079, 0x9f01, 0x4bdc, 0x80,0x36, 0xf0,0x9b,0x70,0x09,0x50,0x66); 65 #if defined(__cplusplus) && !defined(CINTERFACE) 66 MIDL_INTERFACE("f1bd1079-9f01-4bdc-8036-f09b70095066") 67 IBackgroundCopyJobHttpOptions : public IUnknown 68 { 69 virtual HRESULT STDMETHODCALLTYPE SetClientCertificateByID( 70 BG_CERT_STORE_LOCATION StoreLocation, 71 LPCWSTR StoreName, 72 BYTE *pCertHashBlob) = 0; 73 74 virtual HRESULT STDMETHODCALLTYPE SetClientCertificateByName( 75 BG_CERT_STORE_LOCATION StoreLocation, 76 LPCWSTR StoreName, 77 LPCWSTR SubjectName) = 0; 78 79 virtual HRESULT STDMETHODCALLTYPE RemoveClientCertificate( 80 ) = 0; 81 82 virtual HRESULT STDMETHODCALLTYPE GetClientCertificate( 83 BG_CERT_STORE_LOCATION *pStoreLocation, 84 LPWSTR *pStoreName, 85 BYTE **ppCertHashBlob, 86 LPWSTR *pSubjectName) = 0; 87 88 virtual HRESULT STDMETHODCALLTYPE SetCustomHeaders( 89 LPCWSTR RequestHeaders) = 0; 90 91 virtual HRESULT STDMETHODCALLTYPE GetCustomHeaders( 92 LPWSTR *pRequestHeaders) = 0; 93 94 virtual HRESULT STDMETHODCALLTYPE SetSecurityFlags( 95 ULONG Flags) = 0; 96 97 virtual HRESULT STDMETHODCALLTYPE GetSecurityFlags( 98 ULONG *pFlags) = 0; 99 100 }; 101 #ifdef __CRT_UUID_DECL 102 __CRT_UUID_DECL(IBackgroundCopyJobHttpOptions, 0xf1bd1079, 0x9f01, 0x4bdc, 0x80,0x36, 0xf0,0x9b,0x70,0x09,0x50,0x66) 103 #endif 104 #else 105 typedef struct IBackgroundCopyJobHttpOptionsVtbl { 106 BEGIN_INTERFACE 107 108 /*** IUnknown methods ***/ 109 HRESULT (STDMETHODCALLTYPE *QueryInterface)( 110 IBackgroundCopyJobHttpOptions *This, 111 REFIID riid, 112 void **ppvObject); 113 114 ULONG (STDMETHODCALLTYPE *AddRef)( 115 IBackgroundCopyJobHttpOptions *This); 116 117 ULONG (STDMETHODCALLTYPE *Release)( 118 IBackgroundCopyJobHttpOptions *This); 119 120 /*** IBackgroundCopyJobHttpOptions methods ***/ 121 HRESULT (STDMETHODCALLTYPE *SetClientCertificateByID)( 122 IBackgroundCopyJobHttpOptions *This, 123 BG_CERT_STORE_LOCATION StoreLocation, 124 LPCWSTR StoreName, 125 BYTE *pCertHashBlob); 126 127 HRESULT (STDMETHODCALLTYPE *SetClientCertificateByName)( 128 IBackgroundCopyJobHttpOptions *This, 129 BG_CERT_STORE_LOCATION StoreLocation, 130 LPCWSTR StoreName, 131 LPCWSTR SubjectName); 132 133 HRESULT (STDMETHODCALLTYPE *RemoveClientCertificate)( 134 IBackgroundCopyJobHttpOptions *This); 135 136 HRESULT (STDMETHODCALLTYPE *GetClientCertificate)( 137 IBackgroundCopyJobHttpOptions *This, 138 BG_CERT_STORE_LOCATION *pStoreLocation, 139 LPWSTR *pStoreName, 140 BYTE **ppCertHashBlob, 141 LPWSTR *pSubjectName); 142 143 HRESULT (STDMETHODCALLTYPE *SetCustomHeaders)( 144 IBackgroundCopyJobHttpOptions *This, 145 LPCWSTR RequestHeaders); 146 147 HRESULT (STDMETHODCALLTYPE *GetCustomHeaders)( 148 IBackgroundCopyJobHttpOptions *This, 149 LPWSTR *pRequestHeaders); 150 151 HRESULT (STDMETHODCALLTYPE *SetSecurityFlags)( 152 IBackgroundCopyJobHttpOptions *This, 153 ULONG Flags); 154 155 HRESULT (STDMETHODCALLTYPE *GetSecurityFlags)( 156 IBackgroundCopyJobHttpOptions *This, 157 ULONG *pFlags); 158 159 END_INTERFACE 160 } IBackgroundCopyJobHttpOptionsVtbl; 161 162 interface IBackgroundCopyJobHttpOptions { 163 CONST_VTBL IBackgroundCopyJobHttpOptionsVtbl* lpVtbl; 164 }; 165 166 #ifdef COBJMACROS 167 #ifndef WIDL_C_INLINE_WRAPPERS 168 /*** IUnknown methods ***/ 169 #define IBackgroundCopyJobHttpOptions_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 170 #define IBackgroundCopyJobHttpOptions_AddRef(This) (This)->lpVtbl->AddRef(This) 171 #define IBackgroundCopyJobHttpOptions_Release(This) (This)->lpVtbl->Release(This) 172 /*** IBackgroundCopyJobHttpOptions methods ***/ 173 #define IBackgroundCopyJobHttpOptions_SetClientCertificateByID(This,StoreLocation,StoreName,pCertHashBlob) (This)->lpVtbl->SetClientCertificateByID(This,StoreLocation,StoreName,pCertHashBlob) 174 #define IBackgroundCopyJobHttpOptions_SetClientCertificateByName(This,StoreLocation,StoreName,SubjectName) (This)->lpVtbl->SetClientCertificateByName(This,StoreLocation,StoreName,SubjectName) 175 #define IBackgroundCopyJobHttpOptions_RemoveClientCertificate(This) (This)->lpVtbl->RemoveClientCertificate(This) 176 #define IBackgroundCopyJobHttpOptions_GetClientCertificate(This,pStoreLocation,pStoreName,ppCertHashBlob,pSubjectName) (This)->lpVtbl->GetClientCertificate(This,pStoreLocation,pStoreName,ppCertHashBlob,pSubjectName) 177 #define IBackgroundCopyJobHttpOptions_SetCustomHeaders(This,RequestHeaders) (This)->lpVtbl->SetCustomHeaders(This,RequestHeaders) 178 #define IBackgroundCopyJobHttpOptions_GetCustomHeaders(This,pRequestHeaders) (This)->lpVtbl->GetCustomHeaders(This,pRequestHeaders) 179 #define IBackgroundCopyJobHttpOptions_SetSecurityFlags(This,Flags) (This)->lpVtbl->SetSecurityFlags(This,Flags) 180 #define IBackgroundCopyJobHttpOptions_GetSecurityFlags(This,pFlags) (This)->lpVtbl->GetSecurityFlags(This,pFlags) 181 #else 182 /*** IUnknown methods ***/ 183 static inline HRESULT IBackgroundCopyJobHttpOptions_QueryInterface(IBackgroundCopyJobHttpOptions* This,REFIID riid,void **ppvObject) { 184 return This->lpVtbl->QueryInterface(This,riid,ppvObject); 185 } 186 static inline ULONG IBackgroundCopyJobHttpOptions_AddRef(IBackgroundCopyJobHttpOptions* This) { 187 return This->lpVtbl->AddRef(This); 188 } 189 static inline ULONG IBackgroundCopyJobHttpOptions_Release(IBackgroundCopyJobHttpOptions* This) { 190 return This->lpVtbl->Release(This); 191 } 192 /*** IBackgroundCopyJobHttpOptions methods ***/ 193 static inline HRESULT IBackgroundCopyJobHttpOptions_SetClientCertificateByID(IBackgroundCopyJobHttpOptions* This,BG_CERT_STORE_LOCATION StoreLocation,LPCWSTR StoreName,BYTE *pCertHashBlob) { 194 return This->lpVtbl->SetClientCertificateByID(This,StoreLocation,StoreName,pCertHashBlob); 195 } 196 static inline HRESULT IBackgroundCopyJobHttpOptions_SetClientCertificateByName(IBackgroundCopyJobHttpOptions* This,BG_CERT_STORE_LOCATION StoreLocation,LPCWSTR StoreName,LPCWSTR SubjectName) { 197 return This->lpVtbl->SetClientCertificateByName(This,StoreLocation,StoreName,SubjectName); 198 } 199 static inline HRESULT IBackgroundCopyJobHttpOptions_RemoveClientCertificate(IBackgroundCopyJobHttpOptions* This) { 200 return This->lpVtbl->RemoveClientCertificate(This); 201 } 202 static inline HRESULT IBackgroundCopyJobHttpOptions_GetClientCertificate(IBackgroundCopyJobHttpOptions* This,BG_CERT_STORE_LOCATION *pStoreLocation,LPWSTR *pStoreName,BYTE **ppCertHashBlob,LPWSTR *pSubjectName) { 203 return This->lpVtbl->GetClientCertificate(This,pStoreLocation,pStoreName,ppCertHashBlob,pSubjectName); 204 } 205 static inline HRESULT IBackgroundCopyJobHttpOptions_SetCustomHeaders(IBackgroundCopyJobHttpOptions* This,LPCWSTR RequestHeaders) { 206 return This->lpVtbl->SetCustomHeaders(This,RequestHeaders); 207 } 208 static inline HRESULT IBackgroundCopyJobHttpOptions_GetCustomHeaders(IBackgroundCopyJobHttpOptions* This,LPWSTR *pRequestHeaders) { 209 return This->lpVtbl->GetCustomHeaders(This,pRequestHeaders); 210 } 211 static inline HRESULT IBackgroundCopyJobHttpOptions_SetSecurityFlags(IBackgroundCopyJobHttpOptions* This,ULONG Flags) { 212 return This->lpVtbl->SetSecurityFlags(This,Flags); 213 } 214 static inline HRESULT IBackgroundCopyJobHttpOptions_GetSecurityFlags(IBackgroundCopyJobHttpOptions* This,ULONG *pFlags) { 215 return This->lpVtbl->GetSecurityFlags(This,pFlags); 216 } 217 #endif 218 #endif 219 220 #endif 221 222 223 #endif /* __IBackgroundCopyJobHttpOptions_INTERFACE_DEFINED__ */ 224 225 #ifndef __BackgroundCopyManager2_5_LIBRARY_DEFINED__ 226 #define __BackgroundCopyManager2_5_LIBRARY_DEFINED__ 227 228 DEFINE_GUID(LIBID_BackgroundCopyManager2_5, 0x4974177c, 0x3bb6, 0x4c37, 0x9f,0xf0, 0x6b,0x74,0x26,0xf0,0xab,0xa9); 229 230 /***************************************************************************** 231 * BackgroundCopyManager2_5 coclass 232 */ 233 234 DEFINE_GUID(CLSID_BackgroundCopyManager2_5, 0x03ca98d6, 0xff5d, 0x49b8, 0xab,0xc6, 0x03,0xdd,0x84,0x12,0x70,0x20); 235 236 #ifdef __cplusplus 237 class DECLSPEC_UUID("03ca98d6-ff5d-49b8-abc6-03dd84127020") BackgroundCopyManager2_5; 238 #ifdef __CRT_UUID_DECL 239 __CRT_UUID_DECL(BackgroundCopyManager2_5, 0x03ca98d6, 0xff5d, 0x49b8, 0xab,0xc6, 0x03,0xdd,0x84,0x12,0x70,0x20) 240 #endif 241 #endif 242 243 #ifndef __IBackgroundCopyCallback_FWD_DEFINED__ 244 #define __IBackgroundCopyCallback_FWD_DEFINED__ 245 typedef interface IBackgroundCopyCallback IBackgroundCopyCallback; 246 #ifdef __cplusplus 247 interface IBackgroundCopyCallback; 248 #endif /* __cplusplus */ 249 #endif 250 251 #ifndef __IBackgroundCopyJobHttpOptions_FWD_DEFINED__ 252 #define __IBackgroundCopyJobHttpOptions_FWD_DEFINED__ 253 typedef interface IBackgroundCopyJobHttpOptions IBackgroundCopyJobHttpOptions; 254 #ifdef __cplusplus 255 interface IBackgroundCopyJobHttpOptions; 256 #endif /* __cplusplus */ 257 #endif 258 259 #endif /* __BackgroundCopyManager2_5_LIBRARY_DEFINED__ */ 260 #include "bits3_0.h" 261 /* Begin additional prototypes for all interfaces */ 262 263 264 /* End additional prototypes */ 265 266 #ifdef __cplusplus 267 } 268 #endif 269 270 #endif /* __bits2_5_h__ */