The MASM Forum Archive 2004 to 2012

General Forums => The Workshop => Topic started by: ToutEnMasm on November 20, 2010, 02:33:56 PM

Title: search of registry
Post by: ToutEnMasm on November 20, 2010, 02:33:56 PM
Here is a tool who search yhe registry for executable path,path of typelib,progid.
For example enter:
Quote
HKEY_CLASSES_ROOT\.jpg
or .jpg
and you get
Quote
.jpg  Value: jpegfile
HKEY_CLASSES_ROOT\jpegfile\Shell\Open\Command retourne:
rundll32.exe C:\WINDOWS\system32\shimgvw.dll,ImageView_Fullscreen %1
HKEY_CLASSES_ROOT\jpegfile\CLSID retourne:
Name: jpegfile CLSID: {25336920-03F9-11cf-8FD0-00AA00686F13}
TypeLib\{3050f1c5-98b5-11cf-bb82-00aa00bdce0b}\4.0\0\win32
TypeLibPath: C:\WINDOWS\system32\MSHTML.TLB
ProgID: htmlfile
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
HKEY_CLASSES_ROOT\.jpg   Subkey name:
HKEY_CLASSES_ROOT\.jpg\OpenWithProgids
HKEY_CLASSES_ROOT\.jpg\PersistentHandler
______________________________________________________________________________

This can be done for all the HKEY_CLASSES_ROOT keys
You can also search a NAME in all the typelib of your computer
Title: Re: search of registry
Post by: ToutEnMasm on November 24, 2010, 09:59:10 AM
Did you Know you have a little SDK with the typelib of your computer ?
I have added a button to search for a name in all the typelib.
You can search for:
    clsid,IID (without the CLSID_ or IID_)
    interface
    structure
    enum   
    ...
You can't find all the equates defined in the sdk

If the box find something,the answer will be the full path of the typelib with the name.
Past this path to oleview,and you have a lisible idl file
Translate it with the translator in the windows.inc subforum.
This files are usable alone.