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.

128 lines
5.0 KiB

  1. ========================================================================
  2. CLUSTER ADMINISTRATOR EXTENSION : ClNetRes
  3. ========================================================================
  4. AppWizard has created this Cluster Administrator Extension DLL for you.
  5. This DLL demonstrates the basics of modifying the interface of
  6. Cluster Administrator and is also a starting point for writing your DLL.
  7. This file contains a summary of what you will find in each of the files that
  8. make up your Cluster Administrator Extension DLL.
  9. ClNetResEx.h
  10. This is the main header file for the DLL. It declares the
  11. CClNetResApp class.
  12. ClNetResEx.cpp
  13. This is the main DLL source file. It contains the class CClNetResApp.
  14. It also contains the OLE entry points required of inproc servers.
  15. ClNetResEx.rc
  16. This is a listing of all of the Microsoft Windows resources that the
  17. program uses. It includes the icons, bitmaps, and cursors that are stored
  18. in the RES subdirectory. This file can be directly edited in Microsoft
  19. Developer Studio.
  20. res\ClNetResEx.rc2
  21. This file contains resources that are not edited by Microsoft
  22. Developer Studio. You should place all resources not
  23. editable by the resource editor in this file.
  24. ClNetResEx.def
  25. This file contains information about the DLL that must be
  26. provided to run with Microsoft Windows. It defines parameters
  27. such as the name and description of the DLL. It also exports
  28. functions from the DLL.
  29. ClNetResEx.clw
  30. This file contains information used by ClassWizard to edit existing
  31. classes or add new classes. ClassWizard also uses this file to store
  32. information needed to create and edit message maps and dialog data
  33. maps and to create prototype member functions.
  34. ExtObj.h
  35. This is the header file which defines the classes which implement the
  36. COM interfaces by the Microsoft Windows NT Cluster Administrator program
  37. for adding property pages, wizard pages, or context menu items. It
  38. defines the CExtObject class.
  39. ExtObj.cpp
  40. This is the source file which implements the CExtObject class.
  41. ExtObjID.idl
  42. This the Interface Definition Language source file for defining
  43. the COM object implemented by the extension DLL. This is the object
  44. that will be loaded by the Cluster Administrator program.
  45. RegExt.h
  46. This is the header file which declares the functions used to register
  47. the Cluster Administrator extension DLL with both the cluster and the
  48. client machine.
  49. RegExt.cpp
  50. This is the source file which implements registration for the Cluster
  51. Administrator extension DLL.
  52. /////////////////////////////////////////////////////////////////////////////
  53. Other standard files:
  54. StdAfx.h, StdAfx.cpp
  55. These files are used to build a precompiled header (PCH) file
  56. named ClNetRes.pch and a precompiled types file named StdAfx.obj.
  57. Resource.h
  58. This is the standard header file, which defines new resource IDs.
  59. Microsoft Developer Studio reads and updates this file.
  60. /////////////////////////////////////////////////////////////////////////////
  61. Property page files:
  62. BasePage.h
  63. This is the header file which defines a class which provides base
  64. property page functionality for use by extension property pages. It
  65. defines the CBasePropertyPage class.
  66. BasePage.cpp
  67. This is the source file which implements the CBasePropertyPage class.
  68. BasePage.inl
  69. This is the source file which implements inline functions for the
  70. CBasePropertyPage class.
  71. PropList.h
  72. This is the header file which defines classes for manipulating
  73. cluster property lists. It defines the CClusPropList and CObjectProperty
  74. classes.
  75. PropList.cpp
  76. This is the source file which implements the CClusPropList and
  77. CObjectProperty classes for manipulating cluster property lists.
  78. ResProp.h
  79. This is the header file which defines a property page titled "Parameters"
  80. to add to property sheets for resources for which your extension DLL is
  81. written. It defines the CClNetResParamsPage class.
  82. ResProp.cpp
  83. This is the source file which implements the CClNetResParamsPage class.
  84. /////////////////////////////////////////////////////////////////////////////
  85. Other notes:
  86. To register your extension DLL so that it can be used with the Cluster
  87. Administrator program, use the RegClAdm.exe SDK tool on each machine on
  88. which the Cluster Administrator is to be executed. RegCladm.exe is
  89. located in the BIN sub-directory of your Visual C++ Installation Directory
  90. (typically C:\MSDEV\BIN):
  91. RegClAdm [/cclustername] ClNetResEx.dll
  92. AppWizard uses "TODO:" to indicate parts of the source code you
  93. should add to or customize.
  94. This DLL uses MFC. Because the Enterprise Edition of Microsoft Windows NT
  95. Server includes MFC DLLs from Visual C++ 4.2, you will need to distribute
  96. MFC42U.DLL from the version of Visual C++ that builds your extension DLL.
  97. /////////////////////////////////////////////////////////////////////////////