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

📄 face.cpp

📁 使用Java将Word转为Html或txt
💻 CPP
字号:
// Face.cpp : Implementation of CMultiFaceApp and DLL registration.

#include "stdafx.h"
#include "MultiFace.h"
#include "Face.h"

/////////////////////////////////////////////////////////////////////////////
//

STDMETHODIMP Face::InterfaceSupportsErrorInfo(REFIID riid)
{
	static const IID* arr[] = 
	{
		&IID_IFace1,
		&IID_IFace2,
		&IID_IFace3,
	};

	for (int i=0;i<sizeof(arr)/sizeof(arr[0]);i++)
	{
		if (InlineIsEqualGUID(*arr[i],riid))
			return S_OK;
	}
	return S_FALSE;
}

STDMETHODIMP Face::get_Face1Name(BSTR *pVal)
{
	// TODO: Add your implementation code here
	*pVal = name1;
	return S_OK;
}

STDMETHODIMP Face::put_Face1Name(BSTR newVal)
{
	// TODO: Add your implementation code here
	name1 = newVal;
	return S_OK;
}

STDMETHODIMP Face::get_Face2Nam(BSTR *pVal)
{
	// TODO: Add your implementation code here
	*pVal = name2;
	return S_OK;
}

STDMETHODIMP Face::put_Face2Nam(BSTR newVal)
{
	// TODO: Add your implementation code here
	name2 = newVal;
	return S_OK;
}

STDMETHODIMP Face::get_Face3Name(BSTR *pVal)
{
	// TODO: Add your implementation code here
	*pVal = name3;
	return S_OK;
}

STDMETHODIMP Face::put_Face3Name(BSTR newVal)
{
	// TODO: Add your implementation code here
	name3 = newVal;
	return S_OK;
}

⌨️ 快捷键说明

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