7,655
社区成员
发帖
与我相关
我的任务
分享
BOOL SHCreateShortcutExample()
{
// Create a shortcut called myAppShortcut.lnk,
// that links to the target file in \Windows\Program Files, named myApp.exe.
// Place the shortcut in the folder \Windows.
return SHCreateShortcut(TEXT("\\Windows\\myAppShortcut.lnk"), TEXT("\\Windows\\Program Files\\myApp.exe"));
}