Main Page Cookbook/Overview ImageMeister the jcprops file Licensing Please Vote! Binary Installation & Configuration [ Win · Mac · Nix ] Changes Public API Source Code Main Page Java [ Common · Win · Mac · Nix ] Native Code [ Common · Win · Mac · Nix ] Manifest Native Code Overviews [ Common · Win · Mac · Nix · Strings ] Macros [ General · Native Macros ] Walkthroughs [ Java only · Java and native ] Building [ Win · Mac · Nix ] Distribution Issues

# SFileIterate

  Used to obtain the contents of directories

[ Windows | Source | Keywords | Summary | Ancestors | All Members | Descendants ]

## Quick Index

  DESCRIPTION

## Class Summary

class SFileIterate
{
public:

  static ErrCode iFindFirstFile( const CStr *searchString, long *hFindP, long *dwAttrs, CStr *fileName );
  static ErrCode iFindNextFile( long hFind, long *dwAttrs, CStr *fileName );
  static ErrCode iNativeFindClose( long hFind );

protected:

}; // SFileIterate

Back to the top of SFileIterate

### DESCRIPTION

Wraps the FindFirstFile, FindNextFile, and FindClose routines

Back to the top of SFileIterate

### ErrCode iFindFirstFile( const CStr *searchString, long *hFindP, long *dwAttrs, CStr *fileName );

Wraps the FindFirstFile routine.

in searchString
  The directory to search; may have wildcards
out hFindP
  The search handle
out dwAttrs
  The attributes of the first found file
out fileName
  The name of the first found file.

    	static	ErrCode iFindFirstFile( const CStr *searchString, long *hFindP, long *dwAttrs, CStr *fileName );

Back to the top of SFileIterate

### ErrCode iFindNextFile( long hFind, long *dwAttrs, CStr *fileName );

Wraps the FindNextFile routine.

in hFind
  The search handle returned from iFindFirstFile
out dwAttrs
  The attributes of the next found file
out fileName
  The name of the next found file.

    	static	ErrCode iFindNextFile( long hFind, long *dwAttrs, CStr *fileName );

Back to the top of SFileIterate

### ErrCode iNativeFindClose( long hFind );

Wraps the FindClose routine.

in hFind
  The search handle returned from iFindFirstFile

    	static	ErrCode iNativeFindClose( long hFind );

Back to the top of SFileIterate

## All Members

public:
  static ErrCode iFindFirstFile( const CStr *searchString, long *hFindP, long *dwAttrs, CStr *fileName );
  static ErrCode iFindNextFile( long hFind, long *dwAttrs, CStr *fileName );
  static ErrCode iNativeFindClose( long hFind );
protected:

Back to the top of SFileIterate

## Ancestors

Class does not inherit from any other class.

Back to the top of SFileIterate

## Descendants

Class is not inherited by any others.

Back to the top of SFileIterate

Generated from source by the Cocoon utilities on Mon May 28 10:10:58 2001 .

Main Page · JConfig · ImageMeister · System Properties Repository · WordMeister · Free Samples · Java Freeware · Contact Us · FAQ · Links

Copyright (c) 1997,1998,1999,2000 Samizdat Productions. All Rights Reserved.
WarpMovie, TileMovie, JConfig, ImageMeister and MovieShredder are Trademarks of Samizdat Productions.