I'm having a heck of a time programmatically controlling Windows Search. My goal is to reproduce at least some of the functionality in the Vista/7 Start Menu search box. I managed to get the WSOleDB sample program to work (available here: http://msdn.microsoft.com/en-us/library/aa965362%28VS.85%29.aspx
-- drill down a little) but when I change the query, it doesn't produce the results I expect. For instance, if this is my query:
pszSQL = L"SELECT \"System.title\" FROM \"SystemIndex\" "
then I would think it would find the Control Panel items to manage color but I can't seem to produce any Control Panel results.
Also, is there a reference for the schema so that I don't have to guess what fields are available to select from, and what they are called?
I will award partial points for partial answers. I can do that, right?