pHfile (PHFILE) - in/out

      A pointer to the HFILE in which file handle informtion is stored.

      Input

        Contents of the address describes how the handle is to be duplicated. Possible values are shown in the list below:

        0xFFFFFFFF

          Allocate a new file handle and return it here.
        Any other value
          Assign this value as the new file handle. A valid value is any of the handles assigned to standard I/O, or the handle of a file currently opened by the process.
        Output
          Contents of the address contains the duplicate file handle.

          A value of 0xFFFFFFFF returns a value for pHfile, allocated by the operating system.


        [Back] [Next]