This commit is contained in:
Igor Pavlov
2003-12-11 00:00:00 +00:00
committed by Kornel Lesiński
commit 8c1b5c7b7e
982 changed files with 118799 additions and 0 deletions

47
7zip/IPassword.h Executable file
View 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