# IRsHistory Interface Reference

Inherits IRsObject.

List of all members.

## Public Member Functions
HRESULT | Add ([in] IRsCommand *pCmd)
HRESULT | Collapse (void)
HRESULT | EnumCmds ([out] RtUlong *pCNumCmds,[out, retval] IRsEnumCmds **ppEnum)
## Properties
RtUlong * | DepthLevel`[get]`
RtUlong | DepthLevel`[set]`

## Detailed Description

Holds information about command history.

## Member Function Documentation

HRESULT IRsHistory::Add | ( | [in] IRsCommand * | pCmd | ) |

Parameters:

  | pCmd | [in] .

HRESULT IRsHistory::Collapse | ( | void |  | ) |

Collapse.

HRESULT IRsHistory::EnumCmds | ( | [out] RtUlong * | pCNumCmds,
|  | [out, retval] IRsEnumCmds ** | ppEnum |
| ) |  |  |

Parameters:

  | pCNumCmds | [out] .

Returns:
  ppEnum [out,retval] .

## Property Documentation

RtUlong* IRsHistory::DepthLevel`[get]`

Returns:
  pVal [out,retval] .

RtUlong IRsHistory::DepthLevel`[set]`

Parameters:

  | newVal | [in] .