All Frameworks  Class Hierarchy  This Framework  Indexes

System Global Function CATReadDirectory


CATLibStatus CATReadDirectory(CATDirectory* iDir,
CATDirectoryEntry* oEntry,
int* oEndOfDir)
Returns a pointer to the next directory entry.
Role:Returns a pointer to the next directory entry of a directory opened by CATOpenDirectory.
Parameters:
iDir
The directory opened by
CATOpenDirectory.
oEntry

Lifecycle rules deviation the handle on the next directory Entrythat must have been allocated by the caller.
oEndOfDir
pointer on an integer. When the end of the directory is reached, the pointed integer is set to 1, otherwise its value remains 0.
Returns:
Legal values
CATLibSuccess
the directory is closed
CATLibError
An error has occured.

This object is included in the file: CATLib.h

Copyright © 2003, Dassault Systèmes. All rights reserved.