# IRdDnDDataObject Interface Reference

Inherits IRsDataObject.

List of all members.

## Public Member Functions
HRESULT | SetObject ([in] IRsObject *pvObj,[in] RtBool bDisposable)
HRESULT | GetObject ([out, retval] IRsObject **pvObj)
HRESULT | SetIdentification ([in] GUID gId)
HRESULT | GetIdentification ([out, retval] GUID *pgId)

## Detailed Description

IRdDnDDataObject define object for drag and drop. Source object is stored in variant and support nodes, data objects and other variant-storeable structures.

## Member Function Documentation

HRESULT IRdDnDDataObject::SetObject | ( | [in] IRsObject * | pvObj,
|  | [in] RtBool | bDisposable |
| ) |  |  |

Set DnD object.

Parameters:

  | pvObj | defines object to set to this Drag&Drop helper
  | bDisposable | defines that object should be destroyed upon data object release

HRESULT IRdDnDDataObject::GetObject | ( | [out, retval] IRsObject ** | pvObj | ) |

Get DnD object.

Parameters:

  | pvObj | object stored in D&D helper

HRESULT IRdDnDDataObject::SetIdentification | ( | [in] GUID | gId | ) |

Set DnD identification.

Parameters:

  | gId | D&D object identification.

HRESULT IRdDnDDataObject::GetIdentification | ( | [out, retval] GUID * | pgId | ) |

Get DnD object identification.

Parameters:

  | pgId | D&D object identification.