Microsoft KB Archive/178665

From BetaArchive Wiki

HOWTO: RegView.exe Contains Shell Namespace Extension Example

Q178665



The information in this article applies to:


  • Microsoft Win32 Software Development Kit (SDK)





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:


RegView.exe

For additional information about how to download Microsoft Support files, click the article number below to view the article in the Microsoft Knowledge Base:

Q119591 How to Obtain Microsoft Support Files from Online Services

Microsoft used the most current virus detection software available on the date of posting to scan this file for viruses. Once posted, the file is housed on secure servers that 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 

Additional query words: shell namespace IShellFolder IshellView ShlNSE

Keywords : kbfile kbsample kbExtension kbNameSpace kbOSWinNT400 kbOSWin2000 kbSDKWin32 kbOSWin95 kbOSWin98 kbGrpDSShell
Issue type : kbhowto
Technology : kbWin32SDKSearch kbAudDeveloper kbSDKSearch kbWin32sSearch


Last Reviewed: July 9, 2000
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.