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.

71 lines
2.2 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1997-2001.
  5. //
  6. // File: About.cpp
  7. //
  8. // Contents:
  9. //
  10. //----------------------------------------------------------------------------\
  11. /////////////////////////////////////////////////////////////////////
  12. // About.cpp
  13. //
  14. // Provide constructor for the CSnapinAbout implementation.
  15. //
  16. // HISTORY
  17. // 01-Aug-97 t-danm Creation.
  18. // 11-Sep-97 bryanwal Modify for certificate manager
  19. /////////////////////////////////////////////////////////////////////
  20. #include "stdafx.h"
  21. #include "about.h"
  22. #include "stdabout.cpp"
  23. // version and provider strings
  24. #include <ntverp.h>
  25. #define IDS_SNAPINABOUT_VERSION VER_PRODUCTVERSION_STR
  26. #define IDS_SNAPINABOUT_PROVIDER VER_COMPANYNAME_STR
  27. /////////////////////////////////////////////////////////////////////
  28. CCertMgrAbout::CCertMgrAbout()
  29. {
  30. m_szProvider = IDS_SNAPINABOUT_PROVIDER;
  31. m_szVersion = IDS_SNAPINABOUT_VERSION;
  32. m_uIdStrDestription = IDS_SNAPINABOUT_DESCRIPTION;
  33. m_uIdIconImage = IDI_CERTMGR;
  34. m_uIdBitmapSmallImage = IDB_CERTMGR_SMALL;
  35. m_uIdBitmapSmallImageOpen = IDB_CERTMGR_SMALL;
  36. m_uIdBitmapLargeImage = IDB_CERTMGR_LARGE;
  37. m_crImageMask = RGB(255, 0, 255);
  38. }
  39. /////////////////////////////////////////////////////////////////////
  40. CPublicKeyPoliciesAbout::CPublicKeyPoliciesAbout()
  41. {
  42. m_szProvider = IDS_SNAPINABOUT_PROVIDER;
  43. m_szVersion = IDS_SNAPINABOUT_VERSION;
  44. m_uIdStrDestription = IDS_SNAPINPKPABOUT_DESCRIPTION;
  45. m_uIdIconImage = IDI_CERTMGR;
  46. m_uIdBitmapSmallImage = IDB_CERTMGR_SMALL;
  47. m_uIdBitmapSmallImageOpen = IDB_CERTMGR_SMALL;
  48. m_uIdBitmapLargeImage = IDB_CERTMGR_LARGE;
  49. m_crImageMask = RGB(255, 0, 255);
  50. }
  51. /////////////////////////////////////////////////////////////////////
  52. CSaferWindowsAbout::CSaferWindowsAbout()
  53. {
  54. m_szProvider = IDS_SNAPINABOUT_PROVIDER;
  55. m_szVersion = IDS_SNAPINABOUT_VERSION;
  56. m_uIdStrDestription = IDS_SNAPINSAFERWINDOWSABOUT_DESCRIPTION;
  57. m_uIdIconImage = IDI_SAFER_WINDOWS_SNAPIN;
  58. m_uIdBitmapSmallImage = IDB_CERTMGR_SMALL;
  59. m_uIdBitmapSmallImageOpen = IDB_CERTMGR_SMALL;
  60. m_uIdBitmapLargeImage = IDB_SAFERWINDOWS_LARGE;
  61. m_crImageMask = RGB(255, 0, 255);
  62. }