Transfers data to the source data object.
| FORMATETC * pFormatetc,
||//Points to the data and formats used to interpret the data
| STGMEDIUM * pmedium,
||//Points to the storage medium in which the data is transferred
| BOOL fRelease
||//Indicates what owns the storage medium after the call is completed
[in]Points to the format used by the data object when interpreting the data
contained in the storage medium.
[in]Points to the storage medium.
[in]Indicates what has ownership of the storage medium after the call is
complete. If fRelease
is TRUE, IDataObject::SetData
takes ownership, freeing the medium after it has been used by calling ReleaseStgMedium
. If fRelease
is FALSE, the caller retains ownership and the callee uses the storage medium
for the duration of the call only.
Data was successfully transferred.
The data was not transferred.
This method is not implemented for the data object.
One or more arguments are invalid.
An unexpected error occurred.
The data wasn't transferred because the system ran out of memory.
Invalid value for lindex
; currently, only -1 is supported.
Invalid value for pFormatetc
Object application is not running.
The callee does not take ownership of the data until it has successfully used
it and no error code is returned.
The type of medium (TYMED
) in the pformatetc
parameters must be equal. For example, one cannot be an hGlobal and the other
- Software for developers
Software for Android Developers
- More information resources
Unix Manual Pages
- Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database