IDataObject::QueryGetData
Determines whether the data object is capable of rendering the data described
in the
FORMATETC structure. Objects attempting a paste or drop operation can call this method
before beginning the process. In some cases, the subsequent paste or drop
operation may still fail.
HRESULT QueryGetData(
FORMATETC * pFormatetc
| //Points to the data and formats to be used for the query
|
);
|
|
Parameter
pFormatetc
[in]Points to the format, media, and target device to use for the query.
Return Values
S_OK
Indicates a subsequent call to
IDataObject::GetData would probably be successful.
E_INVALIDARG
One or more arguments are invalid.
E_UNEXPECTED
An unexpected error occurred.
E_OUTOFMEMORY
The process didn't execute because the system ran out of memory.
DV_E_LINDEX
Invalid value for
lindex; currently, only -1 is supported.
DV_E_FORMATETC
Invalid value for
pFormatetc.
DV_E_TYMED
Invalid
tymed value.
DV_E_DVASPECT
Invalid
dwAspect value.
OLE_E_NOTRUNNING
Object application is not running.
See Also
IDataObject::GetData,
FORMATETC
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers
- More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
- Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database