windows.security.cryptography.h 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401
  1. /*** Autogenerated by WIDL 7.7 from include/windows.security.cryptography.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 __windows_security_cryptography_h__
  14. #define __windows_security_cryptography_h__
  15. /* Forward declarations */
  16. #ifndef ____x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_FWD_DEFINED__
  17. #define ____x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_FWD_DEFINED__
  18. typedef interface __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics;
  19. #ifdef __cplusplus
  20. #define __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics ABI::Windows::Security::Cryptography::ICryptographicBufferStatics
  21. namespace ABI {
  22. namespace Windows {
  23. namespace Security {
  24. namespace Cryptography {
  25. interface ICryptographicBufferStatics;
  26. }
  27. }
  28. }
  29. }
  30. #endif /* __cplusplus */
  31. #endif
  32. /* Headers for imported files */
  33. #include <inspectable.h>
  34. #include <windows.storage.streams.h>
  35. #ifdef __cplusplus
  36. extern "C" {
  37. #endif
  38. #ifndef ____x_ABI_CWindows_CStorage_CStreams_CIBuffer_FWD_DEFINED__
  39. #define ____x_ABI_CWindows_CStorage_CStreams_CIBuffer_FWD_DEFINED__
  40. typedef interface __x_ABI_CWindows_CStorage_CStreams_CIBuffer __x_ABI_CWindows_CStorage_CStreams_CIBuffer;
  41. #ifdef __cplusplus
  42. #define __x_ABI_CWindows_CStorage_CStreams_CIBuffer ABI::Windows::Storage::Streams::IBuffer
  43. namespace ABI {
  44. namespace Windows {
  45. namespace Storage {
  46. namespace Streams {
  47. interface IBuffer;
  48. }
  49. }
  50. }
  51. }
  52. #endif /* __cplusplus */
  53. #endif
  54. #ifndef ____x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_FWD_DEFINED__
  55. #define ____x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_FWD_DEFINED__
  56. typedef interface __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics;
  57. #ifdef __cplusplus
  58. #define __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics ABI::Windows::Security::Cryptography::ICryptographicBufferStatics
  59. namespace ABI {
  60. namespace Windows {
  61. namespace Security {
  62. namespace Cryptography {
  63. interface ICryptographicBufferStatics;
  64. }
  65. }
  66. }
  67. }
  68. #endif /* __cplusplus */
  69. #endif
  70. #ifndef __cplusplus
  71. typedef enum __x_ABI_CWindows_CSecurity_CCryptography_CBinaryStringEncoding __x_ABI_CWindows_CSecurity_CCryptography_CBinaryStringEncoding;
  72. #endif /* __cplusplus */
  73. #ifdef __cplusplus
  74. } /* extern "C" */
  75. namespace ABI {
  76. namespace Windows {
  77. namespace Security {
  78. namespace Cryptography {
  79. enum BinaryStringEncoding {
  80. BinaryStringEncoding_Utf8 = 0,
  81. BinaryStringEncoding_Utf16LE = 1,
  82. BinaryStringEncoding_Utf16BE = 2
  83. };
  84. }
  85. }
  86. }
  87. }
  88. extern "C" {
  89. #else
  90. enum __x_ABI_CWindows_CSecurity_CCryptography_CBinaryStringEncoding {
  91. BinaryStringEncoding_Utf8 = 0,
  92. BinaryStringEncoding_Utf16LE = 1,
  93. BinaryStringEncoding_Utf16BE = 2
  94. };
  95. #ifdef WIDL_using_Windows_Security_Cryptography
  96. #define BinaryStringEncoding __x_ABI_CWindows_CSecurity_CCryptography_CBinaryStringEncoding
  97. #endif /* WIDL_using_Windows_Security_Cryptography */
  98. #endif
  99. /*****************************************************************************
  100. * ICryptographicBufferStatics interface
  101. */
  102. #ifndef ____x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_INTERFACE_DEFINED__
  103. #define ____x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_INTERFACE_DEFINED__
  104. DEFINE_GUID(IID___x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics, 0x320b7e22, 0x3cb0, 0x4cdf, 0x86,0x63, 0x1d,0x28,0x91,0x00,0x65,0xeb);
  105. #if defined(__cplusplus) && !defined(CINTERFACE)
  106. } /* extern "C" */
  107. namespace ABI {
  108. namespace Windows {
  109. namespace Security {
  110. namespace Cryptography {
  111. MIDL_INTERFACE("320b7e22-3cb0-4cdf-8663-1d28910065eb")
  112. ICryptographicBufferStatics : public IInspectable
  113. {
  114. virtual HRESULT STDMETHODCALLTYPE Compare(
  115. ABI::Windows::Storage::Streams::IBuffer *object1,
  116. ABI::Windows::Storage::Streams::IBuffer *object2,
  117. boolean *isEqual) = 0;
  118. virtual HRESULT STDMETHODCALLTYPE GenerateRandom(
  119. UINT32 length,
  120. ABI::Windows::Storage::Streams::IBuffer **buffer) = 0;
  121. virtual HRESULT STDMETHODCALLTYPE GenerateRandomNumber(
  122. UINT32 *value) = 0;
  123. virtual HRESULT STDMETHODCALLTYPE CreateFromByteArray(
  124. UINT32 __valueSize,
  125. BYTE *value,
  126. ABI::Windows::Storage::Streams::IBuffer **buffer) = 0;
  127. virtual HRESULT STDMETHODCALLTYPE CopyToByteArray(
  128. ABI::Windows::Storage::Streams::IBuffer *buffer,
  129. UINT32 *__valueSize,
  130. BYTE **value) = 0;
  131. virtual HRESULT STDMETHODCALLTYPE DecodeFromHexString(
  132. HSTRING value,
  133. ABI::Windows::Storage::Streams::IBuffer **buffer) = 0;
  134. virtual HRESULT STDMETHODCALLTYPE EncodeToHexString(
  135. ABI::Windows::Storage::Streams::IBuffer *buffer,
  136. HSTRING *value) = 0;
  137. virtual HRESULT STDMETHODCALLTYPE DecodeFromBase64String(
  138. HSTRING value,
  139. ABI::Windows::Storage::Streams::IBuffer **buffer) = 0;
  140. virtual HRESULT STDMETHODCALLTYPE EncodeToBase64String(
  141. ABI::Windows::Storage::Streams::IBuffer *buffer,
  142. HSTRING *value) = 0;
  143. virtual HRESULT STDMETHODCALLTYPE ConvertStringToBinary(
  144. HSTRING value,
  145. enum BinaryStringEncoding encoding,
  146. ABI::Windows::Storage::Streams::IBuffer **buffer) = 0;
  147. virtual HRESULT STDMETHODCALLTYPE ConvertBinaryToString(
  148. enum BinaryStringEncoding encoding,
  149. ABI::Windows::Storage::Streams::IBuffer *buffer,
  150. HSTRING *value) = 0;
  151. };
  152. }
  153. }
  154. }
  155. }
  156. extern "C" {
  157. #ifdef __CRT_UUID_DECL
  158. __CRT_UUID_DECL(__x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics, 0x320b7e22, 0x3cb0, 0x4cdf, 0x86,0x63, 0x1d,0x28,0x91,0x00,0x65,0xeb)
  159. #endif
  160. #else
  161. typedef struct __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStaticsVtbl {
  162. BEGIN_INTERFACE
  163. /*** IUnknown methods ***/
  164. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  165. __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics *This,
  166. REFIID riid,
  167. void **ppvObject);
  168. ULONG (STDMETHODCALLTYPE *AddRef)(
  169. __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics *This);
  170. ULONG (STDMETHODCALLTYPE *Release)(
  171. __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics *This);
  172. /*** IInspectable methods ***/
  173. HRESULT (STDMETHODCALLTYPE *GetIids)(
  174. __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics *This,
  175. ULONG *iidCount,
  176. IID **iids);
  177. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  178. __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics *This,
  179. HSTRING *className);
  180. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  181. __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics *This,
  182. TrustLevel *trustLevel);
  183. /*** ICryptographicBufferStatics methods ***/
  184. HRESULT (STDMETHODCALLTYPE *Compare)(
  185. __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics *This,
  186. __x_ABI_CWindows_CStorage_CStreams_CIBuffer *object1,
  187. __x_ABI_CWindows_CStorage_CStreams_CIBuffer *object2,
  188. boolean *isEqual);
  189. HRESULT (STDMETHODCALLTYPE *GenerateRandom)(
  190. __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics *This,
  191. UINT32 length,
  192. __x_ABI_CWindows_CStorage_CStreams_CIBuffer **buffer);
  193. HRESULT (STDMETHODCALLTYPE *GenerateRandomNumber)(
  194. __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics *This,
  195. UINT32 *value);
  196. HRESULT (STDMETHODCALLTYPE *CreateFromByteArray)(
  197. __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics *This,
  198. UINT32 __valueSize,
  199. BYTE *value,
  200. __x_ABI_CWindows_CStorage_CStreams_CIBuffer **buffer);
  201. HRESULT (STDMETHODCALLTYPE *CopyToByteArray)(
  202. __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics *This,
  203. __x_ABI_CWindows_CStorage_CStreams_CIBuffer *buffer,
  204. UINT32 *__valueSize,
  205. BYTE **value);
  206. HRESULT (STDMETHODCALLTYPE *DecodeFromHexString)(
  207. __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics *This,
  208. HSTRING value,
  209. __x_ABI_CWindows_CStorage_CStreams_CIBuffer **buffer);
  210. HRESULT (STDMETHODCALLTYPE *EncodeToHexString)(
  211. __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics *This,
  212. __x_ABI_CWindows_CStorage_CStreams_CIBuffer *buffer,
  213. HSTRING *value);
  214. HRESULT (STDMETHODCALLTYPE *DecodeFromBase64String)(
  215. __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics *This,
  216. HSTRING value,
  217. __x_ABI_CWindows_CStorage_CStreams_CIBuffer **buffer);
  218. HRESULT (STDMETHODCALLTYPE *EncodeToBase64String)(
  219. __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics *This,
  220. __x_ABI_CWindows_CStorage_CStreams_CIBuffer *buffer,
  221. HSTRING *value);
  222. HRESULT (STDMETHODCALLTYPE *ConvertStringToBinary)(
  223. __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics *This,
  224. HSTRING value,
  225. enum __x_ABI_CWindows_CSecurity_CCryptography_CBinaryStringEncoding encoding,
  226. __x_ABI_CWindows_CStorage_CStreams_CIBuffer **buffer);
  227. HRESULT (STDMETHODCALLTYPE *ConvertBinaryToString)(
  228. __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics *This,
  229. enum __x_ABI_CWindows_CSecurity_CCryptography_CBinaryStringEncoding encoding,
  230. __x_ABI_CWindows_CStorage_CStreams_CIBuffer *buffer,
  231. HSTRING *value);
  232. END_INTERFACE
  233. } __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStaticsVtbl;
  234. interface __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics {
  235. CONST_VTBL __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStaticsVtbl* lpVtbl;
  236. };
  237. #ifdef COBJMACROS
  238. #ifndef WIDL_C_INLINE_WRAPPERS
  239. /*** IUnknown methods ***/
  240. #define __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  241. #define __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_AddRef(This) (This)->lpVtbl->AddRef(This)
  242. #define __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_Release(This) (This)->lpVtbl->Release(This)
  243. /*** IInspectable methods ***/
  244. #define __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  245. #define __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  246. #define __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  247. /*** ICryptographicBufferStatics methods ***/
  248. #define __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_Compare(This,object1,object2,isEqual) (This)->lpVtbl->Compare(This,object1,object2,isEqual)
  249. #define __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_GenerateRandom(This,length,buffer) (This)->lpVtbl->GenerateRandom(This,length,buffer)
  250. #define __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_GenerateRandomNumber(This,value) (This)->lpVtbl->GenerateRandomNumber(This,value)
  251. #define __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_CreateFromByteArray(This,__valueSize,value,buffer) (This)->lpVtbl->CreateFromByteArray(This,__valueSize,value,buffer)
  252. #define __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_CopyToByteArray(This,buffer,__valueSize,value) (This)->lpVtbl->CopyToByteArray(This,buffer,__valueSize,value)
  253. #define __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_DecodeFromHexString(This,value,buffer) (This)->lpVtbl->DecodeFromHexString(This,value,buffer)
  254. #define __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_EncodeToHexString(This,buffer,value) (This)->lpVtbl->EncodeToHexString(This,buffer,value)
  255. #define __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_DecodeFromBase64String(This,value,buffer) (This)->lpVtbl->DecodeFromBase64String(This,value,buffer)
  256. #define __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_EncodeToBase64String(This,buffer,value) (This)->lpVtbl->EncodeToBase64String(This,buffer,value)
  257. #define __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_ConvertStringToBinary(This,value,encoding,buffer) (This)->lpVtbl->ConvertStringToBinary(This,value,encoding,buffer)
  258. #define __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_ConvertBinaryToString(This,encoding,buffer,value) (This)->lpVtbl->ConvertBinaryToString(This,encoding,buffer,value)
  259. #else
  260. /*** IUnknown methods ***/
  261. static FORCEINLINE HRESULT __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_QueryInterface(__x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics* This,REFIID riid,void **ppvObject) {
  262. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  263. }
  264. static FORCEINLINE ULONG __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_AddRef(__x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics* This) {
  265. return This->lpVtbl->AddRef(This);
  266. }
  267. static FORCEINLINE ULONG __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_Release(__x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics* This) {
  268. return This->lpVtbl->Release(This);
  269. }
  270. /*** IInspectable methods ***/
  271. static FORCEINLINE HRESULT __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_GetIids(__x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics* This,ULONG *iidCount,IID **iids) {
  272. return This->lpVtbl->GetIids(This,iidCount,iids);
  273. }
  274. static FORCEINLINE HRESULT __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_GetRuntimeClassName(__x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics* This,HSTRING *className) {
  275. return This->lpVtbl->GetRuntimeClassName(This,className);
  276. }
  277. static FORCEINLINE HRESULT __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_GetTrustLevel(__x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics* This,TrustLevel *trustLevel) {
  278. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  279. }
  280. /*** ICryptographicBufferStatics methods ***/
  281. static FORCEINLINE HRESULT __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_Compare(__x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics* This,__x_ABI_CWindows_CStorage_CStreams_CIBuffer *object1,__x_ABI_CWindows_CStorage_CStreams_CIBuffer *object2,boolean *isEqual) {
  282. return This->lpVtbl->Compare(This,object1,object2,isEqual);
  283. }
  284. static FORCEINLINE HRESULT __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_GenerateRandom(__x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics* This,UINT32 length,__x_ABI_CWindows_CStorage_CStreams_CIBuffer **buffer) {
  285. return This->lpVtbl->GenerateRandom(This,length,buffer);
  286. }
  287. static FORCEINLINE HRESULT __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_GenerateRandomNumber(__x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics* This,UINT32 *value) {
  288. return This->lpVtbl->GenerateRandomNumber(This,value);
  289. }
  290. static FORCEINLINE HRESULT __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_CreateFromByteArray(__x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics* This,UINT32 __valueSize,BYTE *value,__x_ABI_CWindows_CStorage_CStreams_CIBuffer **buffer) {
  291. return This->lpVtbl->CreateFromByteArray(This,__valueSize,value,buffer);
  292. }
  293. static FORCEINLINE HRESULT __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_CopyToByteArray(__x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics* This,__x_ABI_CWindows_CStorage_CStreams_CIBuffer *buffer,UINT32 *__valueSize,BYTE **value) {
  294. return This->lpVtbl->CopyToByteArray(This,buffer,__valueSize,value);
  295. }
  296. static FORCEINLINE HRESULT __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_DecodeFromHexString(__x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics* This,HSTRING value,__x_ABI_CWindows_CStorage_CStreams_CIBuffer **buffer) {
  297. return This->lpVtbl->DecodeFromHexString(This,value,buffer);
  298. }
  299. static FORCEINLINE HRESULT __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_EncodeToHexString(__x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics* This,__x_ABI_CWindows_CStorage_CStreams_CIBuffer *buffer,HSTRING *value) {
  300. return This->lpVtbl->EncodeToHexString(This,buffer,value);
  301. }
  302. static FORCEINLINE HRESULT __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_DecodeFromBase64String(__x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics* This,HSTRING value,__x_ABI_CWindows_CStorage_CStreams_CIBuffer **buffer) {
  303. return This->lpVtbl->DecodeFromBase64String(This,value,buffer);
  304. }
  305. static FORCEINLINE HRESULT __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_EncodeToBase64String(__x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics* This,__x_ABI_CWindows_CStorage_CStreams_CIBuffer *buffer,HSTRING *value) {
  306. return This->lpVtbl->EncodeToBase64String(This,buffer,value);
  307. }
  308. static FORCEINLINE HRESULT __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_ConvertStringToBinary(__x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics* This,HSTRING value,enum __x_ABI_CWindows_CSecurity_CCryptography_CBinaryStringEncoding encoding,__x_ABI_CWindows_CStorage_CStreams_CIBuffer **buffer) {
  309. return This->lpVtbl->ConvertStringToBinary(This,value,encoding,buffer);
  310. }
  311. static FORCEINLINE HRESULT __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_ConvertBinaryToString(__x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics* This,enum __x_ABI_CWindows_CSecurity_CCryptography_CBinaryStringEncoding encoding,__x_ABI_CWindows_CStorage_CStreams_CIBuffer *buffer,HSTRING *value) {
  312. return This->lpVtbl->ConvertBinaryToString(This,encoding,buffer,value);
  313. }
  314. #endif
  315. #ifdef WIDL_using_Windows_Security_Cryptography
  316. #define IID_ICryptographicBufferStatics IID___x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics
  317. #define ICryptographicBufferStaticsVtbl __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStaticsVtbl
  318. #define ICryptographicBufferStatics __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics
  319. #define ICryptographicBufferStatics_QueryInterface __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_QueryInterface
  320. #define ICryptographicBufferStatics_AddRef __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_AddRef
  321. #define ICryptographicBufferStatics_Release __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_Release
  322. #define ICryptographicBufferStatics_GetIids __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_GetIids
  323. #define ICryptographicBufferStatics_GetRuntimeClassName __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_GetRuntimeClassName
  324. #define ICryptographicBufferStatics_GetTrustLevel __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_GetTrustLevel
  325. #define ICryptographicBufferStatics_Compare __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_Compare
  326. #define ICryptographicBufferStatics_GenerateRandom __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_GenerateRandom
  327. #define ICryptographicBufferStatics_GenerateRandomNumber __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_GenerateRandomNumber
  328. #define ICryptographicBufferStatics_CreateFromByteArray __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_CreateFromByteArray
  329. #define ICryptographicBufferStatics_CopyToByteArray __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_CopyToByteArray
  330. #define ICryptographicBufferStatics_DecodeFromHexString __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_DecodeFromHexString
  331. #define ICryptographicBufferStatics_EncodeToHexString __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_EncodeToHexString
  332. #define ICryptographicBufferStatics_DecodeFromBase64String __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_DecodeFromBase64String
  333. #define ICryptographicBufferStatics_EncodeToBase64String __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_EncodeToBase64String
  334. #define ICryptographicBufferStatics_ConvertStringToBinary __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_ConvertStringToBinary
  335. #define ICryptographicBufferStatics_ConvertBinaryToString __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_ConvertBinaryToString
  336. #endif /* WIDL_using_Windows_Security_Cryptography */
  337. #endif
  338. #endif
  339. #endif /* ____x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_INTERFACE_DEFINED__ */
  340. /* Begin additional prototypes for all interfaces */
  341. ULONG __RPC_USER HSTRING_UserSize (ULONG *, ULONG, HSTRING *);
  342. unsigned char * __RPC_USER HSTRING_UserMarshal (ULONG *, unsigned char *, HSTRING *);
  343. unsigned char * __RPC_USER HSTRING_UserUnmarshal(ULONG *, unsigned char *, HSTRING *);
  344. void __RPC_USER HSTRING_UserFree (ULONG *, HSTRING *);
  345. /* End additional prototypes */
  346. #ifdef __cplusplus
  347. }
  348. #endif
  349. #endif /* __windows_security_cryptography_h__ */