diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/win32/7zip/7z/CPP/7zip/IPassword.h	Sat Mar 03 10:31:27 2012 -0600
     1.3 @@ -0,0 +1,24 @@
     1.4 +// IPassword.h
     1.5 +
     1.6 +#ifndef __IPASSWORD_H
     1.7 +#define __IPASSWORD_H
     1.8 +
     1.9 +#include "../Common/MyUnknown.h"
    1.10 +#include "../Common/Types.h"
    1.11 +
    1.12 +#include "IDecl.h"
    1.13 +
    1.14 +#define PASSWORD_INTERFACE(i, x) DECL_INTERFACE(i, 5, x)
    1.15 +
    1.16 +PASSWORD_INTERFACE(ICryptoGetTextPassword, 0x10)
    1.17 +{
    1.18 +  STDMETHOD(CryptoGetTextPassword)(BSTR *password) PURE;
    1.19 +};
    1.20 +
    1.21 +PASSWORD_INTERFACE(ICryptoGetTextPassword2, 0x11)
    1.22 +{
    1.23 +  STDMETHOD(CryptoGetTextPassword2)(Int32 *passwordIsDefined, BSTR *password) PURE;
    1.24 +};
    1.25 +
    1.26 +#endif
    1.27 +