Leaked source code of windows server 2003
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.

112 lines
3.0 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation 1996-2001.
  5. //
  6. // File: hidwnd.h
  7. //
  8. // Contents: definition of CHiddenWnd
  9. //
  10. //----------------------------------------------------------------------------
  11. #if !defined(AFX_HIDWND_H__9C4F7D75_B77E_11D1_AB7B_00C04FB6C6FA__INCLUDED_)
  12. #define AFX_HIDWND_H__9C4F7D75_B77E_11D1_AB7B_00C04FB6C6FA__INCLUDED_
  13. #if _MSC_VER >= 1000
  14. #pragma once
  15. #endif // _MSC_VER >= 1000
  16. #pragma warning(push,3)
  17. #include <gpedit.h>
  18. #pragma warning(pop)
  19. class CSnapin;
  20. class CFolder;
  21. class CResult;
  22. class CComponentDataImpl;
  23. typedef struct {
  24. LPDATAOBJECT pDataObject;
  25. LPARAM data;
  26. LPARAM hint;
  27. } UpdateViewData,*PUPDATEVIEWDATA;
  28. /////////////////////////////////////////////////////////////////////////////
  29. // CHiddenWnd window
  30. class CHiddenWnd : public CWnd
  31. {
  32. // Construction
  33. public:
  34. CHiddenWnd();
  35. virtual ~CHiddenWnd();
  36. // Attributes
  37. public:
  38. // Operations
  39. public:
  40. // Overrides
  41. // ClassWizard generated virtual function overrides
  42. //{{AFX_VIRTUAL(CHiddenWnd)
  43. //}}AFX_VIRTUAL
  44. // Implementation
  45. public:
  46. HRESULT UpdateAllViews(LPDATAOBJECT pDO, LPARAM data, LPARAM hint);
  47. HRESULT UpdateItem(LPRESULTDATA pRD,HRESULTITEM hri);
  48. HRESULT RefreshPolicy();
  49. HRESULT ReloadLocation(CFolder *pFolder, CComponentDataImpl *pCDI);
  50. HRESULT LockAnalysisPane(BOOL bLock, BOOL fRemoveAnalDlg = TRUE);
  51. HRESULT SetProfileDescription(CString *strFile, CString *strDescription);
  52. void SetConsole(LPCONSOLE pConsole);
  53. void SetComponentDataImpl(CComponentDataImpl *pCDI) { m_pCDI = pCDI; };
  54. void SetGPTInformation(LPGPEINFORMATION GPTInfo);
  55. void CloseAnalysisPane();
  56. void SelectScopeItem(HSCOPEITEM ID);
  57. HRESULT
  58. UpdateAllViews(
  59. LPDATAOBJECT pDO,
  60. CSnapin *pSnapin,
  61. CFolder *pFolder,
  62. CResult *pResult,
  63. UINT uAction
  64. );
  65. //virtual ~CHiddenWnd();
  66. // Generated message map functions
  67. protected:
  68. //{{AFX_MSG(CHiddenWnd)
  69. // NOTE - the ClassWizard will add and remove member functions here.
  70. //}}AFX_MSG
  71. afx_msg void OnUpdateAllViews( WPARAM, LPARAM);
  72. afx_msg void OnUpdateItem( WPARAM, LPARAM);
  73. afx_msg void OnRefreshPolicy( WPARAM, LPARAM);
  74. afx_msg void OnReloadLocation( WPARAM, LPARAM);
  75. afx_msg void OnLockAnalysisPane( WPARAM, LPARAM);
  76. afx_msg void OnCloseAnalysisPane( WPARAM, LPARAM);
  77. afx_msg void OnSelectScopeItem( WPARAM, LPARAM);
  78. DECLARE_MESSAGE_MAP()
  79. private:
  80. LPCONSOLE m_pConsole;
  81. CComponentDataImpl *m_pCDI;
  82. LPGPEINFORMATION m_GPTInfo;
  83. };
  84. typedef CHiddenWnd *LPNOTIFY;
  85. /////////////////////////////////////////////////////////////////////////////
  86. //{{AFX_INSERT_LOCATION}}
  87. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  88. #endif // !defined(AFX_HIDWND_H__9C4F7D75_B77E_11D1_AB7B_00C04FB6C6FA__INCLUDED_)