# IRsEnumPackage Interface Reference

Inherits IUnknown.

List of all members.

## Public Member Functions
HRESULT | Next ([in] ULONG cNumPcks,[out] IRsUnknownPackage **ppArrayCmds,[out] ULONG *pcFetched)
HRESULT | Skip ([in] ULONG cNumPcks)
HRESULT | Reset (void)
HRESULT | Clone ([out] IRsEnumPackage **ppEnum)

## Detailed Description

Package enumerator.

## Member Function Documentation

HRESULT IRsEnumPackage::Next | ( | [in] ULONG | cNumPcks,
|  | [out] IRsUnknownPackage ** | ppArrayCmds,
|  | [out] ULONG * | pcFetched |
| ) |  |  |

Fetches specified number of packages from enumerator.

Parameters:

  | cNumPcks | [in] Desired number of packages to fetch.
  | ppArrayCmds | [out] Target array of packages.
  | pcFetched | [out] Number of packages really fetched.

HRESULT IRsEnumPackage::Skip | ( | [in] ULONG | cNumPcks | ) |

Skips the specified number of packages in enumerator.

Parameters:

  | cNumPcks | [in] Number of packages to skip.

HRESULT IRsEnumPackage::Reset | ( | void |  | ) |

Resets the enumerator to initial state.

HRESULT IRsEnumPackage::Clone | ( | [out] IRsEnumPackage ** | ppEnum | ) |

Creates a copy of enumerator.

Parameters:

  | ppEnum | [out] Returned copy of enumerator.