mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-16 18:11:47 -06:00
3.13
This commit is contained in:
47
7zip/IPassword.h
Executable file
47
7zip/IPassword.h
Executable file
@@ -0,0 +1,47 @@
|
||||
// IPassword.h
|
||||
|
||||
// #pragma once
|
||||
|
||||
#ifndef __IPASSWORD_H
|
||||
#define __IPASSWORD_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;
|
||||
};
|
||||
|
||||
// {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
|
||||
{
|
||||
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
|
||||
{
|
||||
STDMETHOD(CryptoGetTextPassword2)(INT32 *passwordIsDefined, BSTR *password) PURE;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user