INewShortcutHookA::GetReferent method (shlobj.h)
Gets the referent of the shortcut object.
Syntax
HRESULT GetReferent(
PSTR pszReferent,
int cchReferent
);
Parameters
pszReferent
Type: PTSTR
A pointer to a string that receives the referent.
cchReferent
Type: int
The size of the buffer at pszReferent, in characters.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
For Internet shortcut objects, this method is the same as IUniformResourceLocator::GetURL.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | shlobj.h |
DLL | Shell32.dll (version 4.0 or later) |
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για