PyIDataObject.SetData

SetData(pformatetc, pmedium, fRelease)

Sets the data that the object will return.

Parameters

pformatetc : PyFORMATETC

Tuple representing a FORMATETC struct describing the type of data to be set

pmedium : PySTGMEDIUM

The data to be placed in the object

fRelease : boolean

If True, transfers ownership of the data to the object. If False, caller is responsible for releasing the STGMEDIUM.