HlinkQueryCreateFromDataHlinkQueryCreateFromData*
*



Contents  *



Index  *Topic Contents
*Previous Topic: HlinkOnNavigate
*Next Topic: HlinkSetSpecialReference

HlinkQueryCreateFromData

HRESULT HlinkQueryCreateFromData(
    IDataObject* piDataObj    //Data object to query
   );

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

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

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.

See also HlinkCreateFromData


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