Control Program Functions List: Difference between revisions
Appearance
(45 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 | * [[DosDumpProcess]] | ||
* [[DosForceSystemDump | * [[DosForceSystemDump]] | ||
* [[Dos16SysTrace | * [[Dos16SysTrace]] | ||
=== Exception Management === | === Exception Management === | ||
* [[DosQueryModFromEIP | * [[DosQueryModFromEIP]] | ||
* [[DosRaiseException]] | * [[DosRaiseException]] | ||
* [[DosSetExceptionHandler]] | * [[DosSetExceptionHandler]] | ||
* [[DosUnsetExceptionHandler]] | * [[DosUnsetExceptionHandler]] | ||
* [[DosUnwindException]] | * [[DosUnwindException]] | ||
* [[Dos16QueryModFromCS | * [[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 | * [[DosCancelLockRequestL]] | ||
* [[DosClose]] | * [[DosClose]] | ||
* [[DosProtectClose]] | * [[DosProtectClose]] | ||
Line 85: | Line 83: | ||
* [[DosMove]] | * [[DosMove]] | ||
* [[DosOpen]] | * [[DosOpen]] | ||
* [[DosOpenL | * [[DosOpenL]] | ||
* [[DosProtectOpen]] | * [[DosProtectOpen]] | ||
* [[DosProtectOpenL | * [[DosProtectOpenL]] | ||
* [[DosRead]] | * [[DosRead]] | ||
* [[DosReplaceModule | * [[DosReplaceModule]] | ||
* [[DosProtectRead]] | * [[DosProtectRead]] | ||
* [[DosSetFileInfo]] | * [[DosSetFileInfo]] | ||
* [[DosProtectSetFileInfo]] | * [[DosProtectSetFileInfo]] | ||
* [[DosSetFileLocks]] | * [[DosSetFileLocks]] | ||
* [[DosSetFileLocksL | * [[DosSetFileLocksL]] | ||
* [[DosProtectSetFileLocks]] | * [[DosProtectSetFileLocks]] | ||
* [[DosProtectSetFileLocksL | * [[DosProtectSetFileLocksL]] | ||
* [[DosSetFilePtr]] | * [[DosSetFilePtr]] | ||
* [[DosSetFilePtrL | * [[DosSetFilePtrL]] | ||
* [[DosProtectSetFilePtr]] | * [[DosProtectSetFilePtr]] | ||
* [[DosProtectSetFilePtrL | * [[DosProtectSetFilePtrL]] | ||
* [[DosSetFileSize]] | * [[DosSetFileSize]] | ||
* [[DosSetFileSizeL | * [[DosSetFileSizeL]] | ||
* [[DosProtectSetFileSize]] | * [[DosProtectSetFileSize]] | ||
* [[DosProtectSetFileSizeL | * [[DosProtectSetFileSizeL]] | ||
* [[DosSetPathInfo]] | * [[DosSetPathInfo]] | ||
* [[DosSetVerify]] | * [[DosSetVerify]] | ||
Line 125: | Line 123: | ||
* [[DosProtectEnumAttribute]] | * [[DosProtectEnumAttribute]] | ||
* [[DosQueryFileInfo]] | * [[DosQueryFileInfo]] | ||
* [[DosQueryFileMode] | * [[DosQueryFileMode]] | ||
* [[DosProtectQueryFileInfo]] | * [[DosProtectQueryFileInfo]] | ||
* [[DosQueryPathInfo]] | * [[DosQueryPathInfo]] | ||
* [[DosQuerySysInfo]] | * [[DosQuerySysInfo]] | ||
* [[DosQuerySysState | * [[DosQuerySysState]] | ||
* [[DosQueryVerify]] | * [[DosQueryVerify]] | ||
* [[DosPerfSysCall]] | * [[DosPerfSysCall]] | ||
* [[DosGetProcessorStatus | * [[DosGetProcessorStatus]] | ||
* [[DosSetProcessorStatus | * [[DosSetProcessorStatus]] | ||
* [[DosQueryABIOSSupport | * [[DosQueryABIOSSupport]] | ||
==== File System Functions ==== | ==== File System Functions ==== | ||
Line 146: | Line 144: | ||
=== Memory Management === | === Memory Management === | ||
* [[DosAliasMem | * [[DosAliasMem]] | ||
* [[DosAllocMem]] | * [[DosAllocMem]] | ||
* [[DosFreeMem]] | * [[DosFreeMem]] | ||
* [[DosQueryMem]] | * [[DosQueryMem]] | ||
* [[DosQueryMemState | * [[DosQueryMemState]] | ||
* [[DosSetMem]] | * [[DosSetMem]] | ||
Line 205: | Line 203: | ||
* [[DosQueryQueue]] | * [[DosQueryQueue]] | ||
* [[DosWriteQueue]] | * [[DosWriteQueue]] | ||
==== Server ==== | ==== Server ==== | ||
* [[DosCreateQueue]] | * [[DosCreateQueue]] | ||
Line 212: | Line 209: | ||
* [[DosReadQueue]] | * [[DosReadQueue]] | ||
==== Client ==== | ==== Client ==== | ||
* [[ | * [[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 | * [[DosCreateThread2]] | ||
* [[DosKillThread]] | * [[DosKillThread]] | ||
* [[DosQueryThreadAffinity | * [[DosQueryThreadAffinity]] | ||
* [[DosQueryThreadContext]] | * [[DosQueryThreadContext]] | ||
* [[DosResumeThread]] | * [[DosResumeThread]] | ||
* [[DosSetThreadAffinity | * [[DosSetThreadAffinity]] | ||
* [[DosSleep]] | * [[DosSleep]] | ||
* [[DosSuspendThread]] | * [[DosSuspendThread]] | ||
* [[DosVerifyPidTid | * [[DosVerifyPidTid]] | ||
* [[DosWaitThread]] | * [[DosWaitThread]] | ||
Line 389: | Line 383: | ||
=== Date / Time === | === Date / Time === | ||
* [[DosGetDateTime ( | * [[DosGetDateTime (OS/2 1.x)|DosGetDateTime]] | ||
* [[DosSetDateTime ( | * [[DosSetDateTime (OS/2 1.x)|DosSetDateTime]] | ||
=== Device I/O === | === Device I/O === | ||
* [[DosBeep ( | * [[DosBeep (OS/2 1.x)|DosBeep]] | ||
* [[DosDevConfig ( | * [[DosDevConfig (OS/2 1.x)]] | ||
* [[DosDevIOCtl (FAPI)|DosDevIOCtl]] | * [[DosDevIOCtl (FAPI)|DosDevIOCtl]] | ||
* [[ | * [[DosDevIOCtl2]] | ||
* [[DosPhysicalDisk (FAPI)|DosPhysicalDisk]] | * [[DosPhysicalDisk (FAPI)|DosPhysicalDisk]] | ||
=== Dynamic Linking Library === | === Dynamic Linking Library === | ||
* [[ | * [[DosGetModHandle]] | ||
* [[ | * [[DosGetModName]] | ||
==== Monitor functions ==== | ==== Monitor functions ==== | ||
* [[ | * [[DosMonClose]] | ||
* [[ | * [[DosMonOpen]] | ||
* [[ | * [[DosMonRead]] | ||
* [[ | * [[DosMonReg]] | ||
* [[ | * [[DosMonWrite]] | ||
=== Dynamic Link Library === | === Dynamic Link Library === | ||
* [[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]] | ||
=== Error Management === | === Error Management === | ||
Line 419: | Line 413: | ||
* [[DosError (FAPI)|DosError]] | * [[DosError (FAPI)|DosError]] | ||
* [[DosPTrace]] | * [[DosPTrace]] | ||
* [[ | * [[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]] | ||
=== File Systems/File Management === | === File Systems/File Management === | ||
==== Directory Searching ==== | ==== Directory Searching ==== | ||
* [[ | * [[DosFindFirst (FAPI)|DosFindFirst]] | ||
* [[ | * [[DosFindFirst2]] | ||
* [[ | * [[DosFindNext (FAPI)|DosFindNext]] | ||
====Directory==== | ====Directory==== | ||
* [[ | * [[DosChDir]] | ||
* [[ | * [[DosMkDir]] | ||
* [[ | * [[DosMkDir2]] | ||
* [[ | * [[DosRmDir]] | ||
* [[ | * [[DosQCurDir]] | ||
====Disk==== | ====Disk==== | ||
* [[ | * [[DosQCurDisk]] | ||
* [[ | * [[DosSelectDisk]] | ||
==== | ==== Environment/Path ==== | ||
* [[ | * [[DosScanEnv (OS/2 1.x)|DosScanEnv]] | ||
* [[ | * [[DosSearchPath (OS/2 1.x)|DosSearchPath]] | ||
==== File Manipulation==== | ==== File Manipulation==== | ||
* [[ | * [[DosChgFilePtr]] | ||
* [[ | * [[DosClose (FAPI)|DosClose]] | ||
* [[ | * [[DosCopy (OS/2 1.x)|DosCopy]] | ||
* [[ | * [[DosDelete (FAPI)|DosDelete]] | ||
* [[ | * [[DosEditName (FAPI)|DosEditName]] | ||
* [[ | * [[DosFileLocks]] | ||
* [[ | * [[DosMove (FAPI)|DosMove]] | ||
* [[ | * [[DosOpen (FAPI)|DosOpen]] | ||
* [[ | * [[DosOpen2]] | ||
* [[ | * [[DosRead (FAPI)|DosRead]] | ||
* [[ | * [[DosSetFileInfo (FAPI)|DosSetFileInfo]] | ||
* [[ | * [[DosSetPathInfo (OS/2 1.x)|DosSetPathInfo]] | ||
* [[ | * [[DosSetVerify (FAPI)|DosSetVerify]] | ||
* [[ | * [[DosWrite (FAPI)|DosWrite]] | ||
* [[ | * [[DosNewSize]] | ||
* [[ | * [[DosSetFileMode]] | ||
==== File Handle Manipulation ==== | ==== File Handle Manipulation ==== | ||
* [[ | * [[DosDupHandle (FAPI)|DosDupHandle]] | ||
* [[ | * [[DosSetMaxFH (OS/2 1.x)|DosSetMaxFH]] | ||
* [[ | * [[DosBufReset]] | ||
* [[ | * [[DosQFHandState]] | ||
* [[ | * [[DosQHandType]] | ||
* [[ | * [[DosSetFHandState]] | ||
* [[ | * [[DosQFHState]] | ||
==== File Querying ==== | ==== File Querying ==== | ||
* [[ | * [[DosEnumAttribute (OS/2 1.x)|DosEnumAttribute]] | ||
* [[ | * [[DosQFileInfo]] | ||
* [[ | * [[DosQFileMode]] | ||
* [[ | * [[DosQPathInfo]] | ||
* [[ | * [[DosQSysInfo]] | ||
* [[ | * [[DosQVerify]] | ||
==== File System Functions==== | ==== File System Functions==== | ||
* [[ | * [[DosFSAttach (OS/2 1.x)|DosFSAttach]] | ||
* [[ | * [[DosFSCtl (OS/2 1.x)|DosFSCtl]] | ||
* [[ | * [[DosSetFSInfo (OS/2 1.x)|DosSetFSInfo]] | ||
* [[ | * [[DosShutdown (OS/2 1.x)|DosShutdown]] | ||
* [[ | * [[DosQFSAttach]] | ||
* [[ | * [[DosQFSInfo]] | ||
=== Memory Management === | === Memory Management === | ||
Line 511: | Line 504: | ||
=== Message Management === | === Message Management === | ||
* [[ | * [[DosGetMessage (OS/2 1.x)|DosGetMessage]] | ||
* [[ | * [[DosPutMessage (FAPI)|DosPutMessage]] | ||
* [[ | * [[DosInsMessage]] | ||
* [[ | * [[DosTrueGetMessage]] [[image:Vraag.gif]] | ||
* [[ | * [[DosIQueryMessageCP]] [[image:Vraag.gif]] | ||
* [[ | * [[DosCloseMessageFile]] [[image:Vraag.gif]] | ||
=== National Language/Code Page === | === National Language/Code Page === | ||
* [[ | * [[DosCaseMap (FAPI)|DosCaseMap]] | ||
* [[ | * [[DosGetCollate]] | ||
* [[ | * [[DosGetCp]] | ||
* [[ | * [[DosGetCtryInfo]] | ||
* [[ | * [[DosGetDBCSEv]] | ||
* [[ | * [[DosSetCp]] | ||
* [[ | * [[DosSetProcCp]] | ||
=== | ===Pipes=== | ||
* [[ | ;Named Pipes | ||
* [[ | * [[DosCallNmPipe]] | ||
* [[ | * [[DosConnectNmPipe]] | ||
* [[ | * [[DosDisConnectNmPipe]] | ||
* [[ | * [[DosMakeNmPipe]] | ||
* [[ | * [[DosMakePipe]] | ||
* [[ | * [[DosPeekNmPipe]] | ||
* [[ | * [[DosQNmPipeInfo]] | ||
* [[ | * [[DosQNmPipeSemState]] | ||
* [[ | * [[DosSetNmPipeSem]] | ||
* [[ | * [[DosTransactNmPipe]] | ||
* [[ | * [[DosWaitNmPipe]] | ||
* [[ | * [[DosQNmPHandState]] | ||
* [[DosSetNmPHandState]] | |||
=== Queues=== | ===Queues=== | ||
* [[ | * [[DosCloseQueue (OS/2 1.x)|DosCloseQueue]] | ||
* [[ | * [[DosQueryQueue (OS/2 1.x)|DosQueryQueue]] | ||
* [[ | * [[DosWriteQueue (OS/2 1.x)|DosWriteQueue]] | ||
;Server | |||
* [[DosCreateQueue (OS/2 1.x)|DosCreateQueue]] | |||
* [[ | * [[DosPeekQueue (OS/2 1.x)|DosPeekQueue]] | ||
* [[ | * [[DosPurgeQueue (OS/2 1.x)|DosPurgeQueue]] | ||
* [[ | * [[DosReadQueue (OS/2 1.x)|DosReadQueue]] | ||
* [[ | ;Client | ||
* [[DosOpenQueue (OS/2 1.x)|DosOpenQueue]] | |||
* [[ | |||
=== Resource Management === | === Resource Management === | ||
* [[ | * [[DosFreeResource (OS/2 1.x)|DosFreeResource]] | ||
* [[ | * [[DosGetResource (OS/2 1.x)|DosGetResource]] | ||
* [[ | * [[DosGetResource2]] | ||
=== Semaphores === | === Semaphores === | ||
Line 574: | Line 564: | ||
* [[DosSemSetWait]] | * [[DosSemSetWait]] | ||
* [[DosSemWait]] | * [[DosSemWait]] | ||
* [[DosPMSemWait | * [[DosPMSemWait]] | ||
* [[DosPMMuxSemWait | * [[DosPMMuxSemWait]] | ||
==== MuxWait Semaphores ==== | ==== MuxWait Semaphores ==== | ||
Line 581: | Line 571: | ||
=== Processes/Threading === | === Processes/Threading === | ||
* [[ | * [[DosExit (FAPI)|DosExit]] | ||
* [[ | * [[DosSetPrty]] | ||
==== Processes ==== | ==== Processes ==== | ||
* [[ | * [[DosEnterCritSec (OS/2 1.x)|DosEnterCritSec]] | ||
* [[ | * [[DosExecPgm (FAPI)|DosExecPgm]] | ||
* [[ | * [[DosExitCritSec (OS/2 1.x)|DosExitCritSec]] | ||
* [[ | * [[DosExitList (OS/2 1.x)|DosExitList]] | ||
* [[ | * [[DosKillProcess (OS/2 1.x)|DosKillProcess]] | ||
* [[ | * [[DosCWait]] | ||
* [[ | * [[DosGetPID]] | ||
* [[ | * [[DosGetPPID]] | ||
* [[ | * [[DosGetInfoSeg]] | ||
==== Threads==== | ==== Threads==== | ||
* [[ | * [[DosCreateThread (OS/2 1.x)|DosCreateThread]] | ||
* [[ | * [[DosResumeThread (OS/2 1.x)|DosResumeThread]] | ||
* [[ | * [[DosSleep (FAPI)|DosSleep]] | ||
* [[ | * [[DosSuspendThread (OS/2 1.x)|DosSuspendThread]] | ||
=== Session Management=== | === Session Management=== | ||
Line 607: | Line 597: | ||
* [[DosStopSession (OS/2 1.x)|DosStopSession]] | * [[DosStopSession (OS/2 1.x)|DosStopSession]] | ||
;Screen Group | |||
* [[DosSMSGDoPopup]] | * [[DosSMSGDoPopup]] | ||
* [[DosSMSGEndPopup]] | * [[DosSMSGEndPopup]] | ||
Line 640: | Line 630: | ||
* [[DosSMSetSessionType]] | * [[DosSMSetSessionType]] | ||
* [[DosRegisterNotification]] | * [[DosRegisterNotification]] | ||
=== Quickhelp === | === Quickhelp === | ||
Line 647: | Line 636: | ||
=== Timer === | === Timer === | ||
* [[ | * [[DosTimerAsync]] | ||
* [[ | * [[DosTimerStart]] | ||
* [[ | * [[DosTimerStop]] | ||
=== Addressing === | === Addressing === | ||
* [[ | * [[DosFlatToSel]] | ||
* [[ | * [[DosSelToFlat]] | ||
* [[DosGetShrSeg]] | |||
=== Spool === | === Spool === | ||
* [[ | * [[DosPFSActivate]] | ||
* [[ | * [[DosPFSCloseUser]] | ||
* [[ | * [[DosPFSInit]] | ||
* [[ | * [[DosPFSQueryAct]] | ||
* [[ | * [[DosPFSVerifyFont]] | ||
===To SORT=== | ===To SORT=== | ||
* [[ | * [[DosCallback]] | ||
* [[ | * [[DosCLIAccess]] | ||
* [[ | * [[DosCreateCSAlias]] | ||
* [[ | * [[DosFileIO]] | ||
* [[ | * [[DosFindClose (OS/2 1.x)|DosFindClose]] | ||
* [[ | * [[DosFlagProcess]] | ||
* [[ | * [[DosGetEnv]] | ||
* [[ | * [[DosGetHugeShift]] | ||
* [[ | * [[DosGetMachineMode]] | ||
* [[ | * [[DosGetProcAddr]] | ||
* [[ | * [[DosGetPrty]] | ||
* [[ | * [[DosGetVersion]] | ||
* [[DosHoldSignal]] | |||
* [[ | |||
* [[ | * [[DosPortAccess]] | ||
* [[ | * [[DosR2StackRealloc]] | ||
* [[ | * [[DosReadAsync]] | ||
* [[ | * [[DosSetSigHandler]] | ||
* [[ | * [[DosSetVec]] | ||
* [[ | * [[DosSMRegisterDD]] | ||
* [[ | * [[DosWriteAsync]] | ||
* [[DosSysCtl]] [[image:Vraag.gif]] | * [[DosSysCtl]] [[image:Vraag.gif]] | ||
* [[DosQueryRASInfo]] [[image:Vraag.gif]] | * [[DosQueryRASInfo]] [[image:Vraag.gif]] | ||
Line 694: | Line 683: | ||
=== Keyboard functions === | === Keyboard functions === | ||
* [[KbdCharIn]] | * [[KbdCharIn (FAPI)]] | ||
* [[ | * [[KbdFlushBuffer_(FAPI)]] | ||
* [[KbdGetCp]] | * [[KbdGetCp (FAPI)]] | ||
* [[KbdSetCp]] | * [[KbdSetCp (FAPI)]] | ||
* [[KbdPeek]] | * [[KbdPeek (FAPI)]] | ||
* [[KbdRegister]] | * [[KbdRegister]] | ||
* [[KbdDeRegister]] | * [[KbdDeRegister]] | ||
Line 717: | Line 706: | ||
==== Mouse functions ==== | ==== Mouse functions ==== | ||
* [[ | * [[MouRegister]] | ||
* [[ | * [[MouDeRegister]] | ||
* [[ | * [[MouOpen]] | ||
* [[ | * [[MouClose]] | ||
* [[ | * [[MouInitReal]] | ||
* [[ | * [[MouSynch]] | ||
* [[ | * [[MouDrawPtr (OS/2 1.x)|MouDrawPtr]] | ||
* [[ | * [[MouFlushQue (OS/2 1.x)|MouFlushQue]] | ||
* [[ | * [[MouGetDevStatus (OS/2 1.x)|MouGetDevStatus]] | ||
* [[ | * [[MouGetEventMask (OS/2 1.x)|MouGetEventMask]] | ||
* [[ | * [[MouGetNumButtons (OS/2 1.x)|MouGetNumButtons]] | ||
* [[ | * [[MouGetNumMickeys (OS/2 1.x)|MouGetNumMickeys]] | ||
* [[ | * [[MouGetNumQueEl (OS/2 1.x)|MouGetNumQueEl]] | ||
* [[MouGetPtrPos]] | * [[MouGetPtrPos]] ** (review) | ||
* [[ | * [[MouGetPtrShape (OS/2 1.x)|MouGetPtrShape]] | ||
* [[ | * [[MouGetScaleFact (OS/2 1.x)|MouGetScaleFact]] | ||
* [[ | * [[MouReadEventQue (OS/2 1.x)|MouReadEventQue]] | ||
* [[ | * [[MouRemovePtr (OS/2 1.x)|MouRemovePtr]] | ||
* [[ | * [[MouSetDevStatus (OS/2 1.x)|MouSetDevStatus]] | ||
* [[ | * [[MouSetEventMask (OS/2 1.x)|MouSetEventMask]] | ||
* [[ | * [[MouSetPtrPos (OS/2 1.x)|MouSetPtrPos]] | ||
* [[ | * [[MouSetPtrShape (OS/2 1.x)|MouSetPtrShape]] | ||
* [[ | * [[MouSetScaleFact (OS/2 1.x)|MouSetScaleFact]] | ||
* [[ | * [[MouShellInit]] [[image:Vraag.gif]] | ||
* [[ | * [[MouGetHotKey]] [[image:Vraag.gif]] | ||
* [[ | * [[MouSetHotKey]] [[image:Vraag.gif]] | ||
* [[ | * [[MouFree]] [[image:Vraag.gif]] | ||
==== Video I/O functions ==== | ==== Video I/O functions ==== | ||
* [[ | * [[VioRegister]] | ||
* [[ | * [[VioGlobalReg]] | ||
* [[ | * [[VioDeRegister]] | ||
* [[ | * [[VioGetPhysBuf]] | ||
* [[ | * [[VioScrollDn]] | ||
* [[ | * [[VioScrollLf]] | ||
* [[ | * [[VioScrollRt]] | ||
* [[ | * [[VioCheckCharType]] [[image:Vraag.gif]] | ||
* [[ | * [[VioPrtSc]] | ||
* [[ | * [[VioPrtScToggle]] | ||
* [[ | * [[VioRedrawSize]] [[image:Vraag.gif]] | ||
* [[ | * [[VioGetFont]] | ||
* [[ | * [[VioSetFont]] | ||
* [[ | * [[VioEndPopUp (OS/2 1.x)|VioEndPopUp]] | ||
* [[ | * [[VioGetAnsi (OS/2 1.x)|VioGetAnsi]] | ||
* [[ | * [[VioGetBuf (FAPI)|VioGetBuf]] | ||
* [[ | * [[VioGetConfig (FAPI)|VioGetConfig]] | ||
* [[ | * [[VioGetCp (FAPI)|VioGetCp]] | ||
* [[ | * [[VioGetCurPos (FAPI)|VioGetCurPos]] | ||
* [[ | * [[VioGetCurType (FAPI)|VioGetCurType]] | ||
* [[ | * [[VioGetMode (OS/2 1.x)|VioGetMode]] | ||
* [[ | * [[VioGetState (OS/2 1.x)|VioGetState]] | ||
* [[ | * [[VioModeUndo (OS/2 1.x)|VioModeUndo]] | ||
* [[ | * [[VioModeWait (OS/2 1.x)|VioModeWait]] | ||
* [[ | * [[VioPopUp (OS/2 1.x)|VioPopUp]] | ||
* [[ | * [[VioReadCellStr (FAPI)|VioReadCellStr]] | ||
* [[ | * [[VioReadCharStr (FAPI)|VioReadCharStr]] | ||
* [[ | * [[VioSavRedrawUndo (OS/2 1.x)|VioSavRedrawUndo]] | ||
* [[ | * [[VioSavRedrawWait (OS/2 1.x)|VioSavRedrawWait]] | ||
* [[ | * [[VioScrLock (FAPI)|VioScrLock]] | ||
* [[ | * [[VioScrollUp (FAPI)|VioScrollUp]] | ||
* [[ | * [[VioScrUnLock (FAPI)|VioScrUnLock]] | ||
* [[ | * [[VioSetAnsi (OS/2 1.x)|VioSetAnsi]] | ||
* [[ | * [[VioSetCp (OS/2 1.x)|VioSetCp]] | ||
* [[ | * [[VioSetCurPos (FAPI)|VioSetCurPos]] | ||
* [[ | * [[VioSetCurType (FAPI)|VioSetCurType]] | ||
* [[ | * [[VioSetMode (FAPI)|VioSetMode]] | ||
* [[ | * [[VioSetState (OS/2 1.x)|VioSetState]] | ||
* [[ | * [[VioShowBuf (FAPI)|VioShowBuf]] | ||
* [[ | * [[VioWrtCellStr (FAPI)|VioWrtCellStr]] | ||
* [[ | * [[VioWrtCharStr (FAPI)|VioWrtCharStr]] | ||
* [[ | * [[VioWrtCharStrAtt (FAPI)|VioWrtCharStrAtt]] | ||
* [[ | * [[VioWrtNAttr (FAPI)|VioWrtNAttr]] | ||
* [[ | * [[VioWrtNCell (FAPI)|VioWrtNCell]] | ||
* [[ | * [[VioWrtNChar (FAPI)|VioWrtNChar]] | ||
* [[ | * [[VioWrtTTY (FAPI)|VioWrtTTY]] | ||
* [[ | * [[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== | ||
*''[[Control Program Programming Guide and Reference]]'' - IBM 1996 | |||
*''API Addendum Volume 1 (PowerPC Edition)'' - IBM 1996, 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
- 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
- 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
Environment/Path
File Manipulation
- DosChgFilePtr
- DosClose
- DosCopy
- DosDelete
- DosEditName
- DosFileLocks
- DosMove
- DosOpen
- DosOpen2
- DosRead
- DosSetFileInfo
- DosSetPathInfo
- DosSetVerify
- DosWrite
- DosNewSize
- DosSetFileMode
File Handle Manipulation
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
To SORT
- DosCallback
- DosCLIAccess
- DosCreateCSAlias
- DosFileIO
- DosFindClose
- DosFlagProcess
- DosGetEnv
- DosGetHugeShift
- DosGetMachineMode
- DosSetSigHandler
- DosSetVec
- DosSMRegisterDD
- DosWriteAsync
- DosSysCtl
- DosQueryRASInfo
- DosRawReadNPipe
- DosRawWriteNPipe
Keyboard functions
- KbdCharIn (FAPI)
- KbdFlushBuffer_(FAPI)
- KbdGetCp (FAPI)
- KbdSetCp (FAPI)
- KbdPeek (FAPI)
- 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 ** (review)
- 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
Undocumented
- DosPageSize
- DosMaxPathLen
- DosLocalInfo
- DosGlobalInfo
Legend
: More information is required on this function. Information was not available on CP1 or PRCP books.
References
- Control Program Programming Guide and Reference - IBM 1996
- API Addendum Volume 1 (PowerPC Edition) - IBM 1996, APIBAS.INF
- Legacy OS/2 Programming Reference - IBM, PRCP.INF