installdrvDlg.h
上传用户:yjja2008
上传日期:2022-07-25
资源大小:41k
文件大小:2k
- // installdrvDlg.h : header file
- //
- #if !defined(AFX_INSTALLDRVDLG_H__7917AB29_EFEB_4709_9588_DBAE1C65A6BA__INCLUDED_)
- #define AFX_INSTALLDRVDLG_H__7917AB29_EFEB_4709_9588_DBAE1C65A6BA__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "WinSvc.h"
- #define BUF_SIZE 4096
- /////////////////////////////////////////////////////////////////////////////
- // CInstalldrvDlg dialog
- class CInstalldrvDlg : public CDialog
- {
- // Construction
- public:
- CInstalldrvDlg(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CInstalldrvDlg)
- enum { IDD = IDD_INSTALLDRV_DIALOG };
- // NOTE: the ClassWizard will add data members here
- //}}AFX_DATA
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CInstalldrvDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- HICON m_hIcon;
- SC_HANDLE rh;
- SC_HANDLE sh;
- HANDLE hDevice;
- char path[BUF_SIZE];
- long pid;
- char ret[4096];
- DWORD ReBytes;
- // char base[BUF_SIZE];
- // char sername[BUF_SIZE];
- // char disname[BUF_SIZE];
- // Generated message map functions
- //{{AFX_MSG(CInstalldrvDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- virtual void OnOK();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_INSTALLDRVDLG_H__7917AB29_EFEB_4709_9588_DBAE1C65A6BA__INCLUDED_)