This methods returns an enumerator which is used to iterate through directory entries for the specified directory.
- Parameters
-
| pszDirectory | A pointer to a P6WCHAR string containing the directory path to enumerate. Wild cards are not allowed. |
| fFlags | Flags used to control the information returned during the enumeration. See P6R::P6DIRFLAGS. |
| ppEnum | The address of a P6R::p6IEnumDirents * in which will be placed a pointer to the newly created enumerator. |
- Returns
| Success | P6R::eOk | |
| Failure | P6R::eInvalidArg | pszDirectory and/or ppEnum is NULL |
| P6R::eNotInitialized | The initialize() method was not called successfully before calling this method. |
| P6R::eNoMemory | There was not enough memory available to complete the operation. |
| P6R::ePathNotFound | The path specified could not be found. |
| P6R::eNotADir | The path specified was found, but is not a directory. |
| Any valid P6ERR. | |