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.

47 lines
1.6 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. #include "stdafx.h"
  13. #include "DeleBase.h"
  14. const GUID CDelegationBase::thisGuid = { 0x66f340f8, 0x3733, 0x49b4, {0x8e, 0x48, 0x10, 0x20, 0xe4, 0xdd, 0x86, 0x60} };
  15. /*
  16. HBITMAP CDelegationBase::m_pBMapSm = NULL;
  17. HBITMAP CDelegationBase::m_pBMapLg = NULL;
  18. */
  19. //==============================================================
  20. //
  21. // CDelegationBase implementation
  22. //
  23. //
  24. CDelegationBase::CDelegationBase()
  25. : bExpanded(FALSE)
  26. {
  27. /* if (NULL == m_pBMapSm || NULL == m_pBMapLg)
  28. LoadBitmaps(); */
  29. }
  30. CDelegationBase::~CDelegationBase()
  31. {
  32. }
  33. /*
  34. // CDelegationBase::AddImages sets up the collection of images to be displayed
  35. // by the IComponent in the result pane as a result of its MMCN_SHOW handler
  36. HRESULT CDelegationBase::OnAddImages(IImageList *pImageList, HSCOPEITEM hsi)
  37. {
  38. return pImageList->ImageListSetStrip((long *)m_pBMapSm, // pointer to a handle
  39. (long *)m_pBMapLg, // pointer to a handle
  40. 0, // index of the first image in the strip
  41. RGB(0, 128, 128) // color of the icon mask
  42. );
  43. }
  44. */