Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds destination to the list.
BOOL AddDestination(
LPCTSTR lpcszCategoryName,
LPCTSTR strDestinationPath
);
BOOL AddDestination(
LPCTSTR strCategoryName,
IShellItem* pShellItem
);
BOOL AddDestination(
LPCTSTR strCategoryName,
IShellLink* pShellLink
);
Parameters
lpcszCategoryName
Specifies a category name. If the specified category does not exist, it will be created.strDestinationPath
Specifies a path to destination file.strCategoryName
Specifies a category name. If the specified category does not exist, it will be created.pShellItem
Specifies a Shell Item representing the destination being added.pShellLink
Specifies a Shell Link representing the destination being added.
Remarks
The instance of CJumpList internally accumulates added destinations and then commits them in CommitList.
Requirements
Header: afxadv.h