Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

92 lines
2.1 KiB

  1. //
  2. // Driver Verifier UI
  3. // Copyright (c) Microsoft Corporation, 1999
  4. //
  5. //
  6. //
  7. // module: SlowDlg.h
  8. // author: DMihai
  9. // created: 11/1/00
  10. //
  11. // Description:
  12. //
  13. #if !defined(AFX_SIGNDLG_H__54E81D3F_0B31_477A_ABA7_E880D1F0F2BC__INCLUDED_)
  14. #define AFX_SIGNDLG_H__54E81D3F_0B31_477A_ABA7_E880D1F0F2BC__INCLUDED_
  15. #if _MSC_VER > 1000
  16. #pragma once
  17. #endif // _MSC_VER > 1000
  18. // SignDlg.h : header file
  19. //
  20. #include "VSetting.h"
  21. #include "ProgCtrl.h"
  22. /////////////////////////////////////////////////////////////////////////////
  23. // CSlowProgressDlg dialog
  24. class CSlowProgressDlg : public CDialog
  25. {
  26. // Construction
  27. public:
  28. CSlowProgressDlg(CWnd* pParent = NULL); // standard constructor
  29. virtual ~CSlowProgressDlg();
  30. public:
  31. VOID KillWorkerThread();
  32. BOOL StartWorkerThread( LPTHREAD_START_ROUTINE pThreadStart,
  33. ULONG uMessageResourceId );
  34. static DWORD WINAPI LoadDriverDataWorkerThread( PVOID p );
  35. static DWORD WINAPI SearchUnsignedDriversWorkerThread( PVOID p );
  36. public:
  37. //
  38. // Data
  39. //
  40. //
  41. // Worker thread handle
  42. //
  43. HANDLE m_hWorkerThread;
  44. //
  45. // Event used to kill our worker thread
  46. //
  47. HANDLE m_hKillThreadEvent;
  48. public:
  49. // Dialog Data
  50. //{{AFX_DATA(CSlowProgressDlg)
  51. enum { IDD = IDD_BUILDING_UNSIGNED_LIST_DIALOG };
  52. CVrfProgressCtrl m_ProgressCtl;
  53. CStatic m_CurrentActionStatic;
  54. //}}AFX_DATA
  55. // Overrides
  56. // ClassWizard generated virtual function overrides
  57. //{{AFX_VIRTUAL(CSlowProgressDlg)
  58. protected:
  59. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  60. //}}AFX_VIRTUAL
  61. // Implementation
  62. protected:
  63. // Generated message map functions
  64. //{{AFX_MSG(CSlowProgressDlg)
  65. afx_msg void OnCancelButton();
  66. afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
  67. afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
  68. //}}AFX_MSG
  69. DECLARE_MESSAGE_MAP()
  70. };
  71. //{{AFX_INSERT_LOCATION}}
  72. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  73. #endif // !defined(AFX_SIGNDLG_H__54E81D3F_0B31_477A_ABA7_E880D1F0F2BC__INCLUDED_)