105 lines
3.8 KiB
C++
105 lines
3.8 KiB
C++
|
//+-------------------------------------------------------------------------
|
||
|
//
|
||
|
// Microsoft Windows
|
||
|
//
|
||
|
// Copyright (C) Microsoft Corporation, 1998 - 1999
|
||
|
//
|
||
|
// File: uuids.cpp
|
||
|
//
|
||
|
//--------------------------------------------------------------------------
|
||
|
|
||
|
|
||
|
#include <stdafx.h>
|
||
|
|
||
|
#include <initguid.h>
|
||
|
#include <gpedit.h>
|
||
|
|
||
|
const CLSID CLSID_CAPolicyExtensionSnapIn = /*3F276EB4-70EE-11d1-8A0F-00C04FB93753*/\
|
||
|
{0x3f276eb4,0x70ee,0x11d1,{0x8a,0x0f,0x00,0xc0,0x4f,0xb9,0x37,0x53}};
|
||
|
|
||
|
const CLSID CLSID_CACertificateTemplateManager = /*ACE10358-974C-11d1-A48D-00C04FB93753*/\
|
||
|
{0xace10358,0x974c,0x11d1,{0xa4,0x8d,0x0,0xc0,0x4f,0xb9,0x37,0x53}};
|
||
|
|
||
|
const CLSID CLSID_CAPolicyAbout = /*{1F823A6A-863F-11d1-A484-00C04FB93753}*/ \
|
||
|
{0x1f823a6a,0x863f,0x11d1,{0xa4,0x84,0x0,0xc0,0x4f,0xb9,0x37,0x53}};
|
||
|
|
||
|
const CLSID CLSID_CertTypeAbout = /* {BF84C0C5-0C80-11d2-A497-00C04FB93209} */
|
||
|
{ 0xbf84c0c5, 0xc80, 0x11d2, { 0xa4, 0x97, 0x0, 0xc0, 0x4f, 0xb9, 0x32, 0x9 } };
|
||
|
|
||
|
const CLSID CLSID_CertTypeShellExt = /* {9bff616c-3e02-11d2-a4ca-00c04fb93209} */
|
||
|
{ 0x9bff616c, 0x3e02, 0x11d2, { 0xa4, 0xca, 0x0, 0xc0, 0x4f, 0xb9, 0x32, 0x9 } };
|
||
|
|
||
|
const CLSID CLSID_CAShellExt = { /* a4e91b6a-dcae-11d2-a045-00c04f79dc55 */
|
||
|
0xa4e91b6a, 0xdcae, 0x11d2, {0xa0, 0x45, 0x00, 0xc0, 0x4f, 0x79, 0xdc, 0x55} };
|
||
|
|
||
|
|
||
|
///////////////////////////////////////////////////////////////////////////////
|
||
|
//
|
||
|
// OBJECT TYPES
|
||
|
//
|
||
|
|
||
|
//
|
||
|
// OBJECT TYPE for Scope Nodes.
|
||
|
//
|
||
|
|
||
|
// Static NodeType GUID in numeric & string formats.
|
||
|
const GUID cNodeTypePolicySettings =
|
||
|
{0x3f276eb3,0x70ee,0x11d1,{0x8a, 0x0f, 0x00, 0xc0, 0x4f, 0xb9, 0x37, 0x53}};
|
||
|
const WCHAR* cszNodeTypePolicySettings = L"{3F276EB3-70EE-11d1-8A0F-00C04FB93753}";
|
||
|
|
||
|
// Static NodeType GUID in numeric & string formats.
|
||
|
const GUID cNodeTypeCertificateTemplate =
|
||
|
{0x3e3dcd02,0x9755,0x11d1,{0xa4,0x8d,0x0,0xc0,0x4f,0xb9,0x37,0x53}};
|
||
|
const WCHAR* cszNodeTypeCertificateTemplate = L"{3E3DCD02-9755-11d1-A48D-00C04FB93753}";
|
||
|
|
||
|
//
|
||
|
// OBJECT TYPE for result items.
|
||
|
//
|
||
|
|
||
|
// Result items object type GUID in numeric & string formats.
|
||
|
extern const GUID cObjectTypeResultItem =
|
||
|
{0x1f823a69,0x863f,0x11d1,{0xa4,0x84,0x0,0xc0,0x4f,0xb9,0x37,0x53}};
|
||
|
extern const wchar_t* cszObjectTypeResultItem = L"{1F823A69-863F-11d1-A484-00C04FB93753}";
|
||
|
|
||
|
|
||
|
//
|
||
|
//
|
||
|
//////////////////////////////////////////////////////////////////////////////
|
||
|
|
||
|
// Internal private format
|
||
|
const wchar_t* SNAPIN_INTERNAL = L"CAPESNPN_SNAPIN_INTERNAL"; // Step 3
|
||
|
|
||
|
// Published formats
|
||
|
const wchar_t* SNAPIN_WORKSTATION = L"CAPESNPN_SNAPIN_WORKSTATION"; // Extension
|
||
|
|
||
|
// format for getting CA name from parent node
|
||
|
const wchar_t* CA_COMMON_NAME = L"SNAPIN_CA_COMMON_NAME"; // Extension
|
||
|
|
||
|
// format for getting the type of CA
|
||
|
const wchar_t* SNAPIN_CA_INSTALL_TYPE = L"SNAPIN_CA_INSTALL_TYPE";
|
||
|
|
||
|
// format for getting CA name from parent node
|
||
|
const wchar_t* CA_SANITIZED_NAME = L"SNAPIN_CA_SANITIZED_NAME"; // Extension
|
||
|
|
||
|
// Clipboard format for SCE's mode DWORD
|
||
|
const wchar_t* CCF_SCE_MODE_TYPE = L"CCF_SCE_MODE_TYPE";
|
||
|
|
||
|
// Clipboard format for GPT's IUnknown interface
|
||
|
const wchar_t* CCF_SCE_GPT_UNKNOWN = L"CCF_SCE_GPT_UNKNOWN";
|
||
|
|
||
|
|
||
|
|
||
|
// CA manager snapin parent node
|
||
|
const CLSID cCAManagerParentNodeID = /*5d972ee4-7576-11d1-8cbe-00c04fc297eb*/ \
|
||
|
{0x5d972ee4,0x7576,0x11d1,{0x8c,0xbe,0x00,0xc0,0x4f,0xc2,0x97,0xeb}};
|
||
|
const WCHAR* cszCAManagerParentNodeID = L"{5d972ee4-7576-11d1-8cbe-00c04fc297eb}";
|
||
|
|
||
|
// SCE-GPT parent node
|
||
|
const CLSID cSCEParentNodeIDUSER = /*A6B4EEBC-B681-11D0-9484-080036B11A03*/ \
|
||
|
{0xc4a92b42,0x91ee,0x11d1,{0x85,0xfd,0x0,0xc0,0x4f,0xb9,0x4f,0x17}};
|
||
|
const WCHAR* cszSCEParentNodeIDUSER = L"{C4A92B42-91EE-11D1-85FD-00C04FB94F17}";
|
||
|
|
||
|
const CLSID cSCEParentNodeIDCOMPUTER = /*A6B4EEBB-B681-11D0-9484-080036B11A03*/ \
|
||
|
{0xc4a92b43,0x91ee,0x11d1,{0x85,0xfd,0x0,0xc0,0x4f,0xb9,0x4f,0x17}};
|
||
|
const WCHAR* cszSCEParentNodeIDCOMPUTER = L"{C4A92B43-91EE-11D1-85FD-00C04FB94F17}";
|