// Password.h : Declaration of the CPassword #ifndef __PASSWORD_H_ #define __PASSWORD_H_ #include "resource.h" // main symbols ///////////////////////////////////////////////////////////////////////////// // CPassword class ATL_NO_VTABLE CPassword : public CComObjectRootEx, public CComCoClass, public IDispatchImpl { public: CPassword() { } DECLARE_REGISTRY_RESOURCEID(IDR_PASSWORD) DECLARE_PROTECT_FINAL_CONSTRUCT() BEGIN_COM_MAP(CPassword) COM_INTERFACE_ENTRY(IPassword) COM_INTERFACE_ENTRY(IDispatch) END_COM_MAP() // IPassword public: STDMETHOD(GetPassword)(/*[out, retval]*/ BSTR *bstrOutPassword); }; #endif //__PASSWORD_H_