[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>