misc/libphysfs/lzma/CPP/7zip/IPassword.h
author alfadur
Sat, 06 Oct 2018 01:24:27 +0300
changeset 13875 a966b1914792
parent 12218 bb5522e88ab2
permissions -rw-r--r--
Windows 1809 GetUserProfileDirectory failure workaround

// IPassword.h

#ifndef __IPASSWORD_H
#define __IPASSWORD_H

#include "../Common/MyUnknown.h"
#include "../Common/Types.h"

#include "IDecl.h"

#define PASSWORD_INTERFACE(i, x) DECL_INTERFACE(i, 5, x)

PASSWORD_INTERFACE(ICryptoGetTextPassword, 0x10)
{
  STDMETHOD(CryptoGetTextPassword)(BSTR *password) PURE;
};

PASSWORD_INTERFACE(ICryptoGetTextPassword2, 0x11)
{
  STDMETHOD(CryptoGetTextPassword2)(Int32 *passwordIsDefined, BSTR *password) PURE;
};

#endif