SAMPLE: RegView.exe Contains Shell Namespace Extension Example

ID: Q178665

The information in this article applies to:

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 Software Library:

 ~ RegView.exe (size: 68748 bytes) 

For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q119591
   TITLE     : How to Obtain Microsoft Support Files from Online Services

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

Additional query words: shell namespace IShellFolder IshellView ShlNSE

Keywords          : kbfile kbsample kbExtension kbNameSpace kbNTOS400 kbWinOS2000 kbWinOS95 kbWinOS98 kbGrpShell 
Platform          : Win95 winnt

Last Reviewed: December 17, 1998