3,245
社区成员
发帖
与我相关
我的任务
分享
CString sWallpaper = wszWallpaper; // Convert the Unicode string to ANSI.
IShellLink* pISL;
IPersistFile* pIPF;
// Create a COM object from the Shell Link coclass.
hr = CoCreateInstance ( CLSID_ShellLink,
NULL,
CLSCTX_INPROC_SERVER,
IID_IShellLink,
(void**) &pISL );