3ca7b090e93acae0aeae51862c41986285b27c17
[physicsfs] / lzma / CPP / 7zip / IPassword.h
1 // IPassword.h
2
3 #ifndef __IPASSWORD_H
4 #define __IPASSWORD_H
5
6 #include "../Common/MyUnknown.h"
7 #include "../Common/Types.h"
8
9 #include "IDecl.h"
10
11 #define PASSWORD_INTERFACE(i, x) DECL_INTERFACE(i, 5, x)
12
13 PASSWORD_INTERFACE(ICryptoGetTextPassword, 0x10)
14 {
15   STDMETHOD(CryptoGetTextPassword)(BSTR *password) PURE;
16 };
17
18 PASSWORD_INTERFACE(ICryptoGetTextPassword2, 0x11)
19 {
20   STDMETHOD(CryptoGetTextPassword2)(Int32 *passwordIsDefined, BSTR *password) PURE;
21 };
22
23 #endif
24