Searches the registry for a GUID or ProgId.
com
find-clsid name &optional errorp => refguid
| name⇩ |
A string or a refguid. |
| errorp⇩ |
A generalized boolean. |
| refguid |
A refguid. |
The function find-clsid searches for the supplied GUID or ProgId in the registry.
name can be a string representing a GUID (with or without the curly brackets) or a string containing a ProgId. Otherwise name can be a refguid, which is simply returned.
If find-clsid fails to find the GUID, it either signals an error or returns nil, depending on the value of errorp. The default value of errorp is t.
To find the GUID of the Explorer ActiveX:
(com:find-clsid "Shell.Explorer")
COM/Automation User Guide and Reference Manual - 01 Dec 2021 19:38:38