Windows developers, and especially those with an interest in developing Shell data sources (namespace extensions) are probably familiar with the original Shell namespace extension sample RegView
. This project is an attempt to bring that sample into the Vista era of programming and demonstrates some of the key advances available in the Vista platform.
Also note that the Windows 7 has a modern data source sample installed here:
C:\Program Files\Microsoft SDKs\Windows\v7.0\Samples\winui\Shell\shellextensibility\explorerdataproviderProject Structure
The solution consists of three subprojects:
- RegNamespace - Implements all of the Shell namespace objects including the data source (IShellFolder2), the view (via SHCreateShellFolderView with an implementation of IShellFolderViewCB), the property store factory, and various other pieces, which will be discussed in more detail in other sections of this wiki.
- RegPH - Implements the protocal handler and filter for the registry data source. This allows Windows Search to index the content of the registry.
- RegLib - A static library of utilities shared between the other two projects.