Contents Previous Page Next Page
HlinkQueryCreateFromData

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

HRESULT HlinkQueryCreateFromData(

    IDataObject* 
pdatobj      //Data object to query      
                                                          
   );                                                     
                                                          

Parameters

pdatobj

[in] Pointer to the IDataObject supplying the hyperlink formats.

Return Values

S_OK

A hyperlink can be created from the data object.

S_FALSE

A hyperlink can not be created from the data object.

Remarks

A hyperlink can be created from an IDataObject in two ways:

20000001.gif The IDataObject offers the clip format CF_HYPERLINK on storage media type TYMED_ISTREAM or TYMED_HGLOBAL, enumerations on TYMED

20000001.gif The IDataObject offers Win95 shortcut data

See Also

HlinkCreateFromData