hFile (HFILE) - input

      The handle of the file whose buffers are to be written to the disk.

      If hFile has a value of 0xFFFFFFFF, all of the buffers for all of the file handles of the process are written to the disk.

    ulrc (APIRET) - returns

      Return Code.

      DosResetBuffer returns one of the following values:

    • NO_ERROR 2
        ERROR_FILE_NOT_FOUND
      5
        ERROR_ACCESS_DENIED
      6
        ERROR_INVALID_HANDLE
      For a full list of error codes, see Errors.


    [Back] [Next]