Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
en:docs:fapi:dosduphandle [2021/09/17 05:54] – prokushev | en:docs:fapi:dosduphandle [2021/12/05 09:55] (current) – prokushev | ||
---|---|---|---|
Line 22: | Line 22: | ||
===== Return Code ===== | ===== Return Code ===== | ||
- | + | rc ([[USHORT]]) - return | |
- | | + | |
| | ||
Return code descriptions are: | Return code descriptions are: | ||
Line 35: | Line 34: | ||
- | Duplicating the handle duplicates and ties all handle-specific information between OldFileHandle and NewFileHandle. For example, if you move the read/write pointer of either handle by a DosRead, DosWrite, or DosChgFilePtr function call, the pointer for the other handle is also changed. | + | Duplicating the handle duplicates and ties all handle-specific information between OldFileHandle and NewFileHandle. For example, if you move the read/write pointer of either handle by a [[DosRead]], [[DosWrite]], or [[DosChgFilePtr]] function call, the pointer for the other handle is also changed. |
The valid values for NewFileHandle include the following handles for standard I/O, which are always available to the process: | The valid values for NewFileHandle include the following handles for standard I/O, which are always available to the process: |