myfirst.h
上传用户:weisheen
上传日期:2022-07-09
资源大小:19390k
文件大小:1k
- // myfirst.h : Declaration of the Cmyfirst
- #ifndef __MYFIRST_H_
- #define __MYFIRST_H_
- #include "resource.h" // main symbols
- /////////////////////////////////////////////////////////////////////////////
- // Cmyfirst
- class ATL_NO_VTABLE Cmyfirst :
- public CComObjectRootEx<CComSingleThreadModel>,
- public CComCoClass<Cmyfirst, &CLSID_myfirst>,
- public Imyfirst
- {
- public:
- Cmyfirst()
- {
- }
- DECLARE_REGISTRY_RESOURCEID(IDR_MYFIRST)
- DECLARE_PROTECT_FINAL_CONSTRUCT()
- BEGIN_COM_MAP(Cmyfirst)
- COM_INTERFACE_ENTRY(Imyfirst)
- END_COM_MAP()
- // Imyfirst
- public:
- STDMETHOD(sub)(/*[in]*/ int a,/*[in]*/ int b,/*[in]*/ int* c);
- STDMETHOD(add)(/*[in]*/ int a,/*[in]*/ int b,/*[out]*/ int* c);
- };
- #endif //__MYFIRST_H_