Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

BOOL PDirectory::Next (  ) 

Move to the next file in the directory scan.

Only files that are of a type that is specified in the mask passed to the Open()# or Restart()# functions will be returned.

Note that the directory scan will { not} return the "." and ".." entries that some platforms support.

Returns:
TRUE if there is another valid file in the directory.

Definition at line 95 of file doswin.cxx.

Referenced by Open().

{
  do {
    if (_dos_findnext(&fileinfo) != 0)
      return FALSE;
  } while (Filtered());

  return TRUE;
}


Generated by  Doxygen 1.6.0   Back to index