INewShortcutHook::GetReferentINewShortcutHook::GetReferent*
*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.

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


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.