INewShortcutHook::SetReferentINewShortcutHook::SetReferent*
*Contents  *Index  *Topic Contents
*Previous Topic: INewShortcutHook::SetFolder
*Next Topic: INotifyReplica

INewShortcutHook::SetReferent


HRESULT SetReferent(
    LPCTSTR pszReferent, 
    HWND hWnd
);

Sets the referent of the shortcut object.

pszReferent
Address of a character buffer that contains the referent.
hWnd
Handle to the window that will be used as the parent if the object needs to display a message box or dialog box.

For Internet shortcut objects, this method is the same as IUniformResourceLocator::SetURL.

See also INewShortcutHook


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