# IRsEnumCmds Interface Reference

Inherits IUnknown.

List of all members.

## Public Member Functions
HRESULT | Next ([in] ULONG cNumCmds,[out] IRsCommand **ppArrayCmds,[out] ULONG *pcFetched)
HRESULT | Skip ([in] ULONG cNumCmds)
HRESULT | Reset (void)
HRESULT | Clone ([out] IRsEnumCmds **ppEnum)

## Detailed Description

Command enumerator.

## Member Function Documentation

HRESULT IRsEnumCmds::Next | ( | [in] ULONG | cNumCmds,
|  | [out] IRsCommand ** | ppArrayCmds,
|  | [out] ULONG * | pcFetched |
| ) |  |  |

Fetches specified number of commands.

Parameters:

  | cNumCmds | [in] Number of commands to fetch.
  | ppArrayCmds | [out] Target array for commands.
  | pcFetched | [out] Returned number of commands.

HRESULT IRsEnumCmds::Skip | ( | [in] ULONG | cNumCmds | ) |

Skips specified number of commands in enumerator.

Parameters:

  | cNumCmds | [in] Number of commands to skip.

HRESULT IRsEnumCmds::Reset | ( | void |  | ) |

Resets the enumerator.

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

Clones the enumerator.

Parameters:

  | ppEnum | [out] Returned copy of enumerator.