IRWConvDlg.h
上传用户:yatsl7111
上传日期:2007-01-08
资源大小:1433k
文件大小:2k
源码类别:

图形图象

开发平台:

Visual C++

  1. // IRWConvDlg.h : header file
  2. //
  3. #if !defined(AFX_IRWCONVDLG_H__E2531526_9B7D_11D4_8853_8E29DD707221__INCLUDED_)
  4. #define AFX_IRWCONVDLG_H__E2531526_9B7D_11D4_8853_8E29DD707221__INCLUDED_
  5. #include "..publicgol_isee.h"
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. // DLL接口函数地址
  10. typedef int (WINAPI *IRWP_INTERFACE)(LPINFOSTR);
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CIRWConvDlg dialog
  13. class CIRWConvDlg : public CDialog
  14. {
  15. // Construction
  16. public:
  17. CIRWConvDlg(CWnd* pParent = NULL); // standard constructor
  18. int _GetProcTypeData(LPTSTR pSouStr, LPTSTR pDesStr);
  19. int _CopyFileToIRW(HANDLE hDes, HANDLE hSou);
  20. int _CopyFileToDLL(HANDLE hDes, HANDLE hSou);
  21. int _FillToIrw(HANDLE hDes);
  22. // Dialog Data
  23. //{{AFX_DATA(CIRWConvDlg)
  24. enum { IDD = IDD_IRWCONV_DIALOG };
  25. CButton m_FunReReadImage;
  26. CEdit m_ModuleName;
  27. CButton m_FunSaveImage;
  28. CButton m_FunReadImage;
  29. CButton m_DesFileExist;
  30. CButton m_FillIRW;
  31. CStatic m_ProcTypeNumber;
  32. CStatic m_FileType;
  33. CEdit m_Writer;
  34. CComboBox m_PlugsInType;
  35. CComboBox m_SubVer;
  36. CEdit m_ProcTypeStr;
  37. CComboBox m_Module;
  38. CComboBox m_MajVer;
  39. CEdit m_HaHa;
  40. CStatic m_SouFileName;
  41. CEdit m_EMail;
  42. CButton m_OpenFile;
  43. CStatic m_LogoBmp;
  44. CEdit m_DesFileName;
  45. CButton m_ConvToIRW;
  46. CButton m_ConvToDLL;
  47. CString m_SouFileNameStr;
  48. //}}AFX_DATA
  49. // ClassWizard generated virtual function overrides
  50. //{{AFX_VIRTUAL(CIRWConvDlg)
  51. protected:
  52. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  53. //}}AFX_VIRTUAL
  54. // Implementation
  55. protected:
  56. HICON m_hIcon;
  57. CString m_SouFn;
  58. PLUGSIN m_Info;
  59. int m_State;
  60. // Generated message map functions
  61. //{{AFX_MSG(CIRWConvDlg)
  62. virtual BOOL OnInitDialog();
  63. afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  64. afx_msg void OnPaint();
  65. afx_msg HCURSOR OnQueryDragIcon();
  66. afx_msg void OnOpenFile();
  67. afx_msg void OnConvToDll();
  68. afx_msg void OnConvToIrw();
  69. afx_msg void OnFillIrw();
  70. //}}AFX_MSG
  71. DECLARE_MESSAGE_MAP()
  72. };
  73. //{{AFX_INSERT_LOCATION}}
  74. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  75. #endif // !defined(AFX_IRWCONVDLG_H__E2531526_9B7D_11D4_8853_8E29DD707221__INCLUDED_)