HOWTO: RegView.exe Contains Shell Namespace Extension Example

ID: Q178665


The information in this article applies to:
  • Microsoft Win32 Software Development Kit (SDK)
  • Microsoft Windows 2000


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. Click the file name below to download the file:

RegView.exe
For more information about how to download files from the Microsoft Download Center, please visit the Download Center at the following Web address
http://www.microsoft.com/downloads/search.asp
and then click How to use the Microsoft Download Center. 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 kbSDKWin32 kbWinOS95 kbWinOS98 kbGrpShell
Version : WINDOWS:
Platform : WINDOWS
Issue type : kbhowto


Last Reviewed: January 25, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.