bviksoe replied to Kai-Uwe
08-Jan-10 06:53 AM
This should get you started:
http://msdn.microsoft.com/en-us/magazine/cc163487.aspx
I believe that you got it correct so far, but you will need to register
the extension properly, with
ShellEx\{8895B1C6-B41F-4C1C-A562-0D564250836F} under your NSE
and also
HKLM\...\Microsoft\CurrentVersion\PreviewHandlers for public
registration
This is explained in the MSDN article.
Also when you get GetUIObjectOf queried for IQueryAssociations, make
sure to include your NSE clsid as an ASSOCCLASS_CLSID_STR entry, so
the Shell knows to use your ShellEx registry stuff.
bjarke