Control Program Functions: Difference between revisions
Appearance
No edit summary |
|||
Line 212: | Line 212: | ||
* [[DosReadQueue]] | * [[DosReadQueue]] | ||
==== Client ==== | ==== Client ==== | ||
* [[ | * [[DosOpenQueue]] | ||
=== Resource Management === | === Resource Management === | ||
Line 221: | Line 221: | ||
=== Semaphores === | === Semaphores === | ||
==== Event Semaphores ==== | ==== Event Semaphores ==== | ||
* [[DosCloseEventSem]] | *[[DosCloseEventSem]] | ||
* [[DosCreateEventSem]] | *[[DosCreateEventSem]] | ||
* [[DosOpenEventSem]] | *[[DosOpenEventSem]] | ||
* [[DosPostEventSem]] | *[[DosPostEventSem]] | ||
* [[DosQueryEventSem]] | *[[DosQueryEventSem]] | ||
* [[DosResetEventSem]] | *[[DosResetEventSem]] | ||
* [[DosWaitEventSem]] | *[[DosWaitEventSem]] | ||
==== Mutex Semaphores ==== | ====Mutex Semaphores ==== | ||
* [[DosCloseMutexSem]] | *[[DosCloseMutexSem]] | ||
* [[DosCreateMutexSem]] | *[[DosCreateMutexSem]] | ||
* [[DosOpenMutexSem]] | *[[DosOpenMutexSem]] | ||
* [[DosQueryMutexSem]] | *[[DosQueryMutexSem]] | ||
* [[DosReleaseMutexSem]] | *[[DosReleaseMutexSem]] | ||
* [[DosRequestMutexSem]] | *[[DosRequestMutexSem]] | ||
==== MuxWait Semaphores ==== | ====MuxWait Semaphores ==== | ||
* [[DosAddMuxWaitSem]] | *[[DosAddMuxWaitSem]] | ||
* [[DosCloseMuxWaitSem]] | *[[DosCloseMuxWaitSem]] | ||
* [[DosCreateMuxWaitSem]] | *[[DosCreateMuxWaitSem]] | ||
* [[DosDeleteMuxWaitSem]] | *[[DosDeleteMuxWaitSem]] | ||
* [[DosOpenMuxWaitSem]] | *[[DosOpenMuxWaitSem]] | ||
* [[DosQueryMuxWaitSem]] | *[[DosQueryMuxWaitSem]] | ||
* [[DosWaitMuxWaitSem]] | *[[DosWaitMuxWaitSem]] | ||
=== Processes/Threading === | === Processes/Threading === | ||
* [[DosExit]] | *[[DosExit]] | ||
* [[DosGetInfoBlocks]] | *[[DosGetInfoBlocks]] | ||
* [[DosSetPriority]] | *[[DosSetPriority]] | ||
==== Processes ==== | ==== Processes ==== | ||
* [[DosEnterCritSec]] | *[[DosEnterCritSec]] | ||
* [[DosExecPgm]] | *[[DosExecPgm]] | ||
* [[DosExitCritSec]] | *[[DosExitCritSec]] | ||
* [[DosExitList]] | *[[DosExitList]] | ||
* [[DosKillProcess]] | *[[DosKillProcess]] | ||
* [[DosWaitChild]] | *[[DosWaitChild]] | ||
==== Threads ==== | ==== Threads ==== | ||
* [[DosCreateThread]] | *[[DosCreateThread]] | ||
* [[DosCreateThread2]] [[Image:Conf.gif]] | *[[DosCreateThread2]] [[Image:Conf.gif]] | ||
* [[DosKillThread]] | *[[DosKillThread]] | ||
* [[DosQueryThreadAffinity]] [[Image:Conf.gif]] | *[[DosQueryThreadAffinity]] [[Image:Conf.gif]] | ||
* [[DosQueryThreadContext]] | *[[DosQueryThreadContext]] | ||
* [[DosResumeThread]] | *[[DosResumeThread]] | ||
* [[DosSetThreadAffinity]] [[Image:Conf.gif]] | *[[DosSetThreadAffinity]] [[Image:Conf.gif]] | ||
* [[DosSleep]] | *[[DosSleep]] | ||
* [[DosSuspendThread]] | *[[DosSuspendThread]] | ||
* [[DosVerifyPidTid]] [[Image:Conf.gif]] | *[[DosVerifyPidTid]] [[Image:Conf.gif]] | ||
* [[DosWaitThread]] | *[[DosWaitThread]] | ||
=== Session Management === | === Session Management === | ||
* [[DosSelectSession]] | *[[DosSelectSession]] | ||
* [[DosSetSession]] | *[[DosSetSession]] | ||
* [[DosStartSession]] | *[[DosStartSession]] | ||
* [[DosStopSession]] | *[[DosStopSession]] | ||
=== Timer === | === Timer === | ||
Line 305: | Line 306: | ||
===Mouse functions=== | ===Mouse functions=== | ||
* [[MouFlushQue]] | *[[MouFlushQue]] | ||
* [[MouGetPtrPos]] | *[[MouGetPtrPos]] | ||
* [[MouSetPtrPos]] | *[[MouSetPtrPos]] | ||
* [[MouSetPtrShape]] | *[[MouSetPtrShape]] | ||
* [[MouGetPtrShape]] | *[[MouGetPtrShape]] | ||
* [[MouGetDevStatus]] | *[[MouGetDevStatus]] | ||
* [[MouGetNumButtons]] | *[[MouGetNumButtons]] | ||
* [[MouGetNumMickeys]] | *[[MouGetNumMickeys]] | ||
* [[MouReadEventQue]] | *[[MouReadEventQue]] | ||
* [[MouGetNumQueEl]] | *[[MouGetNumQueEl]] | ||
* [[MouGetEventMask]] | *[[MouGetEventMask]] | ||
* [[MouSetEventMask]] | *[[MouSetEventMask]] | ||
* [[MouGetScaleFact]] | *[[MouGetScaleFact]] | ||
* [[MouSetScaleFact]] | *[[MouSetScaleFact]] | ||
* [[MouRemovePtr]] | *[[MouRemovePtr]] | ||
* [[MouDrawPtr]] | *[[MouDrawPtr]] | ||
* [[MouSetDevStatus]] | *[[MouSetDevStatus]] | ||
* [[MouGetThreshold]] | *[[MouGetThreshold]] | ||
* [[MouSetThreshold]] | *[[MouSetThreshold]] | ||
===Video I/O functions=== | ===Video I/O functions=== | ||
* [[VioGetBuf]] | *[[VioGetBuf]] | ||
* [[VioGetCurPos]] | *[[VioGetCurPos]] | ||
* [[VioSetCurPos]] | *[[VioSetCurPos]] | ||
* [[VioGetCurType]] | *[[VioGetCurType]] | ||
* [[VioSetCurType]] | *[[VioSetCurType]] | ||
* [[VioGetMode]] | *[[VioGetMode]] | ||
* [[VioSetMode]] | *[[VioSetMode]] | ||
* [[VioReadCellStr]] | *[[VioReadCellStr]] | ||
* [[VioReadCharStr]] | *[[VioReadCharStr]] | ||
* [[VioWrtCellStr]] | *[[VioWrtCellStr]] | ||
* [[VioWrtCharStr]] | *[[VioWrtCharStr]] | ||
* [[VioScrollUp]] [[image:Att.gif]] | *[[VioScrollUp]] [[image:Att.gif]] | ||
* [[VioScrollDown]] [[image:Att.gif]] | *[[VioScrollDown]] [[image:Att.gif]] | ||
* [[VioScrollLeft]] [[image:Att.gif]] | *[[VioScrollLeft]] [[image:Att.gif]] | ||
* [[VioScrollRight]] [[image:Att.gif]] | *[[VioScrollRight]] [[image:Att.gif]] | ||
* [[VioWrtNAttr]] | *[[VioWrtNAttr]] | ||
* [[VioWrtNCell]] | *[[VioWrtNCell]] | ||
* [[VioWrtNChar]] | *[[VioWrtNChar]] | ||
* [[VioWrtTTY]] | *[[VioWrtTTY]] | ||
* [[VioWrtCharStrAtt]] | *[[VioWrtCharStrAtt]] | ||
* [[VioShowBuf]] | *[[VioShowBuf]] | ||
* [[VioSetAnsi]] | *[[VioSetAnsi]] | ||
* [[VioGetAnsi]] | *[[VioGetAnsi]] | ||
* [[VioSavRedrawWait]] | *[[VioSavRedrawWait]] | ||
* [[VioSavRedrawUndo]] | *[[VioSavRedrawUndo]] | ||
* [[VioModeWait]] | *[[VioModeWait]] | ||
* [[VioModeUndo]] | *[[VioModeUndo]] | ||
* [[VioScrLock]] | *[[VioScrLock]] | ||
* [[VioScrUnLock]] | *[[VioScrUnLock]] | ||
* [[VioPopUp]] | *[[VioPopUp]] | ||
* [[VioEndPopUp]] | *[[VioEndPopUp]] | ||
* [[VioGetConfig]] | *[[VioGetConfig]] | ||
* [[VioGetCp]] | *[[VioGetCp]] | ||
* [[VioSetCp]] | *[[VioSetCp]] | ||
* [[VioGetOrigin]] | *[[VioGetOrigin]] | ||
* [[VioSetOrigin]] | *[[VioSetOrigin]] | ||
* [[VioGetState]] | *[[VioGetState]] | ||
* [[VioSetState]] | *[[VioSetState]] | ||
==== Advanced VIO ==== | ==== Advanced VIO ==== | ||
* [[VioAssociate]] | *[[VioAssociate]] | ||
* [[VioCreateLogFont]] | *[[VioCreateLogFont]] | ||
* [[VioCreatePS]] | *[[VioCreatePS]] | ||
* [[VioDeleteSetId]] | *[[VioDeleteSetId]] | ||
* [[VioDestroyPS]] | *[[VioDestroyPS]] | ||
* [[VioGetDeviceCellSize]] | *[[VioGetDeviceCellSize]] | ||
* [[VioQueryFonts]] | *[[VioQueryFonts]] | ||
* [[VioQuerySetIds]] | *[[VioQuerySetIds]] | ||
* [[VioSetDeviceCellSize]] | *[[VioSetDeviceCellSize]] | ||
* [[VioShowPS]] | *[[VioShowPS]] | ||
</div> | </div> | ||
Line 387: | Line 388: | ||
<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"> | ||
=== Date / Time === | === Date / Time === | ||
* [[DosGetDateTime (Legacy)|DosGetDateTime]] | * [[DosGetDateTime (Legacy)|DosGetDateTime]] | ||
Line 394: | Line 394: | ||
=== Device I/O === | === Device I/O === | ||
* [[DosBeep (Legacy)|DosBeep]] | * [[DosBeep (Legacy)|DosBeep]] | ||
* [[ | * [[DosDevConfig|DosDevConfig]] | ||
* [[ | * [[DosDevIOCtl|DosDevIOCtl]] | ||
* [[ | * [[DosDevIOCtl2|DosDevIOCtl2]] | ||
* [[ | * [[DosPhysicalDisk|DosPhysicalDisk]] | ||
=== Dynamic Linking Library === | === Dynamic Linking Library === | ||
* [[ | * [[DosGetModHandle|DosGetModHandle]] | ||
* [[ | * [[DosGetModName|DosGetModName]] | ||
==== Monitor functions ==== | ==== Monitor functions ==== | ||
* [[ | * [[DosMonClose|DosMonClose]] | ||
* [[ | * [[DosMonOpen|DosMonOpen]] | ||
* [[ | * [[DosMonRead|DosMonRead]] | ||
* [[ | * [[DosMonReg|DosMonReg]] | ||
* [[ | * [[DosMonWrite|DosMonWrite]] | ||
=== Dynamic Link Library === | === Dynamic Link Library === | ||
* [[ | * [[DosFreeModule|DosFreeModule]] | ||
* [[ | * [[DosLoadModule|DosLoadModule]] | ||
* [[ | * [[DosQAppType|DosQAppType]] | ||
=== Error Management === | === Error Management === | ||
* [[ | * [[DosErrClass|DosErrClass]] | ||
* [[ | * [[DosError|DosError]] | ||
* [[ | * [[DosPtrace|DosPtrace]] | ||
* [[ | * [[DosLogRegister|DosLogRegister]] * (OS/2 2.0 and 1.3) | ||
* [[ | * [[DosLogEntry|DosLogEntry]] * (OS/2 2.0 and 1.3) | ||
* [[ | * [[DosLogRead|DosLogRead]] * (OS/2 2.0 and 1.3) | ||
===Exception Management=== | ===Exception Management=== | ||
* [[ | * [[DosSendSignal|DosSendSignal]] | ||
=== File Systems/File Management === | === File Systems/File Management === | ||
==== Directory Searching ==== | ==== Directory Searching ==== | ||
* [[ | * [[DosFindFirst]] | ||
* [[ | * [[DosFindFirst2]] | ||
* [[ | * [[DosFindNext]] | ||
====Directory==== | ====Directory==== | ||
* [[ | * [[DosChDir]] | ||
* [[ | * [[DosMkDir]] | ||
* [[ | * [[DosMkDir2|DosMkDir2]] | ||
* [[ | * [[DosRmDir|DosRmDir]] | ||
* [[ | * [[DosQCurDir|DosQCurDir]] | ||
====Disk==== | ====Disk==== | ||
* [[ | * [[DosQCurDisk|DosQCurDisk]] | ||
* [[ | * [[DosSelectDisk|DosSelectDisk]] | ||
==== Enviroment/Path ==== | ==== Enviroment/Path ==== | ||
* [[ | * [[DosScanEnv|DosScanEnv]] | ||
* [[ | * [[DosSearchPath|DosSearchPath]] | ||
==== File Manipulation==== | ==== File Manipulation==== | ||
* [[ | * [[DosChgFilePtr|DosChgFilePtr]] | ||
* [[ | * [[DosClose|DosClose]] | ||
* [[ | * [[DosCopy|DosCopy]] | ||
* [[ | * [[DosDelete|DosDelete]] | ||
* [[ | * [[DosEditName|DosEditName]] | ||
* [[ | * [[DosFileLocks|DosFileLocks]] | ||
* [[ | * [[DosMove|DosMove]] | ||
* [[ | * [[DosOpen|DosOpen]] | ||
* [[ | * [[DosOpen2|DosOpen2]] | ||
* [[ | * [[DosRead|DosRead]] | ||
* [[ | * [[DosSetFileInfo|DosSetFileInfo]] | ||
* [[ | * [[DosSetPathInfo|DosSetPathInfo]] | ||
* [[ | * [[DosSetVerify|DosSetVerify]] | ||
* [[ | * [[DosWrite|DosWrite]] | ||
* [[ | * [[DosNewSize|DosNewSize]] | ||
* [[ | * [[DosSetFileMode|DosSetFileMode]] | ||
==== File Handle Manipulation ==== | ==== File Handle Manipulation ==== | ||
* [[ | * [[DosDupHandle|DosDupHandle]] | ||
* [[ | * [[DosSetMaxFH|DosSetMaxFH]] | ||
* [[ | * [[DosBufReset|DosBufReset]] | ||
* [[ | * [[DosQFHandState|DosQFHandState]] | ||
* [[ | * [[DosQHandType|DosQHandType]] | ||
* [[ | * [[DosSetFHandState|DosSetFHandState]] | ||
* [[ | * [[DosQFHState|DosQFHState]] [[image:Vraag.gif]] * From 1.x | ||
==== File Querying ==== | ==== File Querying ==== | ||
* [[ | * [[DosEnumAttribute|DosEnumAttribute]] | ||
* [[ | * [[DosQFileInfo|DosQFileInfo]] | ||
* [[ | * [[DosQFileMode|DosQFileMode]] | ||
* [[ | * [[DosQPathInfo|DosQPathInfo]] | ||
* [[ | * [[DosQSysInfo|DosQSysInfo]] | ||
* [[ | * [[DosQVerify|DosQVerify]] | ||
==== File System Functions==== | ==== File System Functions==== | ||
* [[ | * [[DosFSAttach|DosFSAttach]] | ||
* [[ | * [[DosFSCtl|DosFSCtl]] | ||
* [[ | * [[DosSetFSInfo|DosSetFSInfo]] | ||
* [[ | * [[DosShutdown|DosShutdown]] | ||
* [[ | * [[DosQFSAttach|DosQFSAttach]] | ||
* [[ | * [[DosQFSInfo|DosQFSInfo]] | ||
=== Memory Management === | === Memory Management === | ||
Line 511: | Line 510: | ||
=== Message Management === | === Message Management === | ||
* [[ | * [[DosGetMessage|DosGetMessage]] | ||
* [[ | * [[DosPutMessage|DosPutMessage]] | ||
* [[ | * [[DosInsMessage|DosInsMessage]] | ||
* [[ | * [[DosTrueGetMessage|DosTrueGetMessage]] [[image:Vraag.gif]] | ||
* [[ | * [[DosIQueryMessageCP|DosIQueryMessageCP]] [[image:Vraag.gif]] | ||
* [[ | * [[DosCloseMessageFile|DosCloseMessageFile]] [[image:Vraag.gif]] | ||
=== National Language/Code Page === | === National Language/Code Page === | ||
* [[ | * [[DosCaseMap|DosCaseMap]] | ||
* [[ | * [[DosGetCollate|DosGetCollate]] | ||
* [[ | * [[DosGetCp|DosGetCp]] | ||
* [[ | * [[DosGetCtryInfo|DosGetCtryInfo]] | ||
* [[ | * [[DosGetDBCSEv|DosGetDBCSEv]] | ||
* [[ | * [[DosSetCp|DosSetCp]] | ||
* [[ | * [[DosSetProcCp|DosSetProcCp]] | ||
=== Pipes === | === Pipes === | ||
====Named Pipes==== | ====Named Pipes==== | ||
* [[ | * [[DosCallNmPipe|DosCallNmPipe]] | ||
* [[ | * [[DosConnectNmPipe|DosConnectNmPipe]] | ||
* [[ | * [[DosDisConnectNmPipe|DosDisConnectNmPipe]] | ||
* [[ | * [[DosMakeNmPipe|DosMakeNmPipe]] | ||
* [[ | * [[DosMakePipe|DosMakePipe]] | ||
* [[ | * [[DosPeekNmPipe|DosPeekNmPipe]] | ||
* [[ | * [[DosQNmPipeInfo|DosQNmPipeInfo]] | ||
* [[ | * [[DosQNmPipeSemState|DosQNmPipeSemState]] | ||
* [[ | * [[DosSetNmPipeSem|DosSetNmPipeSem]] | ||
* [[ | * [[DosTransactNmPipe|DosTransactNmPipe]] | ||
* [[ | * [[DosWaitNmPipe|DosWaitNmPipe]] | ||
* [[ | * [[DosQNmPHandState|DosQNmPHandState]] | ||
* [[ | * [[DosSetNmPHandState|DosSetNmPHandState]] | ||
=== Queues=== | === Queues=== | ||
* [[ | * [[DosCloseQueue|DosCloseQueue]] | ||
* [[ | * [[DosQueryQueue|DosQueryQueue]] | ||
* [[ | * [[DosWriteQueue|DosWriteQueue]] | ||
==== Server==== | ==== Server==== | ||
* [[ | * [[DosCreateQueue|DosCreateQueue]] | ||
* [[ | * [[DosPeekQueue|DosPeekQueue]] | ||
* [[ | * [[DosPurgeQueue|DosPurgeQueue]] | ||
* [[ | * [[DosReadQueue|DosReadQueue]] | ||
==== Client ==== | ==== Client ==== | ||
* [[ | * [[DosOpenQueue|DosOpenQueue]] | ||
=== Resource Management === | === Resource Management === | ||
* [[ | * [[DosFreeResource|DosFreeResource]] | ||
* [[ | * [[DosGetResource|DosGetResource]] | ||
* [[ | * [[DosGetResource2|DosGetResource2]] | ||
=== Semaphores === | === Semaphores === | ||
Line 581: | Line 579: | ||
=== Processes/Threading === | === Processes/Threading === | ||
* [[ | * [[DosExit|DosExit]] | ||
* [[ | * [[DosSetPrty|DosSetPrty]] | ||
==== Processes ==== | ==== Processes ==== | ||
* [[ | * [[DosEnterCritSec|DosEnterCritSec]] | ||
* [[ | * [[DosExecPgm|DosExecPgm]] | ||
* [[ | * [[DosExitCritSec|DosExitCritSec]] | ||
* [[ | * [[DosExitList|DosExitList]] | ||
* [[ | * [[DosKillProcess|DosKillProcess]] | ||
* [[ | * [[DosCwait|DosCwait]] | ||
* [[ | * [[DosGetPID|DosGetPID]] | ||
* [[ | * [[DosGetPPID|DosGetPPID]] | ||
* [[ | * [[DosGetInfoSeg|DosGetInfoSeg]] | ||
==== Threads==== | ==== Threads==== | ||
* [[ | * [[DosCreateThread|DosCreateThread]] | ||
* [[ | * [[DosResumeThread|DosResumeThread]] | ||
* [[ | * [[DosSleep|DosSleep]] | ||
* [[ | * [[DosSuspendThread|DosSuspendThread]] | ||
=== Session Management=== | === Session Management=== | ||
Line 640: | Line 638: | ||
* [[DosSMSetSessionType]] | * [[DosSMSetSessionType]] | ||
* [[DosRegisterNotification]] | * [[DosRegisterNotification]] | ||
=== Quickhelp === | === Quickhelp === | ||
Line 647: | Line 644: | ||
=== Timer === | === Timer === | ||
* [[ | * [[DosTimerAsync|DosTimerAsync]] | ||
* [[ | * [[DosTimerStart|DosTimerStart]] | ||
* [[ | * [[DosTimerStop|DosTimerStop]] | ||
=== Addressing === | === Addressing === | ||
* [[ | * [[DosFlatToSel|DosFlatToSel]] [[image:Vraag.gif]] | ||
* [[ | * [[DosSelToFlat|DosSelToFlat]] [[image:Vraag.gif]] | ||
=== Spool === | === Spool === | ||
* [[ | * [[DosPFSActivate|DosPFSActivate]] * Not found on OS2TK45 | ||
* [[ | * [[DosPFSCloseUser|DosPFSCloseUser]] * Not found on OS2TK45 | ||
* [[ | * [[DosPFSInit|DosPFSInit]] * Not found on OS2TK45 | ||
* [[ | * [[DosPFSQueryAct|DosPFSQueryAct]] * Not found on OS2TK45 | ||
* [[ | * [[DosPFSVerifyFont|DosPFSVerifyFont]] * Not found on OS2TK45 | ||
===To SORT=== | ===To SORT=== | ||
* [[ | * [[DosCallback|DosCallback]] | ||
* [[ | * [[DosCLIAccess|DosCLIAccess]] | ||
* [[ | * [[DosCreateCSAlias|DosCreateCSAlias]] | ||
* [[ | * [[DosFileIO|DosFileIO]] | ||
* [[ | * [[DosFindClose|DosFindClose]] | ||
* [[ | * [[DosFlagProcess|DosFlagProcess]] | ||
* [[ | * [[DosGetEnv|DosGetEnv]] | ||
* [[ | * [[DosGetHugeShift|DosGetHugeShift]] | ||
* [[ | * [[DosGetMachineMode|DosGetMachineMode]] | ||
* [[ | * [[DosGetProcAddr|DosGetProcAddr]] | ||
* [[ | * [[DosGetPrty|DosGetPrty]] | ||
* [[ | * [[DosGetShrSeg|DosGetShrSeg]] | ||
* [[ | * [[DosGetVersion|DosGetVersion]] | ||
* [[ | * [[DosHoldSignal|DosHoldSignal]] | ||
* [[ | * [[DosPortAccess|DosPortAccess]] | ||
* [[ | * [[DosR2StackRealloc|DosR2StackRealloc]] | ||
* [[ | * [[DosReadAsync|DosReadAsync]] | ||
* [[ | * [[DosSetSigHandler|DosSetSigHandler]] | ||
* [[ | * [[DosSetVec|DosSetVec]] | ||
* [[ | * [[DosSMRegisterDD|DosSMRegisterDD]] | ||
* [[ | * [[DosWriteAsync|DosWriteAsync]] | ||
* [[DosSysCtl]] [[image:Vraag.gif]] | * [[DosSysCtl]] [[image:Vraag.gif]] | ||
* [[DosQueryRASInfo]] [[image:Vraag.gif]] | * [[DosQueryRASInfo]] [[image:Vraag.gif]] | ||
Line 717: | Line 714: | ||
==== Mouse functions ==== | ==== Mouse functions ==== | ||
* [[ | * [[MouRegister|MouRegister]] | ||
* [[ | * [[MouDeRegister|MouDeRegister]] | ||
* [[ | * [[MouOpen|MouOpen]] | ||
* [[ | * [[MouClose|MouClose]] | ||
* [[ | * [[MouInitReal|MouInitReal]] | ||
* [[ | * [[MouSynch|MouSynch]] | ||
* [[ | * [[MouDrawPtr|MouDrawPtr]] | ||
* [[ | * [[MouFlushQue|MouFlushQue]] | ||
* [[ | * [[MouGetDevStatus|MouGetDevStatus]] | ||
* [[ | * [[MouGetEventMask|MouGetEventMask]] | ||
* [[ | * [[MouGetNumButtons|MouGetNumButtons]] | ||
* [[ | * [[MouGetNumMickeys|MouGetNumMickeys]] | ||
* [[ | * [[MouGetNumQueEl|MouGetNumQueEl]] | ||
* [[MouGetPtrPos]] | * [[MouGetPtrPos]] | ||
* [[ | * [[MouGetPtrShape|MouGetPtrShape]] | ||
* [[ | * [[MouGetScaleFact|MouGetScaleFact]] | ||
* [[ | * [[MouReadEventQue|MouReadEventQue]] | ||
* [[ | * [[MouRemovePtr|MouRemovePtr]] | ||
* [[ | * [[MouSetDevStatus|MouSetDevStatus]] | ||
* [[ | * [[MouSetEventMask|MouSetEventMask]] | ||
* [[ | * [[MouSetPtrPos|MouSetPtrPos]] | ||
* [[ | * [[MouSetPtrShape|MouSetPtrShape]] | ||
* [[ | * [[MouSetScaleFact|MouSetScaleFact]] | ||
* [[ | * [[MouShellInit|MouShellInit]] [[image:Vraag.gif]] | ||
* [[ | * [[MouGetHotKey|MouGetHotKey]] [[image:Vraag.gif]] | ||
* [[ | * [[MouSetHotKey]] | ||
* [[ | * [[MouFree]] | ||
==== Video I/O functions ==== | ==== Video I/O functions ==== | ||
* [[ | * [[VioRegister|VioRegister]] | ||
* [[ | * [[VioGlobalReg|VioGlobalReg]] | ||
* [[ | * [[VioDeRegister|VioDeRegister]] | ||
* [[ | * [[VioGetPhysBuf|VioGetPhysBuf]] | ||
* [[ | * [[VioScrollDn|VioScrollDn]] | ||
* [[ | * [[VioScrollLf|VioScrollLf]] | ||
* [[ | * [[VioScrollRt|VioScrollRt]] | ||
* [[ | * [[VioCheckCharType|VioCheckCharType]] [[image:Vraag.gif]] | ||
* [[ | * [[VioPrtSc|VioPrtSc]] | ||
* [[ | * [[VioPrtScToggle|VioPrtScToggle]] | ||
* [[ | * [[VioRedrawSize|VioRedrawSize]] [[image:Vraag.gif]] | ||
* [[ | * [[VioGetFont|VioGetFont]] | ||
* [[ | * [[VioSetFont|VioSetFont]] | ||
* [[ | * [[VioEndPopUp|VioEndPopUp]] | ||
* [[ | * [[VioGetAnsi|VioGetAnsi]] | ||
* [[ | * [[VioGetBuf|VioGetBuf]] | ||
* [[ | * [[VioGetConfig|VioGetConfig]] | ||
* [[ | * [[VioGetCp|VioGetCp]] | ||
* [[ | * [[VioGetCurPos|VioGetCurPos]] | ||
* [[ | * [[VioGetCurType|VioGetCurType]] | ||
* [[ | * [[VioGetMode|VioGetMode]] | ||
* [[ | * [[VioGetState|VioGetState]] | ||
* [[ | * [[VioModeUndo|VioModeUndo]] | ||
* [[ | * [[VioModeWait|VioModeWait]] | ||
* [[ | * [[VioPopUp|VioPopUp]] | ||
* [[ | * [[VioReadCellStr|VioReadCellStr]] | ||
* [[ | * [[VioReadCharStr|VioReadCharStr]] | ||
* [[ | * [[VioSavRedrawUndo|VioSavRedrawUndo]] | ||
* [[ | * [[VioSavRedrawWait|VioSavRedrawWait]] | ||
* [[ | * [[VioScrLock|VioScrLock]] | ||
* [[ | * [[VioScrollUp|VioScrollUp]] | ||
* [[ | * [[VioScrUnLock|VioScrUnLock]] | ||
* [[ | * [[VioSetAnsi|VioSetAnsi]] | ||
* [[ | * [[VioSetCp|VioSetCp]] | ||
* [[ | * [[VioSetCurPos|VioSetCurPos]] | ||
* [[ | * [[VioSetCurType|VioSetCurType]] | ||
* [[ | * [[VioSetMode|VioSetMode]] | ||
* [[ | * [[VioSetState|VioSetState]] | ||
* [[ | * [[VioShowBuf|VioShowBuf]] | ||
* [[ | * [[VioWrtCellStr|VioWrtCellStr]] | ||
* [[ | * [[VioWrtCharStr|VioWrtCharStr]] | ||
* [[ | * [[VioWrtCharStrAtt|VioWrtCharStrAtt]] | ||
* [[ | * [[VioWrtNAttr|VioWrtNAttr]] | ||
* [[ | * [[VioWrtNCell|VioWrtNCell]] | ||
* [[ | * [[VioWrtNChar|VioWrtNChar]] | ||
* [[ | * [[VioWrtTTY|VioWrtTTY]] | ||
* [[ | * [[VioQueryConsole]] | ||
===== Advanced VIO ===== | ===== Advanced VIO ===== | ||
* [[VioGetOrg | * [[VioGetOrg]] | ||
* [[VioSetOrg | * [[VioSetOrg]] | ||
* [[WinDefAVioWindowProc | * [[WinDefAVioWindowProc]] | ||
</div> | </div> | ||
Line 828: | Line 825: | ||
|PRCP.INF | |PRCP.INF | ||
| | | | ||
|} | |} | ||
[[Category:The OS/2 API Project]] | [[Category:The OS/2 API Project]] |
Revision as of 13:55, 14 August 2017
Control Programming Interface
Some general information is available at Control Program page.
Date/Time
Device I/O
- DosBeep
- DosDevConfig
- DosDevIOCtl
- DosListIO
- DosListIOL
- DosPhysicalDisk
- DosTmrQueryFreq
- DosTmrQueryTime
Dynamic Linking Library
- DosFreeModule
- DosLoadModule
- DosQueryAppType
- DosQueryModuleHandle
- DosQueryModuleName
- DosQueryProcAddr
- DosQueryProcType
Error Management
Exception Management
- DosQueryModFromEIP
- DosRaiseException
- DosSetExceptionHandler
- DosUnsetExceptionHandler
- DosUnwindException
- Dos16QueryModFromCS
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
- DosReplaceModule
- DosProtectRead
- DosSetFileInfo
- DosProtectSetFileInfo
- DosSetFileLocks
- DosSetFileLocksL
- DosProtectSetFileLocks
- DosProtectSetFileLocksL
- DosSetFilePtr
- DosSetFilePtrL
- DosProtectSetFilePtr
- DosProtectSetFilePtrL
- DosSetFileSize
- DosSetFileSizeL
- DosProtectSetFileSize
- DosProtectSetFileSizeL
- DosSetPathInfo
- DosSetVerify
- DosWrite
- DosProtectWrite
File Handle Manipulation
- DosDupHandle
- DosQueryFHState
- DosProtectQueryFHState
- DosQueryHType
- DosResetBuffer
- DosSetFHState
- DosProtectSetFHState
- DosSetMaxFH
- DosSetRelMaxFH
File Querying
- DosEnumAttribute
- DosProtectEnumAttribute
- DosQueryFileInfo
- DosQueryFileMode
[1]
- DosProtectQueryFileInfo
- DosQueryPathInfo
- DosQuerySysInfo
- DosQuerySysState
- DosQueryVerify
- DosPerfSysCall
- DosGetProcessorStatus
- DosSetProcessorStatus
- DosQueryABIOSSupport
File System Functions
Memory Management
Heap Memory
Thread local Memory
Message Management
National Language/Code Page
Pipes
Named Pipes
- DosCallNPipe
- DosConnectNPipe
- DosCreateNPipe
- 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
- DosCreateThread2
- DosKillThread
- DosQueryThreadAffinity
- DosQueryThreadContext
- DosResumeThread
- DosSetThreadAffinity
- DosSleep
- DosSuspendThread
- DosVerifyPidTid
- DosWaitThread
Session Management
Timer
VDD
Keyboard functions
- KbdCharIn
- KbdGetConsole
- KbdPeek
- KbdStringIn
- KbdFlushBuffer
- KbdSetStatus
- KbdGetStatus
- KbdSetCp
- KbdGetCp
- KbdGetLayout
- KbdGetLayoutUni
- KbdSetLayout
- KbdSetLayoutUni
- KbdGetHWID
- KbdXlate
Mouse functions
- MouFlushQue
- MouGetPtrPos
- MouSetPtrPos
- MouSetPtrShape
- MouGetPtrShape
- MouGetDevStatus
- MouGetNumButtons
- MouGetNumMickeys
- MouReadEventQue
- MouGetNumQueEl
- MouGetEventMask
- MouSetEventMask
- MouGetScaleFact
- MouSetScaleFact
- MouRemovePtr
- MouDrawPtr
- MouSetDevStatus
- MouGetThreshold
- MouSetThreshold
Video I/O functions
- VioGetBuf
- VioGetCurPos
- VioSetCurPos
- VioGetCurType
- VioSetCurType
- VioGetMode
- VioSetMode
- VioReadCellStr
- VioReadCharStr
- VioWrtCellStr
- VioWrtCharStr
- VioScrollUp
- VioScrollDown
- VioScrollLeft
- VioScrollRight
- VioWrtNAttr
- VioWrtNCell
- VioWrtNChar
- VioWrtTTY
- VioWrtCharStrAtt
- VioShowBuf
- VioSetAnsi
- VioGetAnsi
- VioSavRedrawWait
- VioSavRedrawUndo
- VioModeWait
- VioModeUndo
- VioScrLock
- VioScrUnLock
- VioPopUp
- VioEndPopUp
- VioGetConfig
- VioGetCp
- VioSetCp
- VioGetOrigin
- VioSetOrigin
- VioGetState
- VioSetState
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
- DosErrClass
- DosError
- DosPtrace
- DosLogRegister * (OS/2 2.0 and 1.3)
- DosLogEntry * (OS/2 2.0 and 1.3)
- DosLogRead * (OS/2 2.0 and 1.3)
Exception Management
File Systems/File Management
Directory Searching
Directory
Disk
Enviroment/Path
File Manipulation
- DosChgFilePtr
- DosClose
- DosCopy
- DosDelete
- DosEditName
- DosFileLocks
- DosMove
- DosOpen
- DosOpen2
- DosRead
- DosSetFileInfo
- DosSetPathInfo
- DosSetVerify
- DosWrite
- DosNewSize
- DosSetFileMode
File Handle Manipulation
- DosDupHandle
- DosSetMaxFH
- DosBufReset
- DosQFHandState
- DosQHandType
- DosSetFHandState
- DosQFHState
* From 1.x
File Querying
File System Functions
Memory Management
- DosSubAlloc
- DosAllocSeg
- DosAllocShrSeg
- DosAllocHuge
- DosFreeSeg
- DosGetSeg
- DosGiveSeg
- DosLockSeg
- DosMemAvail
- DosSizeSeg
- DosUnlockSeg
- DosReallocHuge
- DosReallocSeg
Heap Memory
Message Management
National Language/Code Page
Pipes
Named Pipes
- DosCallNmPipe
- DosConnectNmPipe
- DosDisConnectNmPipe
- DosMakeNmPipe
- DosMakePipe
- DosPeekNmPipe
- DosQNmPipeInfo
- DosQNmPipeSemState
- DosSetNmPipeSem
- DosTransactNmPipe
- DosWaitNmPipe
- DosQNmPHandState
- DosSetNmPHandState
Queues
Server
Client
Resource Management
Semaphores
- DosCloseSem
- DosCreateSem
- DosFSRamSemClear
- DosFSRamSemRequest
- DosOpenSem
- DosSemClear
- DosSemRequest
- DosSemSet
- DosSemSetWait
- DosSemWait
- DosPMSemWait
- DosPMMuxSemWait
MuxWait Semaphores
Processes/Threading
Processes
- DosEnterCritSec
- DosExecPgm
- DosExitCritSec
- DosExitList
- DosKillProcess
- DosCwait
- DosGetPID
- DosGetPPID
- DosGetInfoSeg
Threads
Session Management
Screen Group
- DosSMSwitch
- DosSMServeAppReq
- DosGetTimes
- DosSMSetTitle
- DosScrUnlock
- DosSMDoAppReq
- DosScrLock
- DosSavRedrawWait
- DosSavRedrawUndo
- DosSetMNLockTime
- DosModeUndo
- DosSMGetStatus
- DosModeWait
- DosSMTerminate
- DosSMGetAppReq
- DosSMRealPrtSc
- DosSMInitialize
- DosSMStart
- DosSMParentSwitch
- DosSMPause
- DosSMHDEInit
- DosSMPMPresent
- DosSMRegisterDD
- DosSMSysInit
- DosSMNotifyDD
- DosSMNotifyDD2
- DosSMOpenDD
- DosSMSetSessionType
- DosRegisterNotification
Quickhelp
Timer
Addressing
Spool
- DosPFSActivate * Not found on OS2TK45
- DosPFSCloseUser * Not found on OS2TK45
- DosPFSInit * Not found on OS2TK45
- DosPFSQueryAct * Not found on OS2TK45
- DosPFSVerifyFont * Not found on OS2TK45
To SORT
- DosCallback
- DosCLIAccess
- DosCreateCSAlias
- DosFileIO
- DosFindClose
- DosFlagProcess
- DosGetEnv
- DosGetHugeShift
- DosGetMachineMode
- DosSetSigHandler
- DosSetVec
- DosSMRegisterDD
- DosWriteAsync
- DosSysCtl
- DosQueryRASInfo
- DosRawReadNPipe
- DosRawWriteNPipe
Keyboard functions
- KbdCharIn
- KbdFlushBuffer
- KbdGetCp
- KbdSetCp
- KbdPeek
- KbdRegister
- KbdDeRegister
- KbdOpen
- KbdClose
- KbdGetFocus
- KbdFreeFocus
- KbdSynch
- KbdSetFgnd
- KbdGetHWId
- KbdSetHWID
- KbdSetCustXt
- KbdGetStatus
- KbdSetStatus
- KbdStringIn
- KbdXlate
- KbdInit
Mouse functions
- MouRegister
- MouDeRegister
- MouOpen
- MouClose
- MouInitReal
- MouSynch
- MouDrawPtr
- MouFlushQue
- MouGetDevStatus
- MouGetEventMask
- MouGetNumButtons
- MouGetNumMickeys
- MouGetNumQueEl
- MouGetPtrPos
- MouGetPtrShape
- MouGetScaleFact
- MouReadEventQue
- MouRemovePtr
- MouSetDevStatus
- MouSetEventMask
- MouSetPtrPos
- MouSetPtrShape
- MouSetScaleFact
- MouShellInit
- MouGetHotKey
- MouSetHotKey
- MouFree
Video I/O functions
- VioRegister
- VioGlobalReg
- VioDeRegister
- VioGetPhysBuf
- VioScrollDn
- VioScrollLf
- VioScrollRt
- VioCheckCharType
- VioPrtSc
- VioPrtScToggle
- VioRedrawSize
- VioGetFont
- VioSetFont
- VioEndPopUp
- VioGetAnsi
- VioGetBuf
- VioGetConfig
- VioGetCp
- VioGetCurPos
- VioGetCurType
- VioGetMode
- VioGetState
- VioModeUndo
- VioModeWait
- VioPopUp
- VioReadCellStr
- VioReadCharStr
- VioSavRedrawUndo
- VioSavRedrawWait
- VioScrLock
- VioScrollUp
- VioScrUnLock
- VioSetAnsi
- VioSetCp
- VioSetCurPos
- VioSetCurType
- VioSetMode
- VioSetState
- VioShowBuf
- VioWrtCellStr
- VioWrtCharStr
- VioWrtCharStrAtt
- VioWrtNAttr
- VioWrtNCell
- VioWrtNChar
- VioWrtTTY
- VioQueryConsole
Advanced VIO
Legend
: More information is required on this function. Information was not available on CP1 or PRCP books.
References
Title | Author | Year | Document Ref. | Links |
---|---|---|---|---|
Control Program Programming Guide and Reference | IBM | 1996 | CP1.INF, CP2.INF, CP3.INF | PDF, INF 1 INF 2 INF 3 |
API Addendum Volume 1 (PowerPC Edition) | IBM | APIBAS.INF | ||
Legacy OS/2 Programming Reference | IBM | PRCP.INF |