我必须为 Windows 帮助和 Windows 运行创建一个 ShellItem...
我有这个
Help and Support {2559a1f1-21d7-11d4-bdaf-00c04f60b9f0}
Run {2559a1f3-21d7-11d4-bdaf-00c04f60b9f0}
来自http://www.sevenforums.com/tutorials/110919-clsid-key-list-windows-7-a.html
我试过了
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);
它返回 OK 但 Null 作为 pidl2
你们能给我一些帮助吗?