| /*** Autogenerated by WIDL 11.12 from include/windows.security.cryptography.idl - Do not edit ***/ | |
| #ifdef _WIN32 | |
| #ifndef __REQUIRED_RPCNDR_H_VERSION__ | |
| #define __REQUIRED_RPCNDR_H_VERSION__ 475 | |
| #endif | |
| #include <rpc.h> | |
| #include <rpcndr.h> | |
| #endif | |
| #ifndef COM_NO_WINDOWS_H | |
| #include <windows.h> | |
| #include <ole2.h> | |
| #endif | |
| #ifndef __windows_security_cryptography_h__ | |
| #define __windows_security_cryptography_h__ | |
| /* Forward declarations */ | |
| #ifndef ____x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_FWD_DEFINED__ | |
| #define ____x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_FWD_DEFINED__ | |
| typedef interface __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics; | |
| #ifdef __cplusplus | |
| #define __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics ABI::Windows::Security::Cryptography::ICryptographicBufferStatics | |
| namespace ABI { | |
| namespace Windows { | |
| namespace Security { | |
| namespace Cryptography { | |
| interface ICryptographicBufferStatics; | |
| } | |
| } | |
| } | |
| } | |
| #endif /* __cplusplus */ | |
| #endif | |
| #ifndef ____x_ABI_CWindows_CSecurity_CCryptography_CCryptographicBuffer_FWD_DEFINED__ | |
| #define ____x_ABI_CWindows_CSecurity_CCryptography_CCryptographicBuffer_FWD_DEFINED__ | |
| #ifdef __cplusplus | |
| namespace ABI { | |
| namespace Windows { | |
| namespace Security { | |
| namespace Cryptography { | |
| class CryptographicBuffer; | |
| } | |
| } | |
| } | |
| } | |
| #else | |
| typedef struct __x_ABI_CWindows_CSecurity_CCryptography_CCryptographicBuffer __x_ABI_CWindows_CSecurity_CCryptography_CCryptographicBuffer; | |
| #endif /* defined __cplusplus */ | |
| #endif /* defined ____x_ABI_CWindows_CSecurity_CCryptography_CCryptographicBuffer_FWD_DEFINED__ */ | |
| /* Headers for imported files */ | |
| #include <inspectable.h> | |
| #include <asyncinfo.h> | |
| #include <windowscontracts.h> | |
| #include <windows.foundation.h> | |
| #include <windows.storage.streams.h> | |
| #ifdef __cplusplus | |
| extern "C" { | |
| #endif | |
| #if !defined(WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION) | |
| #define WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION 0xe0000 | |
| #endif // defined(WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION) | |
| #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 | |
| #ifndef ____x_ABI_CWindows_CSecurity_CCryptography_CBinaryStringEncoding_ENUM_DEFINED__ | |
| #define ____x_ABI_CWindows_CSecurity_CCryptography_CBinaryStringEncoding_ENUM_DEFINED__ | |
| #ifdef __cplusplus | |
| } /* extern "C" */ | |
| namespace ABI { | |
| namespace Windows { | |
| namespace Security { | |
| namespace Cryptography { | |
| enum BinaryStringEncoding { | |
| BinaryStringEncoding_Utf8 = 0, | |
| BinaryStringEncoding_Utf16LE = 1, | |
| BinaryStringEncoding_Utf16BE = 2 | |
| }; | |
| } | |
| } | |
| } | |
| } | |
| extern "C" { | |
| #else | |
| enum __x_ABI_CWindows_CSecurity_CCryptography_CBinaryStringEncoding { | |
| BinaryStringEncoding_Utf8 = 0, | |
| BinaryStringEncoding_Utf16LE = 1, | |
| BinaryStringEncoding_Utf16BE = 2 | |
| }; | |
| #ifdef WIDL_using_Windows_Security_Cryptography | |
| #define BinaryStringEncoding __x_ABI_CWindows_CSecurity_CCryptography_CBinaryStringEncoding | |
| #endif /* WIDL_using_Windows_Security_Cryptography */ | |
| #endif | |
| #endif /* ____x_ABI_CWindows_CSecurity_CCryptography_CBinaryStringEncoding_ENUM_DEFINED__ */ | |
| #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */ | |
| #ifndef __cplusplus | |
| typedef enum __x_ABI_CWindows_CSecurity_CCryptography_CBinaryStringEncoding __x_ABI_CWindows_CSecurity_CCryptography_CBinaryStringEncoding; | |
| #endif /* __cplusplus */ | |
| /***************************************************************************** | |
| * ICryptographicBufferStatics interface | |
| */ | |
| #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 | |
| #ifndef ____x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_INTERFACE_DEFINED__ | |
| #define ____x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_INTERFACE_DEFINED__ | |
| DEFINE_GUID(IID___x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics, 0x320b7e22, 0x3cb0, 0x4cdf, 0x86,0x63, 0x1d,0x28,0x91,0x00,0x65,0xeb); | |
| #if defined(__cplusplus) && !defined(CINTERFACE) | |
| } /* extern "C" */ | |
| namespace ABI { | |
| namespace Windows { | |
| namespace Security { | |
| namespace Cryptography { | |
| MIDL_INTERFACE("320b7e22-3cb0-4cdf-8663-1d28910065eb") | |
| ICryptographicBufferStatics : public IInspectable | |
| { | |
| virtual HRESULT STDMETHODCALLTYPE Compare( | |
| ABI::Windows::Storage::Streams::IBuffer *object1, | |
| ABI::Windows::Storage::Streams::IBuffer *object2, | |
| boolean *is_equal) = 0; | |
| virtual HRESULT STDMETHODCALLTYPE GenerateRandom( | |
| UINT32 length, | |
| ABI::Windows::Storage::Streams::IBuffer **buffer) = 0; | |
| virtual HRESULT STDMETHODCALLTYPE GenerateRandomNumber( | |
| UINT32 *value) = 0; | |
| virtual HRESULT STDMETHODCALLTYPE CreateFromByteArray( | |
| UINT32 value_size, | |
| BYTE *value, | |
| ABI::Windows::Storage::Streams::IBuffer **buffer) = 0; | |
| virtual HRESULT STDMETHODCALLTYPE CopyToByteArray( | |
| ABI::Windows::Storage::Streams::IBuffer *buffer, | |
| UINT32 *value_size, | |
| BYTE **value) = 0; | |
| virtual HRESULT STDMETHODCALLTYPE DecodeFromHexString( | |
| HSTRING value, | |
| ABI::Windows::Storage::Streams::IBuffer **buffer) = 0; | |
| virtual HRESULT STDMETHODCALLTYPE EncodeToHexString( | |
| ABI::Windows::Storage::Streams::IBuffer *buffer, | |
| HSTRING *value) = 0; | |
| virtual HRESULT STDMETHODCALLTYPE DecodeFromBase64String( | |
| HSTRING value, | |
| ABI::Windows::Storage::Streams::IBuffer **buffer) = 0; | |
| virtual HRESULT STDMETHODCALLTYPE EncodeToBase64String( | |
| ABI::Windows::Storage::Streams::IBuffer *buffer, | |
| HSTRING *value) = 0; | |
| virtual HRESULT STDMETHODCALLTYPE ConvertStringToBinary( | |
| HSTRING value, | |
| ABI::Windows::Security::Cryptography::BinaryStringEncoding encoding, | |
| ABI::Windows::Storage::Streams::IBuffer **buffer) = 0; | |
| virtual HRESULT STDMETHODCALLTYPE ConvertBinaryToString( | |
| ABI::Windows::Security::Cryptography::BinaryStringEncoding encoding, | |
| ABI::Windows::Storage::Streams::IBuffer *buffer, | |
| HSTRING *value) = 0; | |
| }; | |
| } | |
| } | |
| } | |
| } | |
| extern "C" { | |
| #ifdef __CRT_UUID_DECL | |
| __CRT_UUID_DECL(__x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics, 0x320b7e22, 0x3cb0, 0x4cdf, 0x86,0x63, 0x1d,0x28,0x91,0x00,0x65,0xeb) | |
| #endif | |
| #else | |
| typedef struct __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStaticsVtbl { | |
| BEGIN_INTERFACE | |
| /*** IUnknown methods ***/ | |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( | |
| __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics *This, | |
| REFIID riid, | |
| void **ppvObject); | |
| ULONG (STDMETHODCALLTYPE *AddRef)( | |
| __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics *This); | |
| ULONG (STDMETHODCALLTYPE *Release)( | |
| __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics *This); | |
| /*** IInspectable methods ***/ | |
| HRESULT (STDMETHODCALLTYPE *GetIids)( | |
| __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics *This, | |
| ULONG *iidCount, | |
| IID **iids); | |
| HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)( | |
| __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics *This, | |
| HSTRING *className); | |
| HRESULT (STDMETHODCALLTYPE *GetTrustLevel)( | |
| __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics *This, | |
| TrustLevel *trustLevel); | |
| /*** ICryptographicBufferStatics methods ***/ | |
| HRESULT (STDMETHODCALLTYPE *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); | |
| HRESULT (STDMETHODCALLTYPE *GenerateRandom)( | |
| __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics *This, | |
| UINT32 length, | |
| __x_ABI_CWindows_CStorage_CStreams_CIBuffer **buffer); | |
| HRESULT (STDMETHODCALLTYPE *GenerateRandomNumber)( | |
| __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics *This, | |
| UINT32 *value); | |
| HRESULT (STDMETHODCALLTYPE *CreateFromByteArray)( | |
| __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics *This, | |
| UINT32 value_size, | |
| BYTE *value, | |
| __x_ABI_CWindows_CStorage_CStreams_CIBuffer **buffer); | |
| HRESULT (STDMETHODCALLTYPE *CopyToByteArray)( | |
| __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics *This, | |
| __x_ABI_CWindows_CStorage_CStreams_CIBuffer *buffer, | |
| UINT32 *value_size, | |
| BYTE **value); | |
| HRESULT (STDMETHODCALLTYPE *DecodeFromHexString)( | |
| __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics *This, | |
| HSTRING value, | |
| __x_ABI_CWindows_CStorage_CStreams_CIBuffer **buffer); | |
| HRESULT (STDMETHODCALLTYPE *EncodeToHexString)( | |
| __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics *This, | |
| __x_ABI_CWindows_CStorage_CStreams_CIBuffer *buffer, | |
| HSTRING *value); | |
| HRESULT (STDMETHODCALLTYPE *DecodeFromBase64String)( | |
| __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics *This, | |
| HSTRING value, | |
| __x_ABI_CWindows_CStorage_CStreams_CIBuffer **buffer); | |
| HRESULT (STDMETHODCALLTYPE *EncodeToBase64String)( | |
| __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics *This, | |
| __x_ABI_CWindows_CStorage_CStreams_CIBuffer *buffer, | |
| HSTRING *value); | |
| HRESULT (STDMETHODCALLTYPE *ConvertStringToBinary)( | |
| __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics *This, | |
| HSTRING value, | |
| __x_ABI_CWindows_CSecurity_CCryptography_CBinaryStringEncoding encoding, | |
| __x_ABI_CWindows_CStorage_CStreams_CIBuffer **buffer); | |
| HRESULT (STDMETHODCALLTYPE *ConvertBinaryToString)( | |
| __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics *This, | |
| __x_ABI_CWindows_CSecurity_CCryptography_CBinaryStringEncoding encoding, | |
| __x_ABI_CWindows_CStorage_CStreams_CIBuffer *buffer, | |
| HSTRING *value); | |
| END_INTERFACE | |
| } __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStaticsVtbl; | |
| interface __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics { | |
| CONST_VTBL __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStaticsVtbl* lpVtbl; | |
| }; | |
| #ifdef COBJMACROS | |
| #ifndef WIDL_C_INLINE_WRAPPERS | |
| /*** IUnknown methods ***/ | |
| #define __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) | |
| #define __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_AddRef(This) (This)->lpVtbl->AddRef(This) | |
| #define __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_Release(This) (This)->lpVtbl->Release(This) | |
| /*** IInspectable methods ***/ | |
| #define __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids) | |
| #define __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className) | |
| #define __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel) | |
| /*** ICryptographicBufferStatics methods ***/ | |
| #define __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_Compare(This,object1,object2,is_equal) (This)->lpVtbl->Compare(This,object1,object2,is_equal) | |
| #define __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_GenerateRandom(This,length,buffer) (This)->lpVtbl->GenerateRandom(This,length,buffer) | |
| #define __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_GenerateRandomNumber(This,value) (This)->lpVtbl->GenerateRandomNumber(This,value) | |
| #define __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_CreateFromByteArray(This,value_size,value,buffer) (This)->lpVtbl->CreateFromByteArray(This,value_size,value,buffer) | |
| #define __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_CopyToByteArray(This,buffer,value_size,value) (This)->lpVtbl->CopyToByteArray(This,buffer,value_size,value) | |
| #define __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_DecodeFromHexString(This,value,buffer) (This)->lpVtbl->DecodeFromHexString(This,value,buffer) | |
| #define __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_EncodeToHexString(This,buffer,value) (This)->lpVtbl->EncodeToHexString(This,buffer,value) | |
| #define __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_DecodeFromBase64String(This,value,buffer) (This)->lpVtbl->DecodeFromBase64String(This,value,buffer) | |
| #define __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_EncodeToBase64String(This,buffer,value) (This)->lpVtbl->EncodeToBase64String(This,buffer,value) | |
| #define __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_ConvertStringToBinary(This,value,encoding,buffer) (This)->lpVtbl->ConvertStringToBinary(This,value,encoding,buffer) | |
| #define __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_ConvertBinaryToString(This,encoding,buffer,value) (This)->lpVtbl->ConvertBinaryToString(This,encoding,buffer,value) | |
| #else | |
| /*** IUnknown methods ***/ | |
| static inline HRESULT __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_QueryInterface(__x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics* This,REFIID riid,void **ppvObject) { | |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); | |
| } | |
| static inline ULONG __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_AddRef(__x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics* This) { | |
| return This->lpVtbl->AddRef(This); | |
| } | |
| static inline ULONG __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_Release(__x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics* This) { | |
| return This->lpVtbl->Release(This); | |
| } | |
| /*** IInspectable methods ***/ | |
| static inline HRESULT __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_GetIids(__x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics* This,ULONG *iidCount,IID **iids) { | |
| return This->lpVtbl->GetIids(This,iidCount,iids); | |
| } | |
| static inline HRESULT __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_GetRuntimeClassName(__x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics* This,HSTRING *className) { | |
| return This->lpVtbl->GetRuntimeClassName(This,className); | |
| } | |
| static inline HRESULT __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_GetTrustLevel(__x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics* This,TrustLevel *trustLevel) { | |
| return This->lpVtbl->GetTrustLevel(This,trustLevel); | |
| } | |
| /*** ICryptographicBufferStatics methods ***/ | |
| 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) { | |
| return This->lpVtbl->Compare(This,object1,object2,is_equal); | |
| } | |
| 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) { | |
| return This->lpVtbl->GenerateRandom(This,length,buffer); | |
| } | |
| static inline HRESULT __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_GenerateRandomNumber(__x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics* This,UINT32 *value) { | |
| return This->lpVtbl->GenerateRandomNumber(This,value); | |
| } | |
| 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) { | |
| return This->lpVtbl->CreateFromByteArray(This,value_size,value,buffer); | |
| } | |
| 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) { | |
| return This->lpVtbl->CopyToByteArray(This,buffer,value_size,value); | |
| } | |
| 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) { | |
| return This->lpVtbl->DecodeFromHexString(This,value,buffer); | |
| } | |
| 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) { | |
| return This->lpVtbl->EncodeToHexString(This,buffer,value); | |
| } | |
| 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) { | |
| return This->lpVtbl->DecodeFromBase64String(This,value,buffer); | |
| } | |
| 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) { | |
| return This->lpVtbl->EncodeToBase64String(This,buffer,value); | |
| } | |
| 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) { | |
| return This->lpVtbl->ConvertStringToBinary(This,value,encoding,buffer); | |
| } | |
| 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) { | |
| return This->lpVtbl->ConvertBinaryToString(This,encoding,buffer,value); | |
| } | |
| #endif | |
| #ifdef WIDL_using_Windows_Security_Cryptography | |
| #define IID_ICryptographicBufferStatics IID___x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics | |
| #define ICryptographicBufferStaticsVtbl __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStaticsVtbl | |
| #define ICryptographicBufferStatics __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics | |
| #define ICryptographicBufferStatics_QueryInterface __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_QueryInterface | |
| #define ICryptographicBufferStatics_AddRef __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_AddRef | |
| #define ICryptographicBufferStatics_Release __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_Release | |
| #define ICryptographicBufferStatics_GetIids __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_GetIids | |
| #define ICryptographicBufferStatics_GetRuntimeClassName __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_GetRuntimeClassName | |
| #define ICryptographicBufferStatics_GetTrustLevel __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_GetTrustLevel | |
| #define ICryptographicBufferStatics_Compare __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_Compare | |
| #define ICryptographicBufferStatics_GenerateRandom __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_GenerateRandom | |
| #define ICryptographicBufferStatics_GenerateRandomNumber __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_GenerateRandomNumber | |
| #define ICryptographicBufferStatics_CreateFromByteArray __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_CreateFromByteArray | |
| #define ICryptographicBufferStatics_CopyToByteArray __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_CopyToByteArray | |
| #define ICryptographicBufferStatics_DecodeFromHexString __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_DecodeFromHexString | |
| #define ICryptographicBufferStatics_EncodeToHexString __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_EncodeToHexString | |
| #define ICryptographicBufferStatics_DecodeFromBase64String __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_DecodeFromBase64String | |
| #define ICryptographicBufferStatics_EncodeToBase64String __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_EncodeToBase64String | |
| #define ICryptographicBufferStatics_ConvertStringToBinary __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_ConvertStringToBinary | |
| #define ICryptographicBufferStatics_ConvertBinaryToString __x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_ConvertBinaryToString | |
| #endif /* WIDL_using_Windows_Security_Cryptography */ | |
| #endif | |
| #endif | |
| #endif /* ____x_ABI_CWindows_CSecurity_CCryptography_CICryptographicBufferStatics_INTERFACE_DEFINED__ */ | |
| #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */ | |
| /* | |
| * Class Windows.Security.Cryptography.CryptographicBuffer | |
| */ | |
| #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 | |
| #ifndef RUNTIMECLASS_Windows_Security_Cryptography_CryptographicBuffer_DEFINED | |
| #define RUNTIMECLASS_Windows_Security_Cryptography_CryptographicBuffer_DEFINED | |
| #if !defined(_MSC_VER) && !defined(__MINGW32__) | |
| 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}; | |
| #elif defined(__GNUC__) && !defined(__cplusplus) | |
| const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Security_Cryptography_CryptographicBuffer[] = L"Windows.Security.Cryptography.CryptographicBuffer"; | |
| #else | |
| 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}; | |
| #endif | |
| #endif /* RUNTIMECLASS_Windows_Security_Cryptography_CryptographicBuffer_DEFINED */ | |
| #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */ | |
| /* Begin additional prototypes for all interfaces */ | |
| ULONG __RPC_USER HSTRING_UserSize (ULONG *, ULONG, HSTRING *); | |
| unsigned char * __RPC_USER HSTRING_UserMarshal (ULONG *, unsigned char *, HSTRING *); | |
| unsigned char * __RPC_USER HSTRING_UserUnmarshal(ULONG *, unsigned char *, HSTRING *); | |
| void __RPC_USER HSTRING_UserFree (ULONG *, HSTRING *); | |
| /* End additional prototypes */ | |
| #ifdef __cplusplus | |
| } | |
| #endif | |
| #endif /* __windows_security_cryptography_h__ */ |