标签: windows search file-format
我只是在想什么,我找不到它。
是否可以制作可由Windows搜索的自定义文件格式?像Word或HTML文件是可搜索的。
我编写了一个与自定义文件格式(扩展名)相关联的程序。如果Windows可以在该文件中搜索,那将是很好的。
答案 0 :(得分:0)
看起来很参与。实质上,您为文件类型提供了COM接口的实现,这使得搜索索引器可以发现文件中的内容。
来自MSDN:
You can extend Windows Search to index the contents and properties of new file formats, and data stores using data add-in interfaces. To create Windows Search add-ins, third-party developers must first implement a Shell data store, and then develop a protocol handler so that Windows Search can access the data for indexing. If you have a custom file format, you must develop a filter handler to index file contents, and a property handler for every file type to index properties.