Welcome to mirror list, hosted at ThFree Co, Russian Federation.

IPassword.h « 7zip - github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a302b26ce02e5e4fd8973e102bbd3a4fbca80235 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// IPassword.h

#ifndef __IPASSWORD_H
#define __IPASSWORD_H

#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;
};

// {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