bits2_5.h 11 KB

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