// 7300bWavDlg.h : header file // #include "Dask64.h" #ifdef __cplusplus extern "C" { #endif SHORT __stdcall DI_ContMultiBufferReset(USHORT wCardNumber); SHORT __stdcall DO_ContMultiBufferReset(USHORT wCardNumber); #ifdef __cplusplus } #endif #pragma once // C7300bWavDlg dialog class C7300bWavDlg : public CDialog { // Construction public: C7300bWavDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor // Dialog Data enum { IDD = IDD_MY7300bWav_DIALOG }; protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support // Implementation protected: HICON m_hIcon; HANDLE m_hThread; U32 m_dwDISamples; HBRUSH OnBrush; HBRUSH OffBrush; CPen RedPen; CPen GreenPen; DWORD max_val; DWORD min_val; int y_divider; int x_divider; int m_DisplayScale; double m_fSampleRate; // Generated message map functions virtual BOOL OnInitDialog(); afx_msg void OnSysCommand(UINT nID, LPARAM lParam); afx_msg void OnPaint(); afx_msg HCURSOR OnQueryDragIcon(); DECLARE_MESSAGE_MAP() public: afx_msg void OnDestroy(); afx_msg void OnStart(); afx_msg void OnStop(); // afx_msg void OnTimer(UINT_PTR nIDEvent); void display_buffer_data(void); void redraw_display_area(void); afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); private: int n_PlotHeight; int n_PlotWidth; };