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.

107 lines
4.0 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1999
  6. //
  7. // File: uuids.cpp
  8. //
  9. //--------------------------------------------------------------------------
  10. #include <stdafx.h>
  11. #include <initguid.h>
  12. #include <gpedit.h>
  13. const CLSID CLSID_CAPolicyExtensionSnapIn = /*3F276EB4-70EE-11d1-8A0F-00C04FB93753*/\
  14. {0x3f276eb4,0x70ee,0x11d1,{0x8a,0x0f,0x00,0xc0,0x4f,0xb9,0x37,0x53}};
  15. const CLSID CLSID_CACertificateTemplateManager = /*ACE10358-974C-11d1-A48D-00C04FB93753*/\
  16. {0xace10358,0x974c,0x11d1,{0xa4,0x8d,0x0,0xc0,0x4f,0xb9,0x37,0x53}};
  17. const CLSID CLSID_CAPolicyAbout = /*{1F823A6A-863F-11d1-A484-00C04FB93753}*/ \
  18. {0x1f823a6a,0x863f,0x11d1,{0xa4,0x84,0x0,0xc0,0x4f,0xb9,0x37,0x53}};
  19. const CLSID CLSID_CertTypeAbout = /* {BF84C0C5-0C80-11d2-A497-00C04FB93209} */
  20. { 0xbf84c0c5, 0xc80, 0x11d2, { 0xa4, 0x97, 0x0, 0xc0, 0x4f, 0xb9, 0x32, 0x9 } };
  21. const CLSID CLSID_CertTypeShellExt = /* {9bff616c-3e02-11d2-a4ca-00c04fb93209} */
  22. { 0x9bff616c, 0x3e02, 0x11d2, { 0xa4, 0xca, 0x0, 0xc0, 0x4f, 0xb9, 0x32, 0x9 } };
  23. const CLSID CLSID_CAShellExt = { /* a4e91b6a-dcae-11d2-a045-00c04f79dc55 */
  24. 0xa4e91b6a, 0xdcae, 0x11d2, {0xa0, 0x45, 0x00, 0xc0, 0x4f, 0x79, 0xdc, 0x55} };
  25. ///////////////////////////////////////////////////////////////////////////////
  26. //
  27. // OBJECT TYPES
  28. //
  29. //
  30. // OBJECT TYPE for Scope Nodes.
  31. //
  32. // Static NodeType GUID in numeric & string formats.
  33. const GUID cNodeTypePolicySettings =
  34. {0x3f276eb3,0x70ee,0x11d1,{0x8a, 0x0f, 0x00, 0xc0, 0x4f, 0xb9, 0x37, 0x53}};
  35. const WCHAR* cszNodeTypePolicySettings = L"{3F276EB3-70EE-11d1-8A0F-00C04FB93753}";
  36. // Static NodeType GUID in numeric & string formats.
  37. const GUID cNodeTypeCertificateTemplate =
  38. {0x3e3dcd02,0x9755,0x11d1,{0xa4,0x8d,0x0,0xc0,0x4f,0xb9,0x37,0x53}};
  39. const WCHAR* cszNodeTypeCertificateTemplate = L"{3E3DCD02-9755-11d1-A48D-00C04FB93753}";
  40. //
  41. // OBJECT TYPE for result items.
  42. //
  43. // Result items object type GUID in numeric & string formats.
  44. extern const GUID cObjectTypeResultItem =
  45. {0x1f823a69,0x863f,0x11d1,{0xa4,0x84,0x0,0xc0,0x4f,0xb9,0x37,0x53}};
  46. extern const wchar_t* cszObjectTypeResultItem = L"{1F823A69-863F-11d1-A484-00C04FB93753}";
  47. //
  48. //
  49. //////////////////////////////////////////////////////////////////////////////
  50. // Internal private format
  51. const wchar_t* SNAPIN_INTERNAL = L"CAPESNPN_SNAPIN_INTERNAL"; // Step 3
  52. // Published formats
  53. const wchar_t* SNAPIN_WORKSTATION = L"CAPESNPN_SNAPIN_WORKSTATION"; // Extension
  54. // format for getting CA name from parent node
  55. const wchar_t* CA_COMMON_NAME = L"SNAPIN_CA_COMMON_NAME"; // Extension
  56. // format for getting the type of CA
  57. const wchar_t* SNAPIN_CA_INSTALL_TYPE = L"SNAPIN_CA_INSTALL_TYPE";
  58. // format for getting CA name from parent node
  59. const wchar_t* CA_SANITIZED_NAME = L"SNAPIN_CA_SANITIZED_NAME"; // Extension
  60. // format for getting CA roles from parent node
  61. const wchar_t* CA_ROLES = L"SNAPIN_CA_ROLES"; // Extension
  62. // Clipboard format for SCE's mode DWORD
  63. const wchar_t* CCF_SCE_MODE_TYPE = L"CCF_SCE_MODE_TYPE";
  64. // Clipboard format for GPT's IUnknown interface
  65. const wchar_t* CCF_SCE_GPT_UNKNOWN = L"CCF_SCE_GPT_UNKNOWN";
  66. // CA manager snapin parent node
  67. const CLSID cCAManagerParentNodeID = /*5d972ee4-7576-11d1-8cbe-00c04fc297eb*/ \
  68. {0x5d972ee4,0x7576,0x11d1,{0x8c,0xbe,0x00,0xc0,0x4f,0xc2,0x97,0xeb}};
  69. const WCHAR* cszCAManagerParentNodeID = L"{5d972ee4-7576-11d1-8cbe-00c04fc297eb}";
  70. // SCE-GPT parent node
  71. const CLSID cSCEParentNodeIDUSER = /*A6B4EEBC-B681-11D0-9484-080036B11A03*/ \
  72. {0xc4a92b42,0x91ee,0x11d1,{0x85,0xfd,0x0,0xc0,0x4f,0xb9,0x4f,0x17}};
  73. const WCHAR* cszSCEParentNodeIDUSER = L"{C4A92B42-91EE-11D1-85FD-00C04FB94F17}";
  74. const CLSID cSCEParentNodeIDCOMPUTER = /*A6B4EEBB-B681-11D0-9484-080036B11A03*/ \
  75. {0xc4a92b43,0x91ee,0x11d1,{0x85,0xfd,0x0,0xc0,0x4f,0xb9,0x4f,0x17}};
  76. const WCHAR* cszSCEParentNodeIDCOMPUTER = L"{C4A92B43-91EE-11D1-85FD-00C04FB94F17}";