Flux RSS - La vie du site - Nouveautés et mises à jour
Assiste.com - Sécurité informatique - Décontamination - Antivirus - Protection - Protection de la Vie Privée Assiste.com - Sécurité informatique préventive - Décontamination - Antivirus - Protection - Protection de la Vie Privée

CLSID

Dernière mise à jour : 2018-10-12T14:52 - 12.10.2018
29.09.2014 - 00h00 - Paris - (Assiste - Pierre Pinard) - Mise à jour

CLSID - Outils autour des CLSID

CLSIDCLSIDCLSID

Les CLSID (Class Identifier) sont une forme de GUID (Globally Unique IDentifier), dans le monde Microsoft Windows, stockés dans le Registre Windows.

Presque tous les objets ont un CLSID. Par exemple :

  • Presque tous les objets identifiés dans la clé HKEY_CLASSES_ROOT du Registre Windows sont associés à un CLSID.
  • Inverse : tous les CLSID sont regroupés dans la clé HKEY_CLASSES_ROOT\CLSID\ , classés en ordre croissant, et sont associés à un nom d'objet.

Pour les objets de type " application ", chaque identificateur d'application est associé à un CLSID et chacun de ces CLSID pointe sur un objet de type applications...

clé HKEY_CLASSES_ROOT du Registre Windows
Clé HKEY_CLASSES_ROOT du Registre Windows
Tous les CLSID sont dans la clé HKEY_CLASSES_ROOT\CLSID\
Tous les CLSID sont dans la clé HKEY_CLASSES_ROOT\CLSID\

Les CLSID permettent d'identifier les objets de classe COM (Component Object Model) sans avoir à utiliser leurs noms. Microsoft ayant développé, depuis, les infrastructures .NET Framework, COM devrait être en voie de disparition. Toutefois, pour des raisons de retro-compatibilité, COM et les identificateurs de classe COM (CLSID) continuent d'être utilisés et aucun abandon de COM (Component Object Model) n'est planifié.

Les CLSID sont des chaînes de caractères alphanumériques hexadécimales (32 digits hexadécimaux soit 128 bits).

La syntaxe apparente des CLSID est : {00000000-0000-0000-0000-000000000000}
Par exemple : {21EC2020-3AEA-1069-A2DD-08002b30309d} (il s'agit du CLSID du panneau de configuration de Windows)

Outils autour des CLSID :

RessourcesRessources" Ressources "

msdn.microsoft.com

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 key Description
AppID Associates an AppID with a CLSID.
AutoConvertTo Specifies the automatic conversion of a given class of objects to a new class of objects.
AutoTreatAs Automatically sets the CLSID for the TreatAs key to the specified value.
AuxUserType Specifies an application's short display name and application names.
Control Identifies an object as an ActiveX Control.
Conversion Used by the Convert dialog box to determine the formats an application can read and write.
DataFormats Specifies the default and main data formats supported by an application.
DefaultIcon Provides default icon information for iconic presentations of objects.
InprocHandler Specifies whether an application uses a custom handler.
InprocHandler32 Specifies whether an application uses a custom handler.
InprocServer Specifies the path to the in-process server DLL.
InprocServer32 Registers a 32-bit in-process server and specifies the threading model of the apartment the server can run in.
Insertable Indicates that objects of this class should appear in the Insert Object dialog box list box when used by COM container applications.
Interface An optional entry that specifies all interface IDs (IIDs) supported by the associated class.
LocalServer Specifies the full path to a 16-bit local server application.
LocalServer32 Specifies the full path to a 32-bit local server application.
MiscStatus Specifies how to create and display an object.
ProgID Associates a ProgID with a CLSID.
ToolBoxBitmap32 Identifies the module name and resource ID for a 16 x 16 bitmap to use for the face of a toolbar or toolbox button.
TreatAs Specifies the CLSID of a class that can emulate the current class.
Verb Specifies the verbs to be registered for an application.
Version Specifies the version number of the control.
VersionIndependentProgID Associates a ProgID with a CLSID. This value is used to determine the latest version of an object application.

CoCreateGuid function

UuidCreate function