home *** CD-ROM | disk | FTP | other *** search
- // Lst44Obj.h : Declaration of the CLst44Object
-
-
- #include "resource.h" // main symbols
-
- /////////////////////////////////////////////////////////////////////////////
- // lst44
-
- //REVIEW -- using pointers to ID's is necessary because some compilers don't like
- //references as template arguments.
-
- class CLst44Object :
- public CComDualImpl<ILst44, &IID_ILst44, &LIBID_LST44Lib>,
- public ISupportErrorInfo,
- public CComObjectBase<&CLSID_Lst44>
- {
- public:
- CLst44Object() {}
- BEGIN_COM_MAP(CLst44Object)
- COM_INTERFACE_ENTRY(IDispatch)
- COM_INTERFACE_ENTRY(ILst44)
- COM_INTERFACE_ENTRY(ISupportErrorInfo)
- END_COM_MAP()
- // Use DECLARE_NOT_AGGREGATABLE(CLst44Object) if you don't want your object
- // to support aggregation
- DECLARE_AGGREGATABLE(CLst44Object)
- // ISupportsErrorInfo
- STDMETHOD(InterfaceSupportsErrorInfo)(REFIID riid);
-
- // ILst44
- public:
- STDMETHOD(GetMachineName)(BSTR *retval);
-
- };
-