Contents Index Topic Contents | ||
Previous Topic: INewShortcutHook::GetName Next Topic: INewShortcutHook::SetFolder |
INewShortcutHook::GetReferent
HRESULT GetReferent( LPTSTR pszReferent, int cchReferent );Retrieves the referent of the shortcut object.
- Returns NOERROR if successful, or an OLE-defined error code otherwise.
- pszReferent
- Address of a character buffer that receives the referent.
- cchReferent
- Size of the buffer at pszReferent, in characters.
For Internet shortcut objects, this method is the same as IUniformResourceLocator::GetURL.
See also INewShortcutHook
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.