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.

74 lines
1.6 KiB

  1. /////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 1999 Microsoft Corporation
  4. //
  5. // Module Name:
  6. // DnsRootHints.h
  7. //
  8. // Implementation File:
  9. // DnsRootHints.cpp
  10. //
  11. // Description:
  12. // Definition of the CDnsRootHints 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 CDnsRootHints : CDnsBase
  24. {
  25. public:
  26. CDnsRootHints();
  27. CDnsRootHints(
  28. const WCHAR*,
  29. CWbemServices*);
  30. ~CDnsRootHints();
  31. SCODE EnumInstance(
  32. long lFlags,
  33. IWbemContext * pCtx,
  34. IWbemObjectSink * pHandler);
  35. SCODE GetObject(
  36. CObjPath & ObjectPath,
  37. long lFlags,
  38. IWbemContext * pCtx,
  39. IWbemObjectSink * pHandler
  40. );
  41. SCODE ExecuteMethod(
  42. CObjPath & objPath,
  43. WCHAR * wzMethodName,
  44. long lFlag,
  45. IWbemClassObject * pInArgs,
  46. IWbemObjectSink * pHandler
  47. ) ;
  48. SCODE PutInstance(
  49. IWbemClassObject * pInst ,
  50. long lFlags,
  51. IWbemContext* pCtx ,
  52. IWbemObjectSink * pHandler
  53. );
  54. SCODE DeleteInstance(
  55. CObjPath & ObjectPath,
  56. long lFlags,
  57. IWbemContext * pCtx,
  58. IWbemObjectSink * pResponseHandler
  59. );
  60. static CDnsBase* CreateThis(
  61. const WCHAR * wszName, //class name
  62. CWbemServices * pNamespace, //namespace
  63. const char * szType //str type id
  64. );
  65. };