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.

70 lines
1.6 KiB

  1. /////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 1999 Microsoft Corporation
  4. //
  5. // Module Name:
  6. // dnsdomanidomaincontainment.h
  7. //
  8. // Implementation File:
  9. // dnsdomanidomaincontainment.cpp
  10. //
  11. // Description:
  12. // Definition of the CDnsDomainDomainContainment class.
  13. //
  14. // Author:
  15. // Henry Wang (Henrywa) March 8, 2000
  16. //
  17. // Notes:
  18. //
  19. /////////////////////////////////////////////////////////////////////////////
  20. #pragma once
  21. #include "dnsbase.h"
  22. class CObjPath;
  23. class CDnsRpcNode;
  24. class CDnsDomainDomainContainment : CDnsBase
  25. {
  26. public:
  27. CDnsDomainDomainContainment();
  28. CDnsDomainDomainContainment(
  29. const WCHAR*,
  30. CWbemServices*
  31. );
  32. ~CDnsDomainDomainContainment();
  33. SCODE EnumInstance(
  34. long lFlags,
  35. IWbemContext * pCtx,
  36. IWbemObjectSink * pHandler);
  37. SCODE GetObject(
  38. CObjPath & ObjectPath,
  39. long lFlags,
  40. IWbemContext * pCtx,
  41. IWbemObjectSink * pHandler
  42. );
  43. SCODE ExecuteMethod(
  44. CObjPath & objPath,
  45. WCHAR * wzMethodName,
  46. long lFlag,
  47. IWbemClassObject * pInArgs,
  48. IWbemObjectSink * pHandler
  49. ) ;
  50. static SCODE InstanceFilter(
  51. CDomainNode & ParentDomain,
  52. PVOID pFilter,
  53. CDnsRpcNode * pNode,
  54. IWbemClassObject * pClass,
  55. CWbemInstanceMgr & InstMgr
  56. );
  57. static CDnsBase* CreateThis(
  58. const WCHAR * wszName,
  59. CWbemServices * pNamespace,
  60. const char * szType
  61. );
  62. };