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.