mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-11 06:07:12 -06:00
4.27 beta
This commit is contained in:
committed by
Kornel Lesiński
parent
31e7b924e8
commit
d66cf2fcf3
@@ -6,38 +6,18 @@
|
||||
#include "../Common/MyUnknown.h"
|
||||
#include "../Common/Types.h"
|
||||
|
||||
// {23170F69-40C1-278A-0000-000200250000}
|
||||
DEFINE_GUID(IID_ICryptoSetPassword,
|
||||
0x23170F69, 0x40C1, 0x278A, 0x00, 0x00, 0x00, 0x02, 0x00, 0x25, 0x00, 0x00);
|
||||
MIDL_INTERFACE("23170F69-40C1-278A-0000-000200250000")
|
||||
ICryptoSetPassword: public IUnknown
|
||||
{
|
||||
STDMETHOD(CryptoSetPassword)(const Byte *data, UInt32 size) PURE;
|
||||
};
|
||||
// MIDL_INTERFACE("23170F69-40C1-278A-0000-000500xx0000")
|
||||
#define PASSWORD_INTERFACE(i, x) \
|
||||
DEFINE_GUID(IID_ ## i, \
|
||||
0x23170F69, 0x40C1, 0x278A, 0x00, 0x00, 0x00, 0x05, 0x00, x, 0x00, 0x00); \
|
||||
struct i: public IUnknown
|
||||
|
||||
// {23170F69-40C1-278A-0000-000200251000}
|
||||
DEFINE_GUID(IID_ICryptoSetCRC,
|
||||
0x23170F69, 0x40C1, 0x278A, 0x00, 0x00, 0x00, 0x02, 0x00, 0x25, 0x10, 0x00);
|
||||
MIDL_INTERFACE("23170F69-40C1-278A-0000-000200251000")
|
||||
ICryptoSetCRC: public IUnknown
|
||||
{
|
||||
STDMETHOD(CryptoSetCRC)(UInt32 crc) PURE;
|
||||
};
|
||||
|
||||
// {23170F69-40C1-278A-0000-000200270000}
|
||||
DEFINE_GUID(IID_ICryptoGetTextPassword,
|
||||
0x23170F69, 0x40C1, 0x278A, 0x00, 0x00, 0x00, 0x02, 0x00, 0x27, 0x00, 0x00);
|
||||
MIDL_INTERFACE("23170F69-40C1-278A-0000-000200270000")
|
||||
ICryptoGetTextPassword: public IUnknown
|
||||
PASSWORD_INTERFACE(ICryptoGetTextPassword, 0x10)
|
||||
{
|
||||
STDMETHOD(CryptoGetTextPassword)(BSTR *password) PURE;
|
||||
};
|
||||
|
||||
// {23170F69-40C1-278A-0000-000200270200}
|
||||
DEFINE_GUID(IID_ICryptoGetTextPassword2,
|
||||
0x23170F69, 0x40C1, 0x278A, 0x00, 0x00, 0x00, 0x02, 0x00, 0x27, 0x02, 0x00);
|
||||
MIDL_INTERFACE("23170F69-40C1-278A-0000-000200270200")
|
||||
ICryptoGetTextPassword2: public IUnknown
|
||||
PASSWORD_INTERFACE(ICryptoGetTextPassword2, 0x11)
|
||||
{
|
||||
STDMETHOD(CryptoGetTextPassword2)(Int32 *passwordIsDefined, BSTR *password) PURE;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user