work.h
上传用户:weisheen
上传日期:2022-07-09
资源大小:19390k
文件大小:1k
- // work.h: Definition of the work class
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_WORK_H__AA96A6C8_3029_47ED_86CF_22EEEB25FA4D__INCLUDED_)
- #define AFX_WORK_H__AA96A6C8_3029_47ED_86CF_22EEEB25FA4D__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "resource.h" // main symbols
- /////////////////////////////////////////////////////////////////////////////
- // work
- class work :
- public IDispatchImpl<Iwork, &IID_Iwork, &LIBID_EXLib>,
- public ISupportErrorInfo,
- public CComObjectRoot,
- public CComCoClass<work,&CLSID_work>
- {
- public:
- work() {}
- BEGIN_COM_MAP(work)
- COM_INTERFACE_ENTRY(IDispatch)
- COM_INTERFACE_ENTRY(Iwork)
- COM_INTERFACE_ENTRY(ISupportErrorInfo)
- END_COM_MAP()
- //DECLARE_NOT_AGGREGATABLE(work)
- // Remove the comment from the line above if you don't want your object to
- // support aggregation.
- DECLARE_REGISTRY_RESOURCEID(IDR_work)
- // ISupportsErrorInfo
- STDMETHOD(InterfaceSupportsErrorInfo)(REFIID riid);
- // Iwork
- public:
- };
- #endif // !defined(AFX_WORK_H__AA96A6C8_3029_47ED_86CF_22EEEB25FA4D__INCLUDED_)