PcxModule.h
上传用户:yatsl7111
上传日期:2007-01-08
资源大小:1433k
文件大小:2k
- // PcxModule.h : main header file for the PCXMODULE DLL
- //
- #if !defined(AFX_PCXMODULE_H__C03B0E55_460A_11D4_8853_C6A14464AE19__INCLUDED_)
- #define AFX_PCXMODULE_H__C03B0E55_460A_11D4_8853_C6A14464AE19__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #ifndef __AFXWIN_H__
- #error include 'stdafx.h' before including this file for PCH
- #endif
- #include "resource.h" // main symbols
- #include "..publicgol_isee.h" // 此文件定义了接口数据包
- /////////////////////////////////////////////////////////////////////////////
- // CPcxModuleApp
- // See PcxModule.cpp for the implementation of this class
- //
- class CPcxModuleApp : public CWinApp
- {
- public:
- CPcxModuleApp();
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CPcxModuleApp)
- //}}AFX_VIRTUAL
- //{{AFX_MSG(CPcxModuleApp)
- // NOTE - the ClassWizard will add and remove member functions here.
- // DO NOT EDIT what you see in these blocks of generated code !
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- // 定义模块版本
- #define MODULE_BUILDID 1
- // 接口函数声明 — 第一层,唯一与外界联系的接口
- int WINAPI AccessPCXModule(INFOSTR *pInfo);
- // 命令解释函数 — 第二层解释函数
- void _fnCMD_GETPROCTYPE(INFOSTR *pInfo);
- void _fnCMD_GETWRITERS(INFOSTR *pInfo);
- void _fnCMD_GETWRITERMESS(INFOSTR *pInfo);
- void _fnCMD_GETBUILDID(INFOSTR *pInfo);
- void _fnCMD_IS_VALID_FILE(INFOSTR *pInfo);
- void _fnCMD_GET_FILE_INFO(INFOSTR *pInfo);
- void _fnCMD_LOAD_FROM_FILE(INFOSTR *pInfo);
- void _fnCMD_SAVE_TO_FILE(INFOSTR *pInfo);
- void _fnCMD_IS_SUPPORT(INFOSTR *pInfo);
- void _fnCMD_RESIZE(INFOSTR *pInfo);
- // 内部执行函数 - 第三层执行函数.....
- void Pcx_IS_VALID_FILE(INFOSTR *pInfo);
- void Pcx_GET_FILE_INFO(INFOSTR *pInfo);
- void Pcx_Load_From_File(INFOSTR *pInfo);
- void Pcx_Save_To_File(INFOSTR *pInfo);
- /*
- void _fnCMD_SAVE_TO_FILE(INFOSTR *pInfo);
- void _fnCMD_RESIZE(INFOSTR *pInfo);
- */
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_PCXMODULE_H__C03B0E55_460A_11D4_8853_C6A14464AE19__INCLUDED_)