Family API: Difference between revisions
Appearance
m →Dos |
No edit summary |
||
Line 4: | Line 4: | ||
==Function Calls== | ==Function Calls== | ||
<div style="column-count:3;-moz-column-count:3;-webkit-column-count:3"> | |||
===Dos=== | ===Dos=== | ||
*BadDynLink | *BadDynLink | ||
Line 103: | Line 104: | ||
Restricted | Restricted | ||
*[[VioScrLock (FAPI)|VioScrLock]] | *[[VioScrLock (FAPI)|VioScrLock]] | ||
</div> | |||
==Limitations== | ==Limitations== |
Revision as of 02:38, 10 May 2017
Family API (FAPI) is a subset of function calls for development of OS/2 protected mode and real mode programs.
OS/2 1.0 introduced 91 function calls that could be used in FAPI programs.
Function Calls
Dos
- BadDynLink
- DosBeep
- DosChDir
- DosChgFilePtr
- DosClose
- DosCreateCSAlias
- DosDelete
- DosDevConfig
- DosDupHandle
- DosFreeSeg
- DosGetDateTime
- DosGetEnv
- DosGetHugeShift
- DosGetMachineMode
- DosGetMessage
- DosGetVersion
- DosInsMessage
- DosMkDir
- DosMove
- DosNewSize
- DosPutMessage
- DosQCurDir
- DosQCurDisk
- DosQFileMode
- DosQFSInfo
- DosQVerify
- DosRmDir
- DosSelectDisk
- DosSetDateTime
- DosSetFileInfo
- DosSetFileMode
- DosSetVerify
- DosSleep
- DosSubAlloc
- DosSubFree
- DosSubSet
- DosWrite
Restricted
- DosAllocHuge
- DosAllocSeg
- DosCaseMap
- DosCWait
- DosDevIOCtl
- DosError
- DosExecPgm
- DosExit
- DosFileLocks
- DosFindClose
- DosFindFirst
- DosFindNext
- DosGetCtryInfo
- DosGetDBCSEv
- DosGetSpecChar
- DosHoldSignal
- DosOpen (FAPI)
- DosQFileInfo
- DosRead (FAPI)
- DosReallocHuge
- DosReallocSeg
- DosSetCtryCode
- DosSetFHState
- DosSetSigHandler
Kbd
Restricted
Vio
- VioGetBuf
- VioGetCurPos
- VioGetCurType
- VioGetPhysBuf
- VioReadCellStr
- VioReadCharStr
- VioScrollDn
- VioScrollLf
- VioScrollRt
- VioScrUnLock
- VioSetCurPos
- VioSetCurType
- VioSetMode
- VioShowBuf
- VioWrtCellStr
- VioWrtCharStr
- VioWrtCharStrAtt
- VioWrtNAttr
- VioWrtNCell
- VioWrtNChar
- VioWrtTTY
Restricted
Limitations
- Real Mode
- max. 640K memory
- no virtual adress space
- no multitasking
- no undocumented OS services
- If the filename of an executable produced by BIND is changed, then it will not run under DOS 2.1.
- Protected Mode
- 16 MB memory
- 1GB virtual address space
Article
Links
- The 16-bit Family API toolkit - C/C++