Click to return to the Reusing Browser Technology home page    
IHTMLDataTransfer::clearD...     IHTMLDataTransfer::setDat...     IHTMLDataTransfer Interfa...    
Web Workshop  |  Reusing Browser Technology

IHTMLDataTransfer::getData Method


Specifies which data format to retrieve from the system clipboard through the IHTML::DataTransfer object.

Syntax

HRESULT getData(
   BSTR format,
   VARIANT_BOOL *pret
);

Parameters

format
String (BSTR) that represents the data format that the drop target should read from the system clipboard using the IHTML::DataTransfer object. For more information, see the DHTML getData method.
pret
Address of a VARIANT Boolean structure that returns VARIANT_TRUE or VARIANT_FALSE based on success or failure of the call to the getData method.

Return Value

Returns S_OK if successful, or an error code otherwise.



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.