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.

69 lines
2.1 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1998.
  5. //
  6. // File: CacheSet.h
  7. //
  8. // Contents: CCacheSettingsDlg header. Allows the setting of file sharing
  9. // caching options.
  10. //
  11. //----------------------------------------------------------------------------
  12. #if !defined(AFX_CACHESET_H__953E618B_D542_11D1_A6E0_00C04FB94F17__INCLUDED_)
  13. #define AFX_CACHESET_H__953E618B_D542_11D1_A6E0_00C04FB94F17__INCLUDED_
  14. #if _MSC_VER >= 1000
  15. #pragma once
  16. #endif // _MSC_VER >= 1000
  17. // CacheSet.h : header file
  18. //
  19. #include "resource.h"
  20. /////////////////////////////////////////////////////////////////////////////
  21. // CCacheSettingsDlg dialog
  22. class CCacheSettingsDlg : public CDialog
  23. {
  24. // Construction
  25. public:
  26. CCacheSettingsDlg(CWnd* pParent,
  27. DWORD& dwFlags);
  28. // Dialog Data
  29. //{{AFX_DATA(CCacheSettingsDlg)
  30. enum { IDD = IDD_SMB_CACHE_SETTINGS };
  31. //}}AFX_DATA
  32. // Overrides
  33. // ClassWizard generated virtual function overrides
  34. //{{AFX_VIRTUAL(CCacheSettingsDlg)
  35. protected:
  36. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  37. //}}AFX_VIRTUAL
  38. // Implementation
  39. protected:
  40. // Generated message map functions
  41. //{{AFX_MSG(CCacheSettingsDlg)
  42. afx_msg void OnCSCNoAuto();
  43. afx_msg void OnCSCAuto();
  44. afx_msg void OnCSCAutoCheck();
  45. afx_msg void OnHelpLink(NMHDR* pNMHDR, LRESULT* pResult);
  46. afx_msg BOOL OnHelp(WPARAM wParam, LPARAM lParam);
  47. afx_msg BOOL OnContextHelp(WPARAM wParam, LPARAM lParam);
  48. virtual BOOL OnInitDialog();
  49. virtual void OnOK();
  50. //}}AFX_MSG
  51. DECLARE_MESSAGE_MAP()
  52. private:
  53. BOOL GetCachedFlag (DWORD dwFlags, DWORD dwFlagToCheck);
  54. VOID SetCachedFlag (DWORD* pdwFlags, DWORD dwNewFlag);
  55. DWORD& m_dwFlags;
  56. };
  57. //{{AFX_INSERT_LOCATION}}
  58. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  59. #endif // !defined(AFX_CACHESET_H__953E618B_D542_11D1_A6E0_00C04FB94F17__INCLUDED_)