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.

67 lines
1.6 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1999
  6. //
  7. // File: aclpage.h
  8. //
  9. //--------------------------------------------------------------------------
  10. #ifndef _ACLPAGE_H
  11. #define _ACLPAGE_H
  12. // aclpage.h : header file
  13. //
  14. ///////////////////////////////////////////////////////////////////////////////
  15. // FORWARD DECLARATIONS
  16. class CISecurityInformationWrapper;
  17. class CPropertyPageHolderBase;
  18. //////////////////////////////////////////////////////////////////////////
  19. // CAclEditorPage
  20. class CAclEditorPage
  21. {
  22. public:
  23. static CAclEditorPage* CreateInstance(LPCTSTR lpszLDAPPath,
  24. CPropertyPageHolderBase* pPageHolder);
  25. static CAclEditorPage* CreateInstanceEx(LPCTSTR lpszLDAPPath,
  26. LPCTSTR lpszServer,
  27. LPCTSTR lpszUsername,
  28. LPCTSTR lpszPassword,
  29. DWORD dwFlags,
  30. CPropertyPageHolderBase* pPageHolder);
  31. ~CAclEditorPage();
  32. HPROPSHEETPAGE CreatePage();
  33. private:
  34. // methods
  35. CAclEditorPage();
  36. void SetHolder(CPropertyPageHolderBase* pPageHolder)
  37. {
  38. ASSERT((pPageHolder != NULL) && (m_pPageHolder == NULL));
  39. m_pPageHolder = pPageHolder;
  40. }
  41. HRESULT Initialize(LPCTSTR lpszLDAPPath);
  42. HRESULT InitializeEx(LPCTSTR lpszLDAPPath,
  43. LPCTSTR lpszServer,
  44. LPCTSTR lpszUsername,
  45. LPCTSTR lpszPassword,
  46. DWORD dwFlags);
  47. // data
  48. CISecurityInformationWrapper* m_pISecInfoWrap;
  49. CPropertyPageHolderBase* m_pPageHolder; // back pointer
  50. friend class CISecurityInformationWrapper;
  51. };
  52. #endif //_ACLPAGE_H