IPassword.h 462 B

123456789101112131415161718192021222324
  1. // IPassword.h
  2. #ifndef __IPASSWORD_H
  3. #define __IPASSWORD_H
  4. #include "../Common/MyUnknown.h"
  5. #include "../Common/Types.h"
  6. #include "IDecl.h"
  7. #define PASSWORD_INTERFACE(i, x) DECL_INTERFACE(i, 5, x)
  8. PASSWORD_INTERFACE(ICryptoGetTextPassword, 0x10)
  9. {
  10. STDMETHOD(CryptoGetTextPassword)(BSTR *password) PURE;
  11. };
  12. PASSWORD_INTERFACE(ICryptoGetTextPassword2, 0x11)
  13. {
  14. STDMETHOD(CryptoGetTextPassword2)(Int32 *passwordIsDefined, BSTR *password) PURE;
  15. };
  16. #endif