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. // DnsDomainResourceRecordContainment.h
  7. //
  8. // Implementation File:
  9. // DnsDomainResourceRecordContainment.cpp
  10. //
  11. // Description:
  12. // Definition of the CDnsDomainResourceRecordContainment 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 CDnsDomainResourceRecordContainment : CDnsBase
  24. {
  25. public:
  26. CDnsDomainResourceRecordContainment();
  27. CDnsDomainResourceRecordContainment(
  28. const WCHAR*,
  29. CWbemServices*
  30. );
  31. ~CDnsDomainResourceRecordContainment();
  32. SCODE EnumInstance(
  33. long lFlags,
  34. IWbemContext * pCtx,
  35. IWbemObjectSink * pHandler);
  36. SCODE GetObject(
  37. CObjPath & ObjectPath,
  38. long lFlags,
  39. IWbemContext * pCtx,
  40. IWbemObjectSink * pHandler
  41. );
  42. SCODE ExecuteMethod(
  43. CObjPath & objPath,
  44. WCHAR * wzMethodName,
  45. long lFlag,
  46. IWbemClassObject * pInArgs,
  47. IWbemObjectSink * pHandler
  48. ) ;
  49. static SCODE InstanceFilter(
  50. CDomainNode & ParentDomain,
  51. PVOID pFilter,
  52. CDnsRpcNode * pNode,
  53. IWbemClassObject * pClass,
  54. CWbemInstanceMgr & InstMgr
  55. );
  56. static CDnsBase* CreateThis(
  57. const WCHAR * wszName,
  58. CWbemServices * pNamespace,
  59. const char * szType
  60. );
  61. };