This project has moved and is read-only. For the latest updates, please go here.
The properties managed by the FileMetaPropertyHandler are picked up by Windows Search, both when using Explorer to search unindexed locations, and by the Windows Indexing Service if the location is indexed.

It is worth noting that the registration of FileMetaPropertyHandler includes a flag setting to ensure that the Windows Indexiing Service, if the location of a file with properties is being indexed, picks up the property values. Here is a fragment of the registration entries for the 64-bit FileMetaPropertyHandler:

[HKEY_CLASSES_ROOT\CLSID\{D06391EE-2FEB-419B-9667-AD160D0849F3}]
@="File Meta Property Handler"
"DisableProcessIsolation"=dword:00000001

The DisableProcessIsolation flag tells the indexing service not to use its preferred IInitialzeWithStream interface when getting property values from the FileMetaPropertyHandler, but rather the older IInitializeWithFile. This is necessary because the stream provided is the default stream, and that is not where our properties are held.

Last edited Apr 29, 2013 at 11:12 AM by Dijji, version 1

Comments

No comments yet.