rwdlg.h
来自「并口控制、调试工具」· C头文件 代码 · 共 78 行
H
78 行
// rwDlg.h : header file
//
#if !defined(AFX_RWDLG_H__A380A331_A656_4161_9111_373FF96B3F51__INCLUDED_)
#define AFX_RWDLG_H__A380A331_A656_4161_9111_373FF96B3F51__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CRwDlg dialog
#include "GPIOCTL.h"
#include <winioctl.h>
class CRwDlg : public CDialog
{
// Construction
public:
CRwDlg(CWnd* pParent = NULL); // standard constructor
// The following parameters are used in the IOCTL call
HANDLE hndFile; // Handle to device, obtain from CreateFile
// Number of bytes returned in output buffer
// The following parameters are used in the IOCTL call
// Handle to device, obtain from CreateFile
// Number of bytes returned
// Dialog Data
//{{AFX_DATA(CRwDlg)
enum { IDD = IDD_RW_DIALOG };
ULONG m_port;
BYTE m_value;
int m_bitcount;
double m_t;
int m_bitvalue;
double m_f;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CRwDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CRwDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
virtual void OnOK();
virtual void OnCancel();
afx_msg void Onin();
afx_msg void Onout();
afx_msg void OnButton3();
afx_msg void OnButton4();
afx_msg void OnButton5();
afx_msg void OnButton1();
afx_msg void OnButton2();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_RWDLG_H__A380A331_A656_4161_9111_373FF96B3F51__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?