[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


   NAME
	MatchNext - Finds the next file or directory that matches pattern (V36)

   SYNOPSIS
	error = MatchNext(AnchorPath)
	D0                    D1

	LONG MatchNext(struct AnchorPath *)

   FUNCTION
	Locates the next file or directory that matches a given pattern.
	See <dos/dosasl.h> for more information.  Various bits in the flags
	allow the application to control the operation of MatchNext().

	See MatchFirst() for other notes.

   INPUTS
	AnchorPath - Place holder for search.  MUST be longword aligned!

   RESULT
	error - 0 for success or error code.  (Opposite of most Dos calls)

   BUGS
	See MatchFirst().

   SEE ALSO
	MatchFirst(), ParsePattern(), Examine(), CurrentDir(), Examine(),
	MatchEnd(), ExNext(), <dos/dosasl.h>