Debian Codegraph @

mingw-w64-headers/include/windows.security.cryptography.h

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