This is another manifestation of the
missing marshaller problem.
IContextMenu *pcm;
HRESULT hr = psf->GetUIObjectOf(hwnd, 1, &pidl,
IID_IContextMenu, NULL, &pcm);
// fails with REGDB_E_IIDNOTREG
The IContextMenu interface does not have
a proxy/stub factory (as of this writing).
Recall that shell objects, as a ...