00001
00002
00003
00004
00005 #ifndef __IPASSWORD_H
00006 #define __IPASSWORD_H
00007
00008 #include "MyUnknown.h"
00009 #include "Types.h"
00010
00011 #define PASSWORD_INTERFACE(i, x) \
00012 DEFINE_GUID(IID_ ## i, \
00013 0x23170F69, 0x40C1, 0x278A, 0x00, 0x00, 0x00, 0x05, 0x00, x, 0x00, 0x00); \
00014 struct i: public IUnknown
00015
00016 PASSWORD_INTERFACE(ICryptoGetTextPassword, 0x10)
00017 {
00018 STDMETHOD(CryptoGetTextPassword)(BSTR *password) PURE;
00019 };
00020
00021 PASSWORD_INTERFACE(ICryptoGetTextPassword2, 0x11)
00022 {
00023 STDMETHOD(CryptoGetTextPassword2)(Int32 *passwordIsDefined, BSTR *password) PURE;
00024 };
00025
00026 #endif
00027