misc/libphysfs/lzma/CPP/7zip/IPassword.h
author Wuzzy <Wuzzy2@mail.ru>
Tue, 06 Mar 2018 04:26:51 +0100
changeset 13084 e6b0b3e86c2a
parent 12213 bb5522e88ab2
permissions -rw-r--r--
Update README about the Hedgewars training

// 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