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:

@="File Meta Property Handler"

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 10:12 AM by Dijji, version 1


No comments yet.