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.

37 lines
1.2 KiB

  1. //==============================================================;
  2. //
  3. // This source code is only intended as a supplement to existing Microsoft documentation.
  4. //
  5. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
  6. // KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  7. // IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
  8. // PURPOSE.
  9. //
  10. // Copyright (C) 1999 Microsoft Corporation. All Rights Reserved.
  11. //==============================================================;
  12. #ifndef _NODE1_H
  13. #define _NODE1_H
  14. #include "DeleBase.h"
  15. class CNode1 : public CDelegationBase {
  16. public:
  17. CNode1(int i, const _TCHAR *pszName);
  18. virtual ~CNode1() {}
  19. // virtual functions go here (for MMCN_*)
  20. virtual HRESULT OnShow(IConsole *pConsole, BOOL bShow, HSCOPEITEM scopeitem);
  21. virtual const _TCHAR *GetDisplayName(int nCol = 0);
  22. virtual const GUID & getNodeType() { return thisGuid; }
  23. virtual const int GetBitmapIndex() { return INDEX_SPACEICON; }
  24. virtual HRESULT GetResultViewType(LPOLESTR *ppViewType, long *pViewOptions);
  25. private:
  26. // {28D4F536-BDB5-4bc5-BA88-5375A4996850}
  27. static const GUID thisGuid;
  28. int id;
  29. };
  30. #endif // _NODE1_H