ENV_GetLastResourceSetForIter

# ENV_GetLastResourceSetFromIter

## Syntax

      #include <nitro/env.h>

      ENVResource* ENV_GetLastResourceSetFromIter( ENVResourceIter* iter );

## Arguments

iter | Resource iterator.

## Return Values

None.

## Description

Gets the resource array for the last resource that was searched for using the resource iterator in the resource search.

`ENV_SearchByClass`
`ENV_SearchByMember`
`ENV_SearchByType`
`ENV_SearchByPartialName`

This is used for learning which resource belongs to a given resource array after a list of resources are obtained using the above-mentioned functions once they have searched the resources using the resource iterators.

Immediately after initializing the iterator with the `ENV_InitIter` function, it returns the first array on the list of resource arrays registered in the system.

When the search reaches the end, `NULL` is returned.

## See Also

`ENV_Init`
`ENV_InitIter`
`ENV_SearchByClass`
`ENV_SearchByMember`
`ENV_SearchByType`
`ENV_SearchByPartialName`

## Revision History

2008/10/29 Corrected errors.
2005/08/29 Initial version.

CONFIDENTIAL