HlinkPreprocessMoniker Fu...     HlinkResolveMonikerForDat...     Hyperlinks Functions    
Web Workshop (Miscellaneous)

HlinkQueryCreateFromData Function


Determines if a new hyperlink can be created from an IDataObject interface.

Syntax

HRESULT HlinkQueryCreateFromData(
    IDataObject* piDataObj    
);

Parameters

piDataObj
[in] Address of the IDataObject interface supplying the hyperlink formats.

Return Value

Returns S_OK if a hyperlink can be created from the data object, or S_FALSE if not.

Remarks

The application must call the HlinkQueryCreateFromData function to find out whether the hyperlink can be created from the data object obtained from the clipboard, from a drag-and-drop operation, or from any other means.

A hyperlink can be created if the IDataObject interface supports one of the following formats: cfHyperlink, cfUniformResourceLocator, CF_HDROP, or cfFileName.

Function Information

Windows NT Use version 4.0.
Windows Use Windows 95 and later.
Header Hlink.h
Import Library Hlink.lib
Minimum availability Internet Explorer 3.0

See Also

HlinkCreateFromData



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.