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.

75 lines
1.6 KiB

  1. /////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 1999 Microsoft Corporation
  4. //
  5. // Module Name:
  6. // dnszone.h
  7. //
  8. // Implementation File:
  9. // dnszone.cpp
  10. //
  11. // Description:
  12. // Definition of the CDnsZone.
  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 CDnsZone : CDnsBase
  24. {
  25. public:
  26. CDnsZone();
  27. CDnsZone(
  28. const WCHAR*,
  29. CWbemServices*
  30. );
  31. ~CDnsZone();
  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. SCODE PutInstance(
  50. IWbemClassObject * pInst ,
  51. long lFlags,
  52. IWbemContext* pCtx ,
  53. IWbemObjectSink * pHandler
  54. );
  55. SCODE DeleteInstance(
  56. CObjPath & ObjectPath,
  57. long lFlags,
  58. IWbemContext * pCtx,
  59. IWbemObjectSink * pHandler
  60. );
  61. static CDnsBase* CreateThis(
  62. const WCHAR * wszName, //class name
  63. CWbemServices * pNamespace, //namespace
  64. const char * szType //str type id
  65. );
  66. };