FilterTextLib.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:1k
- // FilterTextLib.h: interface for the CFilterTextLib class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_FILTERTEXTLIB_H__A17EADC0_A233_400A_A8F4_86A333698154__INCLUDED_)
- #define AFX_FILTERTEXTLIB_H__A17EADC0_A233_400A_A8F4_86A333698154__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #define FILTERTEXT_STATICLIB //use static lib
- #include "../../FilterText/FilterText.h"
- #ifdef _DEBUG
- #pragma comment(lib, "../../Lib/Debug/FilterText_StaticLib.lib")
- #else
- #pragma comment(lib, "../../Lib/Release/FilterText_StaticLib.lib")
- #endif
- class CFilterTextLib
- {
- public:
- CFilterTextLib();
- virtual ~CFilterTextLib();
- public:
- BOOL Initialize();
- BOOL Uninitialize();
- private:
- /*
- HMODULE m_hFilterText;
- typedef HRESULT (*LPFNCREATETEXTFILTER)(ITextFilter** ppTextFilter);
- LPFNCREATETEXTFILTER m_lpfnCreateTextFilter;
- */
- public:
- HRESULT CreateTextFilter(ITextFilter** ppTextFilter);
- };
- #endif // !defined(AFX_FILTERTEXTLIB_H__A17EADC0_A233_400A_A8F4_86A333698154__INCLUDED_)