// MDispMFC.h : main header file for the MDISPMFC application // #ifndef __AFXWIN_H__ #error include 'stdafx.h' before including this file for PCH #endif #include "resource.h" // main symbols // MIL include #include "mil.h" long MFTYPE DisplayErrorExt(long HookType, MIL_ID EventId, void MPTYPE *UserDataPtr); ///////////////////////////////////////////////////////////////////////////// // CMDispMFCApp: // See MDispMFC.cpp for the implementation of this class // class CMDispMFCApp : public CWinApp { public: CMDispMFCApp(); long m_imageSizeX; // Buffer Size X long m_imageSizeY; // Buffer Size Y long m_digitizerSizeX; // Digitizer input width long m_digitizerSizeY; // Digitizer input height long m_digitizerNbBands; // Number of input color bands of the digitizer BOOL m_isGrabStarted; // State of the grab CView* m_pGrabView; // Pointer to the view that has the grab long m_numberOfDigitizer; // Number of digitizers available on the system MIL_ID m_MilApplication; // Application identifier. MIL_ID m_MilSystem; // System identifier. MIL_ID m_MilDigitizer; // Digitizer identifier. long MFTYPE DisplayError(long HookType, MIL_ID EventId, void MPTYPE *UserDataPtr); void HookedOnErrors(bool IsHooked){m_isCurrentlyHookedOnErrors = IsHooked;} private: bool m_isCurrentlyHookedOnErrors; // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CMDispMFCApp) public: virtual BOOL InitInstance(); virtual int ExitInstance(); //}}AFX_VIRTUAL // Implementation //{{AFX_MSG(CMDispMFCApp) afx_msg void OnAppAbout(); // 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() }; /////////////////////////////////////////////////////////////////////////////