| 1 | /*** Autogenerated by WIDL 6.4 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 | /* Headers for imported files */ | 
 
 
 
 
 | 39 |  | 
 
 
 
 
 | 40 | #include <inspectable.h> | 
 
 
 
 
 | 41 | #include <windows.storage.streams.h> | 
 
 
 
 
 | 42 |  | 
 
 
 
 
 | 43 | #ifdef __cplusplus | 
 
 
 
 
 | 44 | extern "C" { | 
 
 
 
 
 | 45 | #endif | 
 
 
 
 
 | 46 |  | 
 
 
 
 
 | 47 | #ifndef ____x_ABI_CWindows_CStorage_CStreams_CIBuffer_FWD_DEFINED__ | 
 
 
 
 
 | 48 | #define ____x_ABI_CWindows_CStorage_CStreams_CIBuffer_FWD_DEFINED__ | 
 
 
 
 
 | 49 | typedef interface __x_ABI_CWindows_CStorage_CStreams_CIBuffer __x_ABI_CWindows_CStorage_CStreams_CIBuffer; | 
 
 
 
 
 | 50 | #ifdef __cplusplus | 
 
 
 
 
 | 51 | #define __x_ABI_CWindows_CStorage_CStreams_CIBuffer ABI::Windows::Storage::Streams::IBuffer | 
 
 
 
 
 | 52 | namespace ABI { | 
 
 
 
 
 | 53 | namespace Windows { | 
 
 
 
 
 | 54 | namespace Storage { | 
 
 
 
 
 | 55 | namespace Streams { | 
 
 
 
 
 | 56 | interface IBuffer; | 
 
 
 
 
 | 57 | } | 
 
 
 
 
 | 58 | } | 
 
 
 
 
 | 59 | } | 
 
 
 
 
 | 60 | } | 
 
 
 
 
 | 61 | #endif /* __cplusplus */ | 
 
 
 
 
 | 62 | #endif | 
 
 
 
 
 | 63 |  | 
 
 
 
 
 | 64 | #ifndef ____x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_FWD_DEFINED__ | 
 
 
 
 
 | 65 | #define ____x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_FWD_DEFINED__ | 
 
 
 
 
 | 66 | typedef interface __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics; | 
 
 
 
 
 | 67 | #ifdef __cplusplus | 
 
 
 
 
 | 68 | #define __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics ABI::Windows::Security::Cryptography::ICryptographicBufferStatics | 
 
 
 
 
 | 69 | namespace ABI { | 
 
 
 
 
 | 70 | namespace Windows { | 
 
 
 
 
 | 71 | namespace Security { | 
 
 
 
 
 | 72 | namespace Cryptography { | 
 
 
 
 
 | 73 | interface ICryptographicBufferStatics; | 
 
 
 
 
 | 74 | } | 
 
 
 
 
 | 75 | } | 
 
 
 
 
 | 76 | } | 
 
 
 
 
 | 77 | } | 
 
 
 
 
 | 78 | #endif /* __cplusplus */ | 
 
 
 
 
 | 79 | #endif | 
 
 
 
 
 | 80 |  | 
 
 
 
 
 | 81 | #ifdef __cplusplus | 
 
 
 
 
 | 82 | } /* extern "C" */ | 
 
 
 
 
 | 83 | namespace ABI { | 
 
 
 
 
 | 84 | namespace Windows { | 
 
 
 
 
 | 85 | namespace Security { | 
 
 
 
 
 | 86 | namespace Cryptography { | 
 
 
 
 
 | 87 | enum BinaryStringEncoding { | 
 
 
 
 
 | 88 | BinaryStringEncoding_Utf8 = 0, | 
 
 
 
 
 | 89 | BinaryStringEncoding_Utf16LE = 1, | 
 
 
 
 
 | 90 | BinaryStringEncoding_Utf16BE = 2 | 
 
 
 
 
 | 91 | }; | 
 
 
 
 
 | 92 | } | 
 
 
 
 
 | 93 | } | 
 
 
 
 
 | 94 | } | 
 
 
 
 
 | 95 | } | 
 
 
 
 
 | 96 | extern "C" { | 
 
 
 
 
 | 97 | #else | 
 
 
 
 
 | 98 | enum __x_ABI_CWindows_CSecurity_CCryptography_CBinaryStringEncoding { | 
 
 
 
 
 | 99 | BinaryStringEncoding_Utf8 = 0, | 
 
 
 
 
 | 100 | BinaryStringEncoding_Utf16LE = 1, | 
 
 
 
 
 | 101 | BinaryStringEncoding_Utf16BE = 2 | 
 
 
 
 
 | 102 | }; | 
 
 
 
 
 | 103 | #ifdef WIDL_using_Windows_Security_Cryptography | 
 
 
 
 
 | 104 | #define BinaryStringEncoding __x_ABI_CWindows_CSecurity_CCryptography_CBinaryStringEncoding | 
 
 
 
 
 | 105 | #endif /* WIDL_using_Windows_Security_Cryptography */ | 
 
 
 
 
 | 106 | #endif | 
 
 
 
 
 | 107 |  | 
 
 
 
 
 | 108 | /***************************************************************************** | 
 
 
 
 
 | 109 | * ICryptographicBufferStatics interface | 
 
 
 
 
 | 110 | */ | 
 
 
 
 
 | 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 *isEqual) = 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 __valueSize, | 
 
 
 
 
 | 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 *__valueSize, | 
 
 
 
 
 | 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 | enum BinaryStringEncoding encoding, | 
 
 
 
 
 | 165 | ABI::Windows::Storage::Streams::IBuffer **buffer) = 0; | 
 
 
 
 
 | 166 |  | 
 
 
 
 
 | 167 | virtual HRESULT STDMETHODCALLTYPE ConvertBinaryToString( | 
 
 
 
 
 | 168 | enum 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 *isEqual); | 
 
 
 
 
 | 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 __valueSize, | 
 
 
 
 
 | 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 *__valueSize, | 
 
 
 
 
 | 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 | enum __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 | enum __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,isEqual) (This)->lpVtbl->Compare(This,object1,object2,isEqual) | 
 
 
 
 
 | 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,__valueSize,value,buffer) (This)->lpVtbl->CreateFromByteArray(This,__valueSize,value,buffer) | 
 
 
 
 
 | 293 | #define __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_CopyToByteArray(This,buffer,__valueSize,value) (This)->lpVtbl->CopyToByteArray(This,buffer,__valueSize,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 FORCEINLINE 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 FORCEINLINE ULONG __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_AddRef(__x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics* This) { | 
 
 
 
 
 | 306 | return This->lpVtbl->AddRef(This); | 
 
 
 
 
 | 307 | } | 
 
 
 
 
 | 308 | static FORCEINLINE 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 FORCEINLINE 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 FORCEINLINE 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 FORCEINLINE 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 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) { | 
 
 
 
 
 | 323 | return This->lpVtbl->Compare(This,object1,object2,isEqual); | 
 
 
 
 
 | 324 | } | 
 
 
 
 
 | 325 | 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) { | 
 
 
 
 
 | 326 | return This->lpVtbl->GenerateRandom(This,length,buffer); | 
 
 
 
 
 | 327 | } | 
 
 
 
 
 | 328 | static FORCEINLINE 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 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) { | 
 
 
 
 
 | 332 | return This->lpVtbl->CreateFromByteArray(This,__valueSize,value,buffer); | 
 
 
 
 
 | 333 | } | 
 
 
 
 
 | 334 | 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) { | 
 
 
 
 
 | 335 | return This->lpVtbl->CopyToByteArray(This,buffer,__valueSize,value); | 
 
 
 
 
 | 336 | } | 
 
 
 
 
 | 337 | 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) { | 
 
 
 
 
 | 338 | return This->lpVtbl->DecodeFromHexString(This,value,buffer); | 
 
 
 
 
 | 339 | } | 
 
 
 
 
 | 340 | 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) { | 
 
 
 
 
 | 341 | return This->lpVtbl->EncodeToHexString(This,buffer,value); | 
 
 
 
 
 | 342 | } | 
 
 
 
 
 | 343 | 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) { | 
 
 
 
 
 | 344 | return This->lpVtbl->DecodeFromBase64String(This,value,buffer); | 
 
 
 
 
 | 345 | } | 
 
 
 
 
 | 346 | 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) { | 
 
 
 
 
 | 347 | return This->lpVtbl->EncodeToBase64String(This,buffer,value); | 
 
 
 
 
 | 348 | } | 
 
 
 
 
 | 349 | 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) { | 
 
 
 
 
 | 350 | return This->lpVtbl->ConvertStringToBinary(This,value,encoding,buffer); | 
 
 
 
 
 | 351 | } | 
 
 
 
 
 | 352 | 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) { | 
 
 
 
 
 | 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 |  | 
 
 
 
 
 | 384 | /* Begin additional prototypes for all interfaces */ | 
 
 
 
 
 | 385 |  | 
 
 
 
 
 | 386 | ULONG           __RPC_USER HSTRING_UserSize     (ULONG *, ULONG, HSTRING *); | 
 
 
 
 
 | 387 | unsigned char * __RPC_USER HSTRING_UserMarshal  (ULONG *, unsigned char *, HSTRING *); | 
 
 
 
 
 | 388 | unsigned char * __RPC_USER HSTRING_UserUnmarshal(ULONG *, unsigned char *, HSTRING *); | 
 
 
 
 
 | 389 | void            __RPC_USER HSTRING_UserFree     (ULONG *, HSTRING *); | 
 
 
 
 
 | 390 |  | 
 
 
 
 
 | 391 | /* End additional prototypes */ | 
 
 
 
 
 | 392 |  | 
 
 
 
 
 | 393 | #ifdef __cplusplus | 
 
 
 
 
 | 394 | } | 
 
 
 
 
 | 395 | #endif | 
 
 
 
 
 | 396 |  | 
 
 
 
 
 | 397 | #endif /* __windows_security_cryptography_h__ */ |