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.

81 lines
1.6 KiB

  1. /*++
  2. Copyright (c) 2000-2001 Microsoft Corporation
  3. Module Name:
  4. AssocACLACE.h
  5. Abstract:
  6. Definition of:
  7. CAssocACLACE
  8. Author:
  9. Mohit Srivastava 22-Mar-2001
  10. Revision History:
  11. --*/
  12. #ifndef _AssocACLACE_h_
  13. #define _AssocACLACE_h_
  14. #include <windows.h>
  15. #include <ole2.h>
  16. #include <stdio.h>
  17. #include <genlex.h>
  18. #include "sqllex.h"
  19. #include "sql_1ext.h"
  20. #include <opathlex.h>
  21. #include <objpath.h>
  22. #include <wbemprov.h>
  23. #include "WbemServices.h"
  24. #include "AssocBase.h"
  25. #include "adminacl.h"
  26. class CAssocACLACE : public CAssocBase
  27. {
  28. public:
  29. CAssocACLACE(
  30. CWbemServices* i_pNamespace,
  31. IWbemObjectSink* i_pResponseHandler);
  32. //
  33. // IAssocBase
  34. //
  35. void GetInstances(
  36. SQL_LEVEL_1_RPN_EXPRESSION_EXT* i_pExp = NULL);
  37. private:
  38. CMetabase m_metabase;
  39. class CACEEnumOperation_IndicateAllAsAssoc : public CACEEnumOperation_Base
  40. {
  41. public:
  42. CACEEnumOperation_IndicateAllAsAssoc(
  43. CAssocACLACE* i_pAssocACLACE,
  44. const BSTR i_bstrACLObjPath,
  45. ParsedObjectPath* i_pParsedACEObjPath) : m_bstrACLObjPath(i_bstrACLObjPath)
  46. {
  47. m_pAssocACLACE = i_pAssocACLACE;
  48. m_pParsedACEObjPath = i_pParsedACEObjPath;
  49. }
  50. virtual HRESULT Do(
  51. IADsAccessControlEntry* pACE);
  52. virtual eDone Done() { return eDONE_DONT_KNOW; }
  53. private:
  54. CAssocACLACE* m_pAssocACLACE;
  55. const BSTR m_bstrACLObjPath;
  56. ParsedObjectPath* m_pParsedACEObjPath;
  57. };
  58. };
  59. #endif // _AssocACLACE_h_