SAMPLE: RegView.exe Contains Shell Namespace Extension Example

Last reviewed: March 3, 1998
Article ID: 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 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 KBShell
ShlNSE
Keywords : kbnocat kbfile kbsample
Platform : Win95 winnt


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 3, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.