# IRsBaseSelection Struct Reference

IRsBaseSelection represents the base selection. It has to be createable using standard dataobject factories. More...

Inherits IRsDataObject.

Inherited by IRdAnimClipSel, IRdAnimSel, IRdSelNodeSelection, and IRdSelNodeSelection.

List of all members.

## Public Member Functions
HRESULT | Initialize ([in] GUID SelectionID,[in] IUnknown *pManager)
| Initialize the selection after it was added to the selection manager for the first time.
HRESULT | Deinitialize ()
| Deinitialize the selection after it was removed from the selection manager.
HRESULT | GetSelectionID ([out, retval] GUID *SelectionID)
| Return the assigned selectionID.

## Detailed Description

IRsBaseSelection represents the base selection. It has to be createable using standard dataobject factories.

## Member Function Documentation

HRESULT IRsBaseSelection::Initialize | ( | [in] GUID | SelectionID,
|  | [in] IUnknown * | pManager |
| ) |  |  |

Initialize the selection after it was added to the selection manager for the first time.

Parameters:

  | SelectionID | [in] Specifies the assigned SelectionID.
  | pManager | [in] Specifies the associated selection manager. You can safely cast it into IRsSelectionManager

HRESULT IRsBaseSelection::Deinitialize | ( |  | ) |

Deinitialize the selection after it was removed from the selection manager.

HRESULT IRsBaseSelection::GetSelectionID | ( | [out, retval] GUID * | SelectionID | ) |

Return the assigned selectionID.

Returns:
  SelectionID [out,retval] Has to be filled with ID passed during the Initialize or with GUID_NULL if selection is not initialized (or after Deinitialize).