# IRsDockingTarget Interface Reference

Inherits IUnknown.

List of all members.

## Public Member Functions
Methods
HRESULT | AddDockedWindow ([in] IRsDockedWindow *pDockedWindow)
HRESULT | RemoveDockedWindow ([in] IRsDockedWindow *pDockedWindow)
## Properties
Properties
RECT * | DockingRectangle`[get]`

## Detailed Description

Interface of Rosetta Window Node.

Author:
  Ivan Hronec This interface declares properties and methods that allow make a docking target window.

## Member Function Documentation

HRESULT IRsDockingTarget::AddDockedWindow | ( | [in] IRsDockedWindow * | pDockedWindow | ) |

This method adds new docked window to list of docked windows.

Parameters:

  | pDockedWindow | [In] Pointer to docked window.

Returns:
  S_OK when window was successfully added.

  Error code otherwise.

HRESULT IRsDockingTarget::RemoveDockedWindow | ( | [in] IRsDockedWindow * | pDockedWindow | ) |

This method removes docked window from list of docked windows.

Parameters:

  | pDockedWindow | [In] Pointer to docked window.

Returns:
  S_OK when window was successfully removed.

  S_FALSE when window was not found in list.

  Error code otherwise.

## Property Documentation

RECT* IRsDockingTarget::DockingRectangle`[get]`

DockingRectangle property defines rectangle for docked windows.

Parameters:

  | pVal | [Out] Pointer to buffer for property value.

Returns:
  S_OK on success.

  Error code otherwise.