# IRsEncapsIt Interface Reference

Inherits IUnknown.

List of all members.

## Public Member Functions
HRESULT | Initialize ([in] IRnEncapsulator *pNode,[in] RtTraversalType type,[in] GUID filter)
HRESULT | Next (void)
HRESULT | IsFinished ([out, retval] RtBool *bFinished)
HRESULT | GetItem ([out, retval] IRsNode **ppItem)
HRESULT | GetRoot ([out, retval] IRnEncapsulator **ppRoot)
HRESULT | GetCurDepth ([out, retval] RtUlong *pDepth)

## Detailed Description

Encapsulator node iterator.

## Member Function Documentation

HRESULT IRsEncapsIt::Initialize | ( | [in] IRnEncapsulator * | pNode,
|  | [in] RtTraversalType | type,
|  | [in] GUID | filter |
| ) |  |  |

Parameters:

  | pNode | [in] .
  | type | [in] .
  | filter | [in] .

HRESULT IRsEncapsIt::Next | ( | void |  | ) |

Next.

HRESULT IRsEncapsIt::IsFinished | ( | [out, retval] RtBool * | bFinished | ) |

Returns:
  bFinished [out,retval] .

HRESULT IRsEncapsIt::GetItem | ( | [out, retval] IRsNode ** | ppItem | ) |

Returns:
  ppItem [out,retval] .

HRESULT IRsEncapsIt::GetRoot | ( | [out, retval] IRnEncapsulator ** | ppRoot | ) |

Returns:
  ppRoot [out,retval] .

HRESULT IRsEncapsIt::GetCurDepth | ( | [out, retval] RtUlong * | pDepth | ) |

Returns:
  pDepth [out,retval] .