Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Sets the referent of the shortcut object.
Syntax
HRESULT SetReferent(
PCSTR pcszReferent,
HWND hwnd
);
Parameters
pcszReferent
TBD
hwnd
TBD
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::SetURL.
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) |