Hi everyone:


My goal is to call IContextMenu::InvokeCommand on a default command of a context menu for a shortcut. I can get a reference to the IShellLink the following way:
Code:
IShellLink* pshl;   
IPersistFile* ppf;   
  
CoCreateInstance(CLSID_ShellLink, ..., &pshl);   
pshl->QueryInterface(IID_IPersisFile, &ppf);   
ppf->Load(pShortcutFilePath, STGM_READ);
but how do I get a reference to IContextMenu then?

Thank you!