Jump to content

Control Program Functions List: Difference between revisions

From EDM2
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
== Control Programming Interface ==
== Control Programming Interface ==
Some general information is available at [[Control Program]] page.  
Some general information is available at [[Control Program]] page.


<div style="column-count:3;-moz-column-count:3;-webkit-column-count:3">
<div style="column-count:3;-moz-column-count:3;-webkit-column-count:3">
Line 32: Line 32:
* [[DosDebug]]
* [[DosDebug]]
* [[DosSuppressPopUps]]
* [[DosSuppressPopUps]]
* [[DosDumpProcess]]  [[Image:Conf.gif]]
* [[DosDumpProcess]]
* [[DosForceSystemDump]] [[Image:Conf.gif]]
* [[DosForceSystemDump]]
* [[Dos16SysTrace]] [[Image:Conf.gif]]
* [[Dos16SysTrace]]


=== Exception Management ===
=== Exception Management ===
* [[DosQueryModFromEIP]] [[Image:Conf.gif]]
* [[DosQueryModFromEIP]]
* [[DosRaiseException]]
* [[DosRaiseException]]
* [[DosSetExceptionHandler]]
* [[DosSetExceptionHandler]]
* [[DosUnsetExceptionHandler]]
* [[DosUnsetExceptionHandler]]
* [[DosUnwindException]]
* [[DosUnwindException]]
* [[Dos16QueryModFromCS]] [[Image:Conf.gif]]
* [[Dos16QueryModFromCS]]


==== Must Complete Management ====
==== Must Complete Management ====
Line 63: Line 63:
* [[DosQueryCurrentDir]]
* [[DosQueryCurrentDir]]
* [[DosSetCurrentDir]]
* [[DosSetCurrentDir]]
==== Disk ====
==== Disk ====
* [[DosQueryCurrentDisk]]
* [[DosQueryCurrentDisk]]
Line 73: Line 72:
* [[DosQueryExtLIBPATH]]
* [[DosQueryExtLIBPATH]]
* [[DosSetExtLIBPATH]]
* [[DosSetExtLIBPATH]]
==== File Manipulation ====
==== File Manipulation ====
* [[DosCancelLockRequest]]  
* [[DosCancelLockRequest]]
* [[DosCancelLockRequestL]] [[Image:Conf.gif]]
* [[DosCancelLockRequestL]]
* [[DosClose]]
* [[DosClose]]
* [[DosProtectClose]]
* [[DosProtectClose]]
Line 85: Line 83:
* [[DosMove]]
* [[DosMove]]
* [[DosOpen]]
* [[DosOpen]]
* [[DosOpenL]] [[Image:Conf.gif]]
* [[DosOpenL]]
* [[DosProtectOpen]]
* [[DosProtectOpen]]
* [[DosProtectOpenL]] [[Image:Conf.gif]]
* [[DosProtectOpenL]]
* [[DosRead]]
* [[DosRead]]
* [[DosReplaceModule]] [[Image:Conf.gif]]
* [[DosReplaceModule]]
* [[DosProtectRead]]
* [[DosProtectRead]]
* [[DosSetFileInfo]]
* [[DosSetFileInfo]]
* [[DosProtectSetFileInfo]]
* [[DosProtectSetFileInfo]]
* [[DosSetFileLocks]]
* [[DosSetFileLocks]]
* [[DosSetFileLocksL]] [[Image:Conf.gif]]
* [[DosSetFileLocksL]]
* [[DosProtectSetFileLocks]]
* [[DosProtectSetFileLocks]]
* [[DosProtectSetFileLocksL]] [[Image:Conf.gif]]
* [[DosProtectSetFileLocksL]]
* [[DosSetFilePtr]]
* [[DosSetFilePtr]]
* [[DosSetFilePtrL]] [[Image:Conf.gif]]
* [[DosSetFilePtrL]]
* [[DosProtectSetFilePtr]]
* [[DosProtectSetFilePtr]]
* [[DosProtectSetFilePtrL]] [[Image:Conf.gif]]
* [[DosProtectSetFilePtrL]]
* [[DosSetFileSize]]
* [[DosSetFileSize]]
* [[DosSetFileSizeL]] [[Image:Conf.gif]]
* [[DosSetFileSizeL]]
* [[DosProtectSetFileSize]]
* [[DosProtectSetFileSize]]
* [[DosProtectSetFileSizeL]] [[Image:Conf.gif]]
* [[DosProtectSetFileSizeL]]
* [[DosSetPathInfo]]
* [[DosSetPathInfo]]
* [[DosSetVerify]]
* [[DosSetVerify]]
Line 125: Line 123:
* [[DosProtectEnumAttribute]]
* [[DosProtectEnumAttribute]]
* [[DosQueryFileInfo]]
* [[DosQueryFileInfo]]
* [[DosQueryFileMode]] [[image:Att.gif]] [[image:Vraag.gif]] [https://books.google.com.ec/books?id=u7WbsmbttwYC&pg=PT372&lpg=PT372&dq#v=onepage&q&f=false]
* [[DosQueryFileMode]]
* [[DosProtectQueryFileInfo]]
* [[DosProtectQueryFileInfo]]
* [[DosQueryPathInfo]]
* [[DosQueryPathInfo]]
* [[DosQuerySysInfo]]
* [[DosQuerySysInfo]]
* [[DosQuerySysState]]    [[Image:Conf.gif]]
* [[DosQuerySysState]]
* [[DosQueryVerify]]
* [[DosQueryVerify]]
* [[DosPerfSysCall]]
* [[DosPerfSysCall]]
* [[DosGetProcessorStatus]]    [[Image:Conf.gif]]
* [[DosGetProcessorStatus]]
* [[DosSetProcessorStatus]]    [[Image:Conf.gif]]
* [[DosSetProcessorStatus]]
* [[DosQueryABIOSSupport]]  [[Image:Conf.gif]]
* [[DosQueryABIOSSupport]]


==== File System Functions ====
==== File System Functions ====
Line 146: Line 144:


=== Memory Management ===
=== Memory Management ===
* [[DosAliasMem]] [[Image:Conf.gif]]
* [[DosAliasMem]]
* [[DosAllocMem]]
* [[DosAllocMem]]
* [[DosFreeMem]]
* [[DosFreeMem]]
* [[DosQueryMem]]
* [[DosQueryMem]]
* [[DosQueryMemState]] [[Image:Conf.gif]]
* [[DosQueryMemState]]
* [[DosSetMem]]
* [[DosSetMem]]


Line 205: Line 203:
* [[DosQueryQueue]]
* [[DosQueryQueue]]
* [[DosWriteQueue]]
* [[DosWriteQueue]]
==== Server ====
==== Server ====
* [[DosCreateQueue]]
* [[DosCreateQueue]]
Line 212: Line 209:
* [[DosReadQueue]]
* [[DosReadQueue]]
==== Client ====
==== Client ====
* [[OS2 API:CPI:DosOpenQueue|DosOpenQueue]]
* [[DosOpenQueue]]


=== Resource Management ===
=== Resource Management ===
Line 228: Line 225:
* [[DosResetEventSem]]
* [[DosResetEventSem]]
* [[DosWaitEventSem]]
* [[DosWaitEventSem]]
==== Mutex Semaphores ====
==== Mutex Semaphores ====
* [[DosCloseMutexSem]]
* [[DosCloseMutexSem]]
Line 236: Line 232:
* [[DosReleaseMutexSem]]
* [[DosReleaseMutexSem]]
* [[DosRequestMutexSem]]
* [[DosRequestMutexSem]]
==== MuxWait Semaphores ====
==== MuxWait Semaphores ====
* [[DosAddMuxWaitSem]]
* [[DosAddMuxWaitSem]]
Line 257: Line 252:
* [[DosKillProcess]]
* [[DosKillProcess]]
* [[DosWaitChild]]
* [[DosWaitChild]]
==== Threads ====
==== Threads ====
* [[DosCreateThread]]
* [[DosCreateThread]]
* [[DosCreateThread2]] [[Image:Conf.gif]]
* [[DosCreateThread2]]
* [[DosKillThread]]
* [[DosKillThread]]
* [[DosQueryThreadAffinity]] [[Image:Conf.gif]]
* [[DosQueryThreadAffinity]]
* [[DosQueryThreadContext]]
* [[DosQueryThreadContext]]
* [[DosResumeThread]]
* [[DosResumeThread]]
* [[DosSetThreadAffinity]] [[Image:Conf.gif]]
* [[DosSetThreadAffinity]]
* [[DosSleep]]
* [[DosSleep]]
* [[DosSuspendThread]]
* [[DosSuspendThread]]
* [[DosVerifyPidTid]]  [[Image:Conf.gif]]
* [[DosVerifyPidTid]]
* [[DosWaitThread]]
* [[DosWaitThread]]


Line 389: Line 383:


=== Date / Time ===
=== Date / Time ===
* [[DosGetDateTime (Legacy)|DosGetDateTime]]
* [[DosGetDateTime (OS/2 1.x)|DosGetDateTime]]
* [[DosSetDateTime (Legacy)|DosSetDateTime]]
* [[DosSetDateTime (OS/2 1.x)|DosSetDateTime]]


=== Device I/O ===
=== Device I/O ===
* [[DosBeep (Legacy)|DosBeep]]
* [[DosBeep (OS/2 1.x)|DosBeep]]
* [[DosDevConfig (Legacy)]]
* [[DosDevConfig (OS/2 1.x)]]
* [[DosDevIOCtl (FAPI)|DosDevIOCtl]]
* [[DosDevIOCtl (FAPI)|DosDevIOCtl]]
* [[DosDevIOCtl2|DosDevIOCtl2]]
* [[DosDevIOCtl2]]
* [[DosPhysicalDisk (FAPI)|DosPhysicalDisk]]
* [[DosPhysicalDisk (FAPI)|DosPhysicalDisk]]


=== Dynamic Linking Library ===  
=== Dynamic Linking Library ===  
* [[DosGetModHandle|DosGetModHandle]]
* [[DosGetModHandle]]
* [[DosGetModName|DosGetModName]]
* [[DosGetModName]]


==== Monitor functions ====
==== Monitor functions ====
Line 413: Line 407:
* [[DosFreeModule (OS/2 1.x)|DosFreeModule]]
* [[DosFreeModule (OS/2 1.x)|DosFreeModule]]
* [[DosLoadModule (OS/2 1.x)|DosLoadModule]]
* [[DosLoadModule (OS/2 1.x)|DosLoadModule]]
* [[DosQAppType|DosQAppType]]
* [[DosQAppType]]


=== Error Management ===
=== Error Management ===
Line 419: Line 413:
* [[DosError (FAPI)|DosError]]
* [[DosError (FAPI)|DosError]]
* [[DosPTrace]]
* [[DosPTrace]]
* [[DosLogRegister|DosLogRegister]] (OS/2 2.0 and 1.3)
* [[DosLogRegister]] (OS/2 2.0 and 1.3)
* [[DosLogEntry]] (OS/2 2.0 and 1.3)
* [[DosLogEntry]] (OS/2 2.0 and 1.3)
* [[DosLogRead]] * (OS/2 2.0 and 1.3)
* [[DosLogRead]] (OS/2 2.0 and 1.3)


===Exception Management===
===Exception Management===
Line 427: Line 421:


=== File Systems/File Management ===
=== File Systems/File Management ===
==== Directory Searching ====
==== Directory Searching ====
* [[DosFindFirst (FAPI)|DosFindFirst]]
* [[DosFindFirst (FAPI)|DosFindFirst]]
* [[DosFindFirst2|DosFindFirst2]]
* [[DosFindFirst2]]
* [[DosFindNext (FAPI)|DosFindNext]]
* [[DosFindNext (FAPI)|DosFindNext]]


Line 444: Line 437:
* [[DosSelectDisk]]
* [[DosSelectDisk]]


==== Enviroment/Path ====
==== Environment/Path ====
* [[DosScanEnv (OS/2 1.x)|DosScanEnv]]
* [[DosScanEnv (OS/2 1.x)|DosScanEnv]]
* [[DosSearchPath (OS/2 1.x)|DosSearchPath]]
* [[DosSearchPath (OS/2 1.x)|DosSearchPath]]
Line 454: Line 447:
* [[DosDelete (FAPI)|DosDelete]]
* [[DosDelete (FAPI)|DosDelete]]
* [[DosEditName (FAPI)|DosEditName]]
* [[DosEditName (FAPI)|DosEditName]]
* [[DosFileLocks|DosFileLocks]]
* [[DosFileLocks]]
* [[DosMove (FAPI)|DosMove]]
* [[DosMove (FAPI)|DosMove]]
* [[DosOpen (FAPI)|DosOpen]]
* [[DosOpen (FAPI)|DosOpen]]
* [[DosOpen2|DosOpen2]]
* [[DosOpen2]]
* [[DosRead (FAPI)|DosRead]]
* [[DosRead (FAPI)|DosRead]]
* [[DosSetFileInfo (FAPI)|DosSetFileInfo]]
* [[DosSetFileInfo (FAPI)|DosSetFileInfo]]
Line 463: Line 456:
* [[DosSetVerify (FAPI)|DosSetVerify]]
* [[DosSetVerify (FAPI)|DosSetVerify]]
* [[DosWrite (FAPI)|DosWrite]]
* [[DosWrite (FAPI)|DosWrite]]
* [[DosNewSize|DosNewSize]]
* [[DosNewSize]]
* [[DosSetFileMode|DosSetFileMode]]
* [[DosSetFileMode]]


==== File Handle Manipulation ====
==== File Handle Manipulation ====
Line 473: Line 466:
* [[DosQHandType]]
* [[DosQHandType]]
* [[DosSetFHandState]]
* [[DosSetFHandState]]
* [[DosQFHState]] [[image:Vraag.gif]] * From 1.x
* [[DosQFHState]]


==== File Querying ====
==== File Querying ====
* [[OS2 API:CPI:LEGACY:DosEnumAttribute|DosEnumAttribute]]
* [[DosEnumAttribute (OS/2 1.x)|DosEnumAttribute]]
* [[DosQFileInfo]]
* [[DosQFileInfo]]
* [[OS2 API:CPI:LEGACY:DosQFileMode|DosQFileMode]]
* [[DosQFileMode]]
* [[OS2 API:CPI:LEGACY:DosQPathInfo|DosQPathInfo]]
* [[DosQPathInfo]]
* [[OS2 API:CPI:LEGACY:DosQSysInfo|DosQSysInfo]]
* [[DosQSysInfo]]
* [[OS2 API:CPI:LEGACY:DosQVerify|DosQVerify]]
* [[DosQVerify]]


==== File System Functions====
==== File System Functions====
Line 527: Line 520:
* [[DosSetProcCp]]
* [[DosSetProcCp]]


=== Pipes ===
===Pipes===
 
;Named Pipes
====Named Pipes====
* [[DosCallNmPipe]]
* [[DosCallNmPipe]]
* [[DosConnectNmPipe]]
* [[DosConnectNmPipe]]
Line 544: Line 536:
* [[DosSetNmPHandState]]
* [[DosSetNmPHandState]]


=== Queues===
===Queues===
* [[DosCloseQueue (OS/2 1.x)|DosCloseQueue]]
* [[DosCloseQueue (OS/2 1.x)|DosCloseQueue]]
* [[DosQueryQueue (OS/2 1.x)|DosQueryQueue]]
* [[DosQueryQueue (OS/2 1.x)|DosQueryQueue]]
* [[DosWriteQueue (OS/2 1.x)|DosWriteQueue]]
* [[DosWriteQueue (OS/2 1.x)|DosWriteQueue]]
 
;Server
==== Server====
* [[DosCreateQueue (OS/2 1.x)|DosCreateQueue]]
* [[DosCreateQueue (OS/2 1.x)|DosCreateQueue]]
* [[DosPeekQueue (OS/2 1.x)|DosPeekQueue]]
* [[DosPeekQueue (OS/2 1.x)|DosPeekQueue]]
* [[DosPurgeQueue (OS/2 1.x)|DosPurgeQueue]]
* [[DosPurgeQueue (OS/2 1.x)|DosPurgeQueue]]
* [[DosReadQueue (OS/2 1.x)|DosReadQueue]]
* [[DosReadQueue (OS/2 1.x)|DosReadQueue]]
 
;Client
==== Client ====
* [[DosOpenQueue (OS/2 1.x)|DosOpenQueue]]
* [[DosOpenQueue (OS/2 1.x)|DosOpenQueue]]


Line 561: Line 551:
* [[DosFreeResource (OS/2 1.x)|DosFreeResource]]
* [[DosFreeResource (OS/2 1.x)|DosFreeResource]]
* [[DosGetResource (OS/2 1.x)|DosGetResource]]
* [[DosGetResource (OS/2 1.x)|DosGetResource]]
* [[DosGetResource2|DosGetResource2]]
* [[DosGetResource2]]


=== Semaphores ===
=== Semaphores ===
Line 574: Line 564:
* [[DosSemSetWait]]
* [[DosSemSetWait]]
* [[DosSemWait]]
* [[DosSemWait]]
* [[DosPMSemWait]]  [[image:Vraag.gif]]
* [[DosPMSemWait]]
* [[DosPMMuxSemWait]]  [[image:Vraag.gif]]
* [[DosPMMuxSemWait]]


==== MuxWait Semaphores ====
==== MuxWait Semaphores ====
Line 607: Line 597:
* [[DosStopSession (OS/2 1.x)|DosStopSession]]
* [[DosStopSession (OS/2 1.x)|DosStopSession]]


=== Screen Group ===
;Screen Group
* [[DosSMSGDoPopup]]
* [[DosSMSGDoPopup]]
* [[DosSMSGEndPopup]]
* [[DosSMSGEndPopup]]
Line 640: Line 630:
* [[DosSMSetSessionType]]
* [[DosSMSetSessionType]]
* [[DosRegisterNotification]]
* [[DosRegisterNotification]]


=== Quickhelp ===
=== Quickhelp ===
Line 652: Line 641:


=== Addressing ===
=== Addressing ===
* [[DosFlatToSel]] [[image:Vraag.gif]]
* [[DosFlatToSel]]
* [[DosSelToFlat]] [[image:Vraag.gif]]
* [[DosSelToFlat]]
* [[DosGetShrSeg]]


=== Spool ===
=== Spool ===
* [[DosPFSActivate]] * Not found on OS2TK45
* [[DosPFSActivate]]
* [[DosPFSCloseUser]] * Not found on OS2TK45
* [[DosPFSCloseUser]]
* [[DosPFSInit]] * Not found on OS2TK45
* [[DosPFSInit]]
* [[DosPFSQueryAct]] * Not found on OS2TK45
* [[DosPFSQueryAct]]
* [[DosPFSVerifyFont]] * Not found on OS2TK45
* [[DosPFSVerifyFont]]


===To SORT===
===To SORT===
Line 676: Line 666:
* [[DosGetProcAddr]]
* [[DosGetProcAddr]]
* [[DosGetPrty]]
* [[DosGetPrty]]
* [[DosGetShrSeg]]
* [[DosGetVersion]]
* [[DosGetVersion]]
* [[DosHoldSignal]]
* [[DosHoldSignal]]
Line 730: Line 719:
* [[MouGetNumMickeys (OS/2 1.x)|MouGetNumMickeys]]
* [[MouGetNumMickeys (OS/2 1.x)|MouGetNumMickeys]]
* [[MouGetNumQueEl (OS/2 1.x)|MouGetNumQueEl]]
* [[MouGetNumQueEl (OS/2 1.x)|MouGetNumQueEl]]
* [[MouGetPtrPos]]
* [[MouGetPtrPos]] ** (review)
* [[MouGetPtrShape (OS/2 1.x)|MouGetPtrShape]]
* [[MouGetPtrShape (OS/2 1.x)|MouGetPtrShape]]
* [[MouGetScaleFact (OS/2 1.x)|MouGetScaleFact]]
* [[MouGetScaleFact (OS/2 1.x)|MouGetScaleFact]]
Line 746: Line 735:


==== Video I/O functions ====
==== Video I/O functions ====
* [[OS2 API:CPI:LEGACY:VioRegister|VioRegister]]  
* [[VioRegister]]
* [[OS2 API:CPI:LEGACY:VioGlobalReg|VioGlobalReg]]
* [[VioGlobalReg]]
* [[OS2 API:CPI:LEGACY:VioDeRegister|VioDeRegister]]
* [[VioDeRegister]]
* [[OS2 API:CPI:LEGACY:VioGetPhysBuf|VioGetPhysBuf]]
* [[VioGetPhysBuf]]
* [[OS2 API:CPI:LEGACY:VioScrollDn|VioScrollDn]]
* [[VioScrollDn]]
* [[OS2 API:CPI:LEGACY:VioScrollLf|VioScrollLf]]
* [[VioScrollLf]]
* [[OS2 API:CPI:LEGACY:VioScrollRt|VioScrollRt]]
* [[VioScrollRt]]
* [[OS2 API:CPI:LEGACY:VioCheckCharType|VioCheckCharType]] [[image:Vraag.gif]]
* [[VioCheckCharType]] [[image:Vraag.gif]]
* [[OS2 API:CPI:LEGACY:VioPrtSc|VioPrtSc]]
* [[VioPrtSc]]
* [[OS2 API:CPI:LEGACY:VioPrtScToggle|VioPrtScToggle]]
* [[VioPrtScToggle]]
* [[OS2 API:CPI:LEGACY:VioRedrawSize|VioRedrawSize]] [[image:Vraag.gif]]
* [[VioRedrawSize]] [[image:Vraag.gif]]
* [[OS2 API:CPI:LEGACY:VioGetFont|VioGetFont]]
* [[VioGetFont]]
* [[OS2 API:CPI:LEGACY:VioSetFont|VioSetFont]]  
* [[VioSetFont]]
* [[OS2 API:CPI:LEGACY:VioEndPopUp|VioEndPopUp]]
* [[VioEndPopUp (OS/2 1.x)|VioEndPopUp]]
* [[OS2 API:CPI:LEGACY:VioGetAnsi|VioGetAnsi]]
* [[VioGetAnsi (OS/2 1.x)|VioGetAnsi]]
* [[OS2 API:CPI:LEGACY:VioGetBuf|VioGetBuf]]
* [[VioGetBuf (FAPI)|VioGetBuf]]
* [[OS2 API:CPI:LEGACY:VioGetConfig|VioGetConfig]]
* [[VioGetConfig (FAPI)|VioGetConfig]]
* [[OS2 API:CPI:LEGACY:VioGetCp|VioGetCp]]    
* [[VioGetCp (FAPI)|VioGetCp]]
* [[OS2 API:CPI:LEGACY:VioGetCurPos|VioGetCurPos]]
* [[VioGetCurPos (FAPI)|VioGetCurPos]]
* [[OS2 API:CPI:LEGACY:VioGetCurType|VioGetCurType]]  
* [[VioGetCurType (FAPI)|VioGetCurType]]
* [[OS2 API:CPI:LEGACY:VioGetMode|VioGetMode]]  
* [[VioGetMode (OS/2 1.x)|VioGetMode]]
* [[OS2 API:CPI:LEGACY:VioGetState|VioGetState]]  
* [[VioGetState (OS/2 1.x)|VioGetState]]
* [[OS2 API:CPI:LEGACY:VioModeUndo|VioModeUndo]]  
* [[VioModeUndo (OS/2 1.x)|VioModeUndo]]
* [[OS2 API:CPI:LEGACY:VioModeWait|VioModeWait]]  
* [[VioModeWait (OS/2 1.x)|VioModeWait]]
* [[OS2 API:CPI:LEGACY:VioPopUp|VioPopUp]]  
* [[VioPopUp (OS/2 1.x)|VioPopUp]]
* [[OS2 API:CPI:LEGACY:VioReadCellStr|VioReadCellStr]]
* [[VioReadCellStr (FAPI)|VioReadCellStr]]
* [[OS2 API:CPI:LEGACY:VioReadCharStr|VioReadCharStr]]
* [[VioReadCharStr (FAPI)|VioReadCharStr]]
* [[OS2 API:CPI:LEGACY:VioSavRedrawUndo|VioSavRedrawUndo]]  
* [[VioSavRedrawUndo (OS/2 1.x)|VioSavRedrawUndo]]
* [[OS2 API:CPI:LEGACY:VioSavRedrawWait|VioSavRedrawWait]]  
* [[VioSavRedrawWait (OS/2 1.x)|VioSavRedrawWait]]
* [[OS2 API:CPI:LEGACY:VioScrLock|VioScrLock]]  
* [[VioScrLock (FAPI)|VioScrLock]]
* [[OS2 API:CPI:LEGACY:VioScrollUp|VioScrollUp]]  
* [[VioScrollUp (FAPI)|VioScrollUp]]
* [[OS2 API:CPI:LEGACY:VioScrUnLock|VioScrUnLock]]  
* [[VioScrUnLock (FAPI)|VioScrUnLock]]
* [[OS2 API:CPI:LEGACY:VioSetAnsi|VioSetAnsi]]  
* [[VioSetAnsi (OS/2 1.x)|VioSetAnsi]]
* [[OS2 API:CPI:LEGACY:VioSetCp|VioSetCp]]
* [[VioSetCp (OS/2 1.x)|VioSetCp]]
* [[OS2 API:CPI:LEGACY:VioSetCurPos|VioSetCurPos]]
* [[VioSetCurPos (FAPI)|VioSetCurPos]]
* [[OS2 API:CPI:LEGACY:VioSetCurType|VioSetCurType]]
* [[VioSetCurType (FAPI)|VioSetCurType]]
* [[OS2 API:CPI:LEGACY:VioSetMode|VioSetMode]]  
* [[VioSetMode (FAPI)|VioSetMode]]
* [[OS2 API:CPI:LEGACY:VioSetState|VioSetState]]  
* [[VioSetState (OS/2 1.x)|VioSetState]]
* [[OS2 API:CPI:LEGACY:VioShowBuf|VioShowBuf]]  
* [[VioShowBuf (FAPI)|VioShowBuf]]
* [[OS2 API:CPI:LEGACY:VioWrtCellStr|VioWrtCellStr]]  
* [[VioWrtCellStr (FAPI)|VioWrtCellStr]]
* [[OS2 API:CPI:LEGACY:VioWrtCharStr|VioWrtCharStr]]  
* [[VioWrtCharStr (FAPI)|VioWrtCharStr]]
* [[OS2 API:CPI:LEGACY:VioWrtCharStrAtt|VioWrtCharStrAtt]]  
* [[VioWrtCharStrAtt (FAPI)|VioWrtCharStrAtt]]
* [[OS2 API:CPI:LEGACY:VioWrtNAttr|VioWrtNAttr]]  
* [[VioWrtNAttr (FAPI)|VioWrtNAttr]]
* [[OS2 API:CPI:LEGACY:VioWrtNCell|VioWrtNCell]]  
* [[VioWrtNCell (FAPI)|VioWrtNCell]]
* [[OS2 API:CPI:LEGACY:VioWrtNChar|VioWrtNChar]]  
* [[VioWrtNChar (FAPI)|VioWrtNChar]]
* [[OS2 API:CPI:LEGACY:VioWrtTTY|VioWrtTTY]]
* [[VioWrtTTY (FAPI)|VioWrtTTY]]
* [[OS2 API:CPI:LEGACY:VioQueryConsole|VioQueryConsole]] [[image:Vraag.gif]]
* [[VioQueryConsole]]


===== Advanced VIO =====
===== Advanced VIO =====
Line 799: Line 788:
* [[WinDefAVioWindowProc]] [[image:Vraag.gif]]
* [[WinDefAVioWindowProc]] [[image:Vraag.gif]]
</div>
</div>
===== Undocumented =====
* DosPageSize
* DosMaxPathLen
* DosLocalInfo
* DosGlobalInfo


===Legend===
===Legend===
Line 804: Line 799:


==References==
==References==
{|class="wikitable"
*''[[Control Program Programming Guide and Reference]]'' - IBM 1996
!Title
*''API Addendum Volume 1 (PowerPC Edition)'' - IBM 1996, APIBAS.INF
!Author
*''Legacy OS/2 Programming Reference'' - IBM, PRCP.INF
!Year
!Document Ref.
!Links
|-
|[[Control Program Programming Guide and Reference]]
|IBM
|1996
|CP1.INF, CP2.INF, CP3.INF
|[https://archive.org/download/ToolkitDocs1/Control%20Program%20Programming%20Guide%20and%20Reference.pdf PDF], [https://archive.org/download/ToolkitDocs1/Control%20Program%20Programming%20Guide%20and%20Reference%201.inf INF 1] [https://archive.org/download/ToolkitDocs1/Control%20Program%20Programming%20Guide%20and%20Reference%202.inf INF 2] [https://archive.org/download/ToolkitDocs1/Control%20Program%20Programming%20Guide%20and%20Reference%203.inf INF 3]
|-
|API Addendum Volume 1 (PowerPC Edition)
|IBM
|
|APIBAS.INF
|
|-
|Legacy OS/2 Programming Reference
|IBM
|
|PRCP.INF
|
|-
|}
 


[[Category:The OS/2 API Project]]
[[Category:The OS/2 API Project]]

Latest revision as of 14:43, 11 April 2025

Control Programming Interface

Some general information is available at Control Program page.

Date/Time

Device I/O

Dynamic Linking Library

Error Management

Exception Management

Must Complete Management

Signaling Exception Management

File Systems/File Management

Directory Searching

Directory

Disk

Environment/Path

LibPath

File Manipulation

File Handle Manipulation

File Querying

File System Functions

Memory Management

Heap Memory

Shared Memory

Thread local Memory

Message Management

National Language/Code Page

Pipes

Named Pipes

Queues

Server

Client

Resource Management

Semaphores

Event Semaphores

Mutex Semaphores

MuxWait Semaphores

Processes/Threading

Processes

Threads

Session Management

Timer

VDD

Keyboard functions

Mouse functions

Video I/O functions

Advanced VIO

Icon Legend

  • : It seems that these functions were not implemented on the OS/2 4.5 Toolkit.
  • : These functions were documented on the Addendum of the OS/2 4.5 Toolkit.
  • : More information is required on this function.

Legacy Functions

This are the legacy functions of the Control Program Interface API. This functions are supposed to be replaced by the newer ones, but some of these are still required for older programs to work or because some newer functions weren't implemented correctly.

Date / Time

Device I/O

Dynamic Linking Library

Monitor functions

Dynamic Link Library

Error Management

Exception Management

File Systems/File Management

Directory Searching

Directory

Disk

Environment/Path

File Manipulation

File Handle Manipulation

File Querying

File System Functions

Memory Management

Heap Memory

Message Management

National Language/Code Page

Pipes

Named Pipes

Queues

Server
Client

Resource Management

Semaphores

MuxWait Semaphores

Processes/Threading

Processes

Threads

Session Management

Screen Group

Quickhelp

Timer

Addressing

Spool

To SORT

Keyboard functions

Mouse functions

Video I/O functions

Advanced VIO
Undocumented
  • DosPageSize
  • DosMaxPathLen
  • DosLocalInfo
  • DosGlobalInfo

Legend

  • : More information is required on this function. Information was not available on CP1 or PRCP books.

References