⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mytestc.h

📁 【内容简介】 本书由一流的权威撰写
💻 H
字号:
// MyTestC.h: Definition of the CMyTestC class
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_MYTESTC_H__5755F64F_DF1B_4A54_ADFE_08991BDB0B41__INCLUDED_)
#define AFX_MYTESTC_H__5755F64F_DF1B_4A54_ADFE_08991BDB0B41__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "resource.h"       // main symbols

/////////////////////////////////////////////////////////////////////////////
// CMyTestC

class CMyTestC : 
	public IDispatchImpl<IMyTestC, &IID_IMyTestC, &LIBID_TESTCLib>, 
	public ISupportErrorInfo,
	public CComObjectRoot,
	public CComCoClass<CMyTestC,&CLSID_MyTestC>
{
public:
	CMyTestC() {}
BEGIN_COM_MAP(CMyTestC)
	COM_INTERFACE_ENTRY(IDispatch)
	COM_INTERFACE_ENTRY(IMyTestC)
	COM_INTERFACE_ENTRY(ISupportErrorInfo)
END_COM_MAP()
//DECLARE_NOT_AGGREGATABLE(CMyTestC) 
// Remove the comment from the line above if you don't want your object to 
// support aggregation. 

DECLARE_REGISTRY_RESOURCEID(IDR_MyTestC)
// ISupportsErrorInfo
	STDMETHOD(InterfaceSupportsErrorInfo)(REFIID riid);

// IMyTestC
public:
	STDMETHOD(DoIt)(/*[out, retval]*/ BSTR* pbVal);
};

#endif // !defined(AFX_MYTESTC_H__5755F64F_DF1B_4A54_ADFE_08991BDB0B41__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -