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.

78 lines
1.5 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. class CACEEnumOperation_IndicateAllAsAssoc : public CACEEnumOperation_Base
  39. {
  40. public:
  41. CACEEnumOperation_IndicateAllAsAssoc(
  42. CAssocACLACE* i_pAssocACLACE,
  43. const BSTR i_bstrACLObjPath,
  44. ParsedObjectPath* i_pParsedACEObjPath) : m_bstrACLObjPath(i_bstrACLObjPath)
  45. {
  46. m_pAssocACLACE = i_pAssocACLACE;
  47. m_pParsedACEObjPath = i_pParsedACEObjPath;
  48. }
  49. virtual HRESULT Do(
  50. IADsAccessControlEntry* pACE);
  51. virtual eDone Done() { return eDONE_DONT_KNOW; }
  52. private:
  53. CAssocACLACE* m_pAssocACLACE;
  54. const BSTR m_bstrACLObjPath;
  55. ParsedObjectPath* m_pParsedACEObjPath;
  56. };
  57. };
  58. #endif // _AssocACLACE_h_