Sunday, 5 October 2014

What is CLSID?

Well, basically windows is build with the microsoft’s COM (Component Object Model) based architecture. They have built lots of dlls to provide full graphical windows. Everything in windows is built with classes. The classes of windows are assigned to an unique ID with it called Class ID or CLSID. Now any special folders or any icon of windows OS is associated to its respective CLSIDs, and they are just an object of those classes. An ICON is just a special file when associated with the approprite clsid will behave specially. For instance, if a file or folder is assigned to the CLSID of Recycle Bin will definately behave like it. Even the picture of the ICON will also change if we change the CLSID of it.

No comments:

Post a Comment