本文介绍了执行找到的项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设我有自己的数据存储:具有名称和ID的简单对象的数组.
IFilter 的一种使这些对象在Vista/Windows 7开始菜单中可搜索的方式?我不必实现完整的协议处理程序,对吗?该筛选器不会针对每个查询实例化,而是只要搜索服务运行就存在.

如果要在搜索中单击找到的项目时执行自己的代码,该怎么办? ?我需要做一个MRL处理程序吗?像blah://ID一样?

最好是我希望将从IFilter到执行处理程序的所有内容都放在一个DLL中,以简化部署.

预先感谢! ="h2_lin">解决方案


Let's say I have my own data store: an array of simple objects with Name and ID.
is IFilter the way to make these object searchable in the vista / windows 7 start menu? I don't have to implement a full protocol handler, do I? The filter won't be instantiated for each query, but rather exist as long as the search service runs?

And what should I do if I want to execute my own code when clicking the found items in search? Do I have to make a MRL handler? like blah://ID ?

Preferably I would want to have everything from IFilter to execution handler in one DLL to make deployment easy.

Thanks in advance!

解决方案


这篇关于执行找到的项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-15 09:23