view src/win32/7zip/7z/CPP/7zip/IPassword.h @ 1:f9f4f1b99eed

importing src directory
author Robert McIntyre <rlm@mit.edu>
date Sat, 03 Mar 2012 10:31:27 -0600
parents
children
line wrap: on
line source
1 // IPassword.h
3 #ifndef __IPASSWORD_H
4 #define __IPASSWORD_H
6 #include "../Common/MyUnknown.h"
7 #include "../Common/Types.h"
9 #include "IDecl.h"
11 #define PASSWORD_INTERFACE(i, x) DECL_INTERFACE(i, 5, x)
13 PASSWORD_INTERFACE(ICryptoGetTextPassword, 0x10)
14 {
15 STDMETHOD(CryptoGetTextPassword)(BSTR *password) PURE;
16 };
18 PASSWORD_INTERFACE(ICryptoGetTextPassword2, 0x11)
19 {
20 STDMETHOD(CryptoGetTextPassword2)(Int32 *passwordIsDefined, BSTR *password) PURE;
21 };
23 #endif