// Account.h : Declaration of the CAccount #ifndef __ACCOUNT_H_ #define __ACCOUNT_H_ #include "resource.h" // main symbols ///////////////////////////////////////////////////////////////////////////// // CAccount class ATL_NO_VTABLE CAccount : public CComObjectRootEx, public CComCoClass, public ISupportErrorInfo, public IDispatchImpl { public: CAccount() { } DECLARE_REGISTRY_RESOURCEID(IDR_ACCOUNT) DECLARE_PROTECT_FINAL_CONSTRUCT() BEGIN_COM_MAP(CAccount) COM_INTERFACE_ENTRY(IAccount) COM_INTERFACE_ENTRY(IDispatch) COM_INTERFACE_ENTRY(ISupportErrorInfo) END_COM_MAP() // ISupportsErrorInfo STDMETHOD(InterfaceSupportsErrorInfo)(REFIID riid); // IAccount public: STDMETHOD(Post)(/*[in]*/ long lngAccntNum, /*[in]*/ long lngAmount, /*[out, retval]*/ BSTR* pVal); }; #endif //__ACCOUNT_H_