24 #include "separatista/iban/iban.h" 25 #include "separatista/debug/debug.h" 27 #ifndef SEPARATISTA_CONTROL_IBAN_H 28 #define SEPARATISTA_CONTROL_IBAN_H 32 0x3cdadd67, 0x109c, 0x49b4, 0x9b, 0x1b, 0x5c, 0x10, 0xb7, 0x12, 0x1e, 0xb6);
35 DEFINE_GUID(CLSID_CIBAN,
36 0x2bd7342e, 0xb12d, 0x45b0, 0xa5, 0xd6, 0xad, 0xf1, 0x18, 0x38, 0x61, 0x12);
41 STDMETHOD_(ULONG, AddRef)() PURE;
42 STDMETHOD_(ULONG, Release)() PURE;
43 STDMETHOD(QueryInterface)(REFIID riid,
void** ppvObject) PURE;
44 STDMETHOD(GetTypeInfoCount)(UINT* pctinfo) PURE;
45 STDMETHOD(GetTypeInfo)(UINT iTInfo, LCID lcid, ITypeInfo** ppTInfo) PURE;
46 STDMETHOD(GetIDsOfNames)(REFIID riid, LPOLESTR* rgszNames, UINT cNames, LCID lcid, DISPID* rgDispId) PURE;
47 STDMETHOD(Invoke)(DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS FAR* pDispParams, VARIANT FAR* pVarResult, EXCEPINFO FAR* pExcepInfo,
unsigned int FAR* puArgErr) PURE;
50 STDMETHOD(GetIBAN)(BSTR *pIBAN) PURE;
51 STDMETHOD(SetIBAN)(BSTR iban) PURE;
52 STDMETHOD(Check)(VARIANT_BOOL *pValid) PURE;
55 struct __declspec(uuid("{3CDADD67-109C-49b4-9B1B-5C10B7121EB6}
")) IIBAN; 63 class CIBAN : public SepaControlDispatch<IIBAN> 69 CIBAN(IUnknown *pParent = NULL); 77 STDMETHOD(GetIBAN)(BSTR *pIBAN); 78 STDMETHOD(SetIBAN)(BSTR iban); 79 STDMETHOD(Check)(VARIANT_BOOL *pValid); 84 CIBAN& operator = (Separatista::IBAN *pIBAN); 87 Separatista::IBAN *m_pIBAN; 91 class __declspec(uuid("{2BD7342E-B12D-45b0-A5D6-ADF118386112}
")) CIBAN; 93 #endif // !defined SEPARATISTA_CONTROL_IBAN_H