HOWTO: RegView.exe Contains Shell Namespace Extension Example (178665)



The information in this article applies to:

  • Microsoft Platform Software Development Kit (SDK) 1.0

This article was previously published under Q178665

SUMMARY

RegView is a simple example of a shell namespace extension. It implements the minimum number of interfaces required to create a multi-level name space extension.

MORE INFORMATION

The following file is available for download from the Microsoft Download Center:
For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file. RegView displays the registry in a similar way as Regedit.exe with an important exception: the registry information can only be viewed, not modified. The sample does not support modification of the registry, although you can add this functionality. Once the extension DLL is built and registered, an item called "Registry View" is available on the desktop and in Windows Explorer.

Once the sample is built, it can register itself. If you use the Visual C++ 5.0 project file included with the sample (RegView.dsw) to build this project, it automatically registers the server when the server is built. The included command-line make file (makefile) also attempts to register the server. If you need to register the server manually, execute the following from the command line (substituting the path where the DLL is located for "<path>"):
   regsvr32.exe /s /c <path>\RegView.dll
				

Modification Type:MinorLast Reviewed:7/11/2005
Keywords:kbdownload kbExtension kbfile kbhowto kbNameSpace kbsample KB178665