en:docs:fapi:functions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:docs:fapi:functions [2022/02/16 14:41] – created prokusheven:docs:fapi:functions [2022/08/31 14:41] (current) prokushev
Line 1: Line 1:
 +{{page>en:templates:fapiint}}
 +
 OS/2 1.0 introduced around 80-90 function calls (various information sources differ) that could be used in FAPI programs. OS/2 1.0 introduced around 80-90 function calls (various information sources differ) that could be used in FAPI programs.
  
Line 30: Line 32:
 | [[en:docs:fapi:DosQCurDisk]]       | Determines the current default drive for the requesting process | [[en:docs:os2:modules:DOSCALLS]] | API/FAPI | | Done | 1.00 | | [[en:docs:fapi:DosQCurDisk]]       | Determines the current default drive for the requesting process | [[en:docs:os2:modules:DOSCALLS]] | API/FAPI | | Done | 1.00 |
 | [[en:docs:fapi:DosQFileMode]]      | Queries the mode (attribute) of the specified file       | [[en:docs:os2:modules:DOSCALLS]] | API/FAPI | | Done | 1.00 | | [[en:docs:fapi:DosQFileMode]]      | Queries the mode (attribute) of the specified file       | [[en:docs:os2:modules:DOSCALLS]] | API/FAPI | | Done | 1.00 |
-| [[en:docs:fapi:DosQFSInfo]]        | Query file system info                                   | [[en:docs:os2:modules:DOSCALLS]] | API/FAPI | |  | 1.00 |+| [[en:docs:fapi:DosQFSInfo]]        | Query file system info                                   | [[en:docs:os2:modules:DOSCALLS]] | API/FAPI | | Done | 1.00 |
 | [[en:docs:fapi:DosQVerify]]        | Returns the value of the verify flag                     | [[en:docs:os2:modules:DOSCALLS]] | API/FAPI | Done | Done | 1.00 | | [[en:docs:fapi:DosQVerify]]        | Returns the value of the verify flag                     | [[en:docs:os2:modules:DOSCALLS]] | API/FAPI | Done | Done | 1.00 |
 | [[en:docs:fapi:DosRmDir]]          | Removes a subdirectory from the specified disk           | [[en:docs:os2:modules:DOSCALLS]] | API/FAPI | Done | Done | 1.00 | | [[en:docs:fapi:DosRmDir]]          | Removes a subdirectory from the specified disk           | [[en:docs:os2:modules:DOSCALLS]] | API/FAPI | Done | Done | 1.00 |
Line 46: Line 48:
 | [[en:docs:fapi:DosAllocSeg]]       | Allocate a data segment up to 64KB in size               | [[en:docs:os2:modules:DOSCALLS]] | API/FAPI | | Done | 1.00 | | [[en:docs:fapi:DosAllocSeg]]       | Allocate a data segment up to 64KB in size               | [[en:docs:os2:modules:DOSCALLS]] | API/FAPI | | Done | 1.00 |
 | [[en:docs:fapi:DosCaseMap]]        | Case mapping on a string                                 | [[en:docs:os2:modules:DOSCALLS]] | API/FAPI | | | 1.10 | | [[en:docs:fapi:DosCaseMap]]        | Case mapping on a string                                 | [[en:docs:os2:modules:DOSCALLS]] | API/FAPI | | | 1.10 |
-| [[en:docs:fapi:DosDevIOCtl]]       | Control functions on a device                            | [[en:docs:os2:modules:DOSCALLS]] | API/FAPI | | | 1.00 | +| [[en:docs:fapi:DosDevIOCtl]]       | Control functions on a device                            | [[en:docs:os2:modules:DOSCALLS]] | API/FAPI | | Done | 1.00 | 
-| [[en:docs:fapi:DosDevIOCtl2]]      | Control functions on a device                            | [[en:docs:os2:modules:DOSCALLS]] | API/FAPI | | | ???? |+| [[en:docs:fapi:DosDevIOCtl2]]      | Control functions on a device                            | [[en:docs:os2:modules:DOSCALLS]] | API/FAPI | | Done | ???? |
 | [[en:docs:fapi:DosError]]          | Receive hard error notification                          | [[en:docs:os2:modules:DOSCALLS]] | API/FAPI | | Done | 1.00 | | [[en:docs:fapi:DosError]]          | Receive hard error notification                          | [[en:docs:os2:modules:DOSCALLS]] | API/FAPI | | Done | 1.00 |
 | [[en:docs:fapi:DosErrClass]]       | Receive hard error code information                      | [[en:docs:os2:modules:DOSCALLS]] | API/FAPI | | | 1.10 | | [[en:docs:fapi:DosErrClass]]       | Receive hard error code information                      | [[en:docs:os2:modules:DOSCALLS]] | API/FAPI | | | 1.10 |
Line 174: Line 176:
  
                                  
-======Compatibility====== 
- 
-^    Feature          ^ DOS 16-bit Real Mode ^ DOS 16-bit Protected Mode ((Requires DPMI host with 16-bit client support)) ^ OS/2 16-bit Protected Mode ^ 
-| Max memory          | 640KB                | 16MB  ((Actually depends on DPMI host and current CPU)) |16MB | 
-| Virtual memory      | No                   | No   | 1Gb | 
-| Multitasking        | No                   | No   | Yes | 
-| Multithreading      | No                   | No   | Yes | 
-| Long filenames      | Yes ((Supported since version 1.20 Requires LFN driver under DOS or run in Windows 9x VDM.))                 | Yes ((Supported since version 1.20 Requires LFN driver under DOS or run in Windows 9x VDM.)) | Yes  ((Starting from OS/2 1.??)) | 
-| Extended attributes | Yes ((Under OS/2 BOX only))               | Yes ((Under OS/2 BOX only)) | Yes ((Starting from OS/2 1.??)) | 
-| App EXE name change | Yes ((Under DOS 3 and higher))  | Yes ((Under DOS 3 and higher))   | Yes | 
- 
- 
- 
-====== Remarks ====== 
- 
-For implementation details refer to [[en:docs:fapi:Implementation details]] section.