C ++ MFC criar IShellItem do CLSID (GUID)
Eu tenho que criar um ShellItem para a Ajuda do Windows e Windows Run ...
eu tenho isto
Help and Support {2559a1f1-21d7-11d4-bdaf-00c04f60b9f0}
Run {2559a1f3-21d7-11d4-bdaf-00c04f60b9f0}
dehttp://www.sevenforums.com/tutorials/110919-clsid-key-list-windows-7-a.html
eu tentei
IShellFolder* desk = NULL;
HRESULT hr =SHGetDesktopFolder(&desk);
LPITEMIDLIST pidl2=NULL;
ULONG cbEaten;
DWORD dwAttribs = 0 ;
hr = desk->ParseDisplayName(NULL,
NULL,
L"::{2559A1F1-21D7-11D4-BDAF-00C04F60B9F0}",
&cbEaten, // This can be NULL
&pidl2,
&dwAttribs);
Ele retorna OK, mas nulo como pidl2
vocês poderiam me ajudar?