hDir (HDIR) - input

      The handle of the directory.

    pfindbuf (PVOID) - in/out

      The address of the directory search information structure.

      The information returned reflects the most recent call to DosClose or DosResetBuffer.

      For the continuation of a Level 3 (FIL_QUERYEASFROMLIST) File Informationsearch, this buffer should contain input in the same format as a Level 3 File Information search by DosFindFirst.

      See the description of the pfindbuf parameter in DosFindFirst for information about the output data that the file system driver places into this buffer.

    cbfindbuf (ULONG) - input

      The length, in bytes, of pfindbuf.

    pcFilenames (PULONG) - in/out

      Pointer to the number of entries.

      Input

        The address of the number of matching entries requested in pfindbuf.
      Output
        The number of entries placed into pfindbuf.

      ulrc (APIRET) - returns

        Return Code.

        DosFindNext returns one of the following values:

      • NO_ERROR 6
          ERROR_INVALID_HANDLE
        18
          ERROR_NO_MORE_FILES
        26
          ERROR_NOT_DOS_DISK
        87
          ERROR_INVALID_PARAMETER
        111
          ERROR_BUFFER_OVERFLOW
        275
          ERROR_EAS_DIDNT_FIT
        For a full list of error codes, see Errors.


      [Back] [Next]