CLSID Key

A CLSID is a globally unique identifier that identifies a COM class object. If your server or container allows linking to its embedded objects, you need to register a CLSID for each supported class of objects.

Registry Key

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{CLSID}

Registry keyDescription
AppIDAssociates an AppID with a CLSID.
AutoConvertToSpecifies the automatic conversion of a given class of objects to a new class of objects.
AutoTreatAsAutomatically sets the CLSID for the TreatAs key to the specified value.
AuxUserTypeSpecifies an application's short display name and application names.
ControlIdentifies an object as an ActiveX Control.
ConversionUsed by the Convert dialog box to determine the formats an application can read and write.
DataFormatsSpecifies the default and main data formats supported by an application.
DefaultIconProvides default icon information for iconic presentations of objects.
InprocHandlerSpecifies whether an application uses a custom handler.
InprocHandler32Specifies whether an application uses a custom handler.
InprocServerSpecifies the path to the in-process server DLL.
InprocServer32Registers a 32-bit in-process server and specifies the threading model of the apartment the server can run in.
InsertableIndicates that objects of this class should appear in the Insert Object dialog box list box when used by COM container applications.
InterfaceAn optional entry that specifies all interface IDs (IIDs) supported by the associated class.
LocalServerSpecifies the full path to a 16-bit local server application.
LocalServer32Specifies the full path to a 32-bit local server application.
MiscStatusSpecifies how to create and display an object.
ProgIDAssociates a ProgID with a CLSID.
ToolBoxBitmap32Identifies the module name and resource ID for a 16 x 16 bitmap to use for the face of a toolbar or toolbox button.
TreatAsSpecifies the CLSID of a class that can emulate the current class.
VerbSpecifies the verbs to be registered for an application.
VersionSpecifies the version number of the control.
VersionIndependentProgIDAssociates a ProgID with a CLSID. This value is used to determine the latest version of an object application.

 

Remarks

The HKEY_LOCAL_MACHINE\SOFTWARE\Classes key corresponds to the HKEY_CLASSES_ROOT key, which was retained for compatibility with earlier versions of COM.

The CLSID key contains information used by the default COM handler to return information about a class when it is in the running state.

To obtain a CLSID for your application, you can use the Uuidgen.exe, or use the CoCreateGuid function.

The CLSID is a 128-bit number, in hex, within a pair of curly braces.

See Also

CoCreateGuid

Send comments about this topic to Microsoft

Build date: 11/12/2009

Tags : clsid


Page view tracker