SHARDAPPIDINFOLINK structure (shlobj_core.h)
Contains data used by SHAddToRecentDocs to identify both an item, in this case through an IShellLink, and the process that it is associated with.
Syntax
typedef struct SHARDAPPIDINFOLINK {
IShellLink *psl;
PCWSTR pszAppID;
} SHARDAPPIDINFOLINK;
Members
psl
Type: IShellLink*
Pointer to an IShellLink instance that, when launched, opens the item. The shortcut is not added by SHAddToRecentDocs to the user's Recent folder (CSIDL_RECENT, FOLDERID_Recent), but it is added to the Recent category in the specified application's Jump List.
pszAppID
Type: PCWSTR
The application-defined AppUserModelID associated with the item.
Remarks
The IShellLink instance pointed to by psl must provide the following:
- Either a pointer to an item identifier list (PIDL) (IShellLink::SetIDList) or the target path (IShellLink::SetPath or IShellLink::SetRelativePath)
- Command-line arguments (IShellLink::SetArguments)
- Icon location (IShellLink::SetIconLocation)
Optionally, the description field (IShellLink::SetDescription) can be set to provide a custom tooltip for the item in the Jump List.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Header | shlobj_core.h (include Shlobj.h) |
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για