IHlink::GetMiscStatus Met...     IHlink::GetStringReferenc...     IHlink Interface    
Web Workshop (Miscellaneous)

IHlink::GetMonikerReference Method


Retrieves the moniker and location portions of the target.

Syntax

HRESULT GetMonikerReference(
    DWORD dwWhichRef,          
    IMoniker *ppimkTarget,   
    LPWSTR *ppwzLocation     
);

Parameters

dwWhichRef
[in] HLINKGETREF value that specifies whether to retrieve the absolute or relative reference to the hyperlink target.
ppimkTarget
[out] Address of the IMoniker pointer of the target's moniker object, if any. This can be NULL, in which case the caller does not receive the moniker to the hyperlink reference.
ppwzLocation
[out] Address of the location portion of the target's moniker, if any. If this is NULL, the caller does not receive the location portion of the hyperlink reference.

Return Value

Returns S_OK if successful, or an error code otherwise.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0

See Also

IHlinkSite::GetMoniker, IHlinkTarget::GetMoniker


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.