Unit 'AmigaDOS' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#morphunits]

PAnchorPath

Structure expected by MatchFirst, MatchNext to find Files.

Declaration

Source position: amigados.pas line 855

type PAnchorPath = ^TAnchorPath;

Description

To search for files call MatchFirst() and then afterwards, MatchNext() with this structure. You should check the return value each time and take the appropriate action, ultimately calling MatchEnd() when there are no more files and you are done. You can tell when you are done by checking for the normal DOS return code ERROR_NO_MORE_ENTRIES.

See also

MatchFirst

  

Finds file that matches pattern

MatchNext

  

Finds the next file or directory that matches pattern

MatchEnd

  

Free storage allocated for MatchFirst()/MatchNext()


Documentation generated on: 2021-07-30