CPI Functions Analysis and Comparison (OS2Linux / 2Ine): Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 132: | Line 132: | ||
===== Advanced VIO ===== | ===== Advanced VIO ===== | ||
{| class="wikitable sortable" border="1" | |||
|- | |||
! CPI Function Name !! Available !! Link | |||
|- | |||
| [[OS2 API:VioAssociate|VioAssociate]] || No || | |||
|- | |||
| [[OS2 API:VioCreateLogFont|VioCreateLogFont]] || No || | |||
|- | |||
| [[OS2 API:VioCreatePS|VioCreatePS]] || No || | |||
|- | |||
| [[OS2 API:VioDeleteSetId|VioDeleteSetId]] || No || | |||
|- | |||
| [[OS2 API:VioDestroyPS|VioDestroyPS]] || No || | |||
|- | |||
| [[OS2 API:VioGetDeviceCellSize|VioGetDeviceCellSize]] || No || | |||
|- | |||
| [[OS2 API:VioGetOrg|VioGetOrg]] || No || | |||
|- | |||
| [[OS2 API:VioQueryFonts|VioQueryFonts]] || No || | |||
|- | |||
| [[OS2 API:VioQuerySetIds|VioQuerySetIds]] || No || | |||
|- | |||
| [[OS2 API:VioSetDeviceCellSize|VioSetDeviceCellSize]] || No || | |||
|- | |||
| [[OS2 API:VioSetOrg|VioSetOrg]] || No || | |||
|- | |||
| [[OS2 API:VioShowPS|VioShowPS]] || No || | |||
|- | |||
| [[OS2 API:WinDefAVioWindowProc|WinDefAVioWindowProc]] || No || | |||
|- | |||
|} | |||
==== Keyboard functions ==== | ==== Keyboard functions ==== | ||
Revision as of 21:36, 22 April 2016
This is a light check of what functions of Control Program Interface does the OS2Linux projects has implemented. It was not tested so we can not know for sure if the 100% of the functionality is implemented.
Date/Time
| CPI Function Name | Available | Link |
|---|---|---|
| DosGetDateTime | Yes | datetime.c |
| DosSetDateTime | Yes | datetime.c |
Device I/O
| CPI Function Name | Available | Link |
|---|---|---|
| DosBeep | Yes | process.c |
| DosDevConfig | No | |
| DosDevIOCtl | No | |
| DosListIO | No | |
| DosListIOL | No | |
| DosPhysicalDisk | No |
Video I/O functions
| CPI Function Name | Available | Link |
|---|---|---|
| VioRegister | No | |
| VioGlobalReg | No | |
| VioDeRegister | No | |
| VioGetBuf | No | |
| VioGetCurPos | Yes | sub.c |
| VioSetCurPos | Yes | sub.c |
| VioGetCurType | No | |
| VioSetCurType | No | |
| VioGetMode | No | |
| VioSetMode | No | |
| VioGetPhysBuf | No | |
| VioReadCellStr | No | |
| VioReadCharStr | No | |
| VioWrtCellStr | No | |
| VioWrtCharStr | Yes | sub.c |
| VioScrollDn | No | |
| VioScrollUp | No | |
| VioScrollLf | No | |
| VioScrollRt | No | |
| VioWrtNAttr | No | |
| VioWrtNCell | No | |
| VioWrtNChar | Yes | sub.c |
| VioWrtTTY | Yes | sub.c |
| VioWrtCharStrAtt | No | |
| VioCheckCharType | No | |
| VioShowBuf | No | |
| VioSetAnsi | No | |
| VioGetAnsi | No | |
| VioPrtSc | No | |
| VioPrtScToggle | No | |
| VioRedrawSize | No | |
| VioSavRedrawWait | No | |
| VioSavRedrawUndo | No | |
| VioModeWait | No | |
| VioModeUndo | No | |
| VioModeUndo | No | |
| VioScrUnLock | No | |
| VioPopUp | No | |
| VioEndPopUp | No | |
| VioGetConfig | No | |
| VioGetConfig | No | |
| VioSetFont | No | |
| VioGetCp | No | |
| VioSetCp | No | |
| VioGetState | No | |
| VioSetState | No |
Advanced VIO
| CPI Function Name | Available | Link |
|---|---|---|
| VioAssociate | No | |
| VioCreateLogFont | No | |
| VioCreatePS | No | |
| VioDeleteSetId | No | |
| VioDestroyPS | No | |
| VioGetDeviceCellSize | No | |
| VioGetOrg | No | |
| VioQueryFonts | No | |
| VioQuerySetIds | No | |
| VioSetDeviceCellSize | No | |
| VioSetOrg | No | |
| VioShowPS | No | |
| WinDefAVioWindowProc | No |
Keyboard functions
- KbdRegister
- KbdDeRegister
- KbdCharIn
- KbdPeek
- KbdStringIn
- KbdFlushBuffer
- KbdSetStatus
- KbdGetStatus
- KbdSetCp
- KbdGetCp
- KbdOpen
- KbdClose
- KbdGetFocus
- KbdFreeFocus
- KbdSynch
- KbdSetFgnd
- KbdGetHWID
- KbdSetHWID
- KbdXlate
- KbdSetCustXt
Mouse functions
- MouRegister
- MouDeRegister
- MouFlushQue
- MouGetPtrPos
- MouSetPtrPos
- MouSetPtrShape
- MouGetPtrShape
- MouGetDevStatus
- MouGetNumButtons
- MouGetNumMickeys
- MouReadEventQue
- MouGetNumQueEl
- MouGetEventMask
- MouSetEventMask
- MouGetScaleFact
- MouSetScaleFact
- MouOpen
- MouClose
- MouRemovePtr
- MouDrawPtr
- MouSetDevStatus
- MouInitReal
- MouSynch
- MouGetThreshold
- MouSetThreshold
Monitor functions
Dynamic Linking Library
- DosFreeModule
- DosLoadModule
- DosQueryAppType
- DosQueryModuleHandle
- DosQueryModuleName
- DosQueryProcAddr
- DosQueryProcType
Error Management
Exception Management
Must Complete Management
Signaling Exception Management
File Systems/File Management
Directory Searching
Directory
Disk
Environment/Path
LibPath
File Manipulation
- DosCancelLockRequest
- DosCancelLockRequestL
- DosClose
- DosProtectClose
- DosCopy
- DosDelete
- DosEditName
- DosForceDelete
- DosMove
- DosOpen
- DosOpenL
- DosProtectOpen
- DosProtectOpenL
- DosRead
- DosProtectRead
- DosSetFileInfo
- DosProtectSetFileInfo
- DosSetFileLock
- DosSetFileLockL
- DosProtectSetFileLock
- DosProtectSetFileLockL
- DosSetFilePtr
- DosSetFilePtrL
- DosProtectSetFilePtr
- DosProtectSetFilePtrL
- DosSetFileSize
- DosSetFileSizeL
- DosProtectSetFileSize
- DosProtectSetFileSizeL
- DosSetPathInfo
- DosSetVerify
- DosWrite
- DosProtectWrite
File Handle Manipulation
- DosDupHandle
- DosQueryFHState
- DosProtectQueryFHState
- DosQueryHType
- DosResetBuffer
- DosSetFHState
- DosProtectSetFHState
- DosSetMaxFH
- DosSetRelMexFH
File Querying
- DosEnumAttribute
- DosProtectEnumAttribute
- DosQueryFileInfo
- DosProtectQueryFileInfo
- DosQueryPathInfo
- DosQuerySysInfo
- DosQueryVerify
File System Functions
Memory Management
Heap Memory
Shared Memory
Thread local Memory
Addressing
Message Management
National Language/Code Page
Pipes
Named Pipes
- DosCallNPipe
- DosConnectNPipe
- DosConnectNPipe
- DosDisConnectNPipe
- DosPeekNPipe
- DosQueryNPHState
- DosQueryNPipeInfo
- DosQueryNPipeSemState
- DosResetBuffer
- DosSetNPHState
- DosSetNPipeSem
- DosTransactNPipe
- DosWaitNPipe
Queues
Server
Client
Resource Management
Semaphores
Event Semaphores
- DosCloseEventSem
- DosCreateEventSem
- DosOpenEventSem
- DosPostEventSem
- DosQueryEventSem
- DosResetEventSem
- DosWaitEventSem
Mutex Semaphores
- DosCloseMutexSem
- DosCreateMutexSem
- DosOpenMutexSem
- DosQueryMutexSem
- DosReleaseMutexSem
- DosRequestMutexSem
MuxWait Semaphores
- DosAddMuxWaitSem
- DosCloseMuxWaitSem
- DosCreateMuxWaitSem
- DosDeleteMuxWaitSem
- DosOpenMuxWaitSem
- DosQueryMuxWaitSem
- DosWaitMuxWaitSem
Processes/Threading
Processes
Threads
- DosCreateThread
- DosKillThread
- DosQueryThreadAffinity
- DosResumeThread
- DosSetThreadAffinity
- DosSleep
- DosSuspendThread
- DosWaitThread