Control Program Functions
Appearance
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
Video I/O functions
- VioGetBuf
- VioGetCurPos
- VioSetCurPos
- VioGetCurType
- VioSetCurType
- VioGetMode
- VioSetMode
- VioReadCellStr
- VioReadCharStr
- VioWrtCellStr
- VioWrtCharStr
- VioScrollUp
- VioScrollDown * Not Implemented
- VioScrollLeft * Not Implemented
- VioScrollRight * Not Implemented
- 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
- VioAssociate
- VioCreateLogFont
- VioCreatePS
- VioDeleteSetId
- VioDestroyPS
- VioGetDeviceCellSize
- VioQueryFonts
- VioQuerySetIds
- VioSetDeviceCellSize
- VioShowPS
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
Dynamic Linking Library
- DosFreeModule
- DosLoadModule
- DosQueryAppType
- DosQueryModuleHandle
- DosQueryModuleName
- DosQueryProcAddr
- DosQueryProcType
Error Management
- DosErrClass
- DosError
- DosDebug
- DosSuppressPopUps
- DosDumpProcess * Addendum
- DosForceSystemDump * Addendum
- Dos16SysTrace * Addendum
Exception Management
- DosQueryModFromEIP * Addendum
- DosRaiseException
- DosSetExceptionHandler
- DosUnsetExceptionHandler
- DosUnwindException
- Dos16QueryModFromCS * Addendum
Must Complete Management
Signaling Exception Management
File Systems/File Management
Directory Searching
Directory
Disk
Environment/Path
LibPath
File Manipulation
- DosCancelLockRequest
- DosCancelLockRequestL * Addendum
- DosClose
- DosProtectClose
- DosCopy
- DosDelete
- DosEditName
- DosForceDelete
- DosMove
- DosOpen
- DosOpenL * Addendum
- DosProtectOpen
- DosProtectOpenL * Addendum
- DosRead
- DosReplaceModule * Addendum
- DosProtectRead
- DosSetFileInfo
- DosProtectSetFileInfo
- DosSetFileLocks
- DosSetFileLocksL * Addendum
- DosProtectSetFileLocks
- DosProtectSetFileLocksL * Addendum
- DosSetFilePtr
- DosSetFilePtrL * Addendum
- DosProtectSetFilePtr
- DosProtectSetFilePtrL * Addendum
- DosSetFileSize
- DosSetFileSizeL * Addendum
- DosProtectSetFileSize
- DosProtectSetFileSizeL * Addendum
- DosSetPathInfo
- DosSetVerify
- DosWrite
- DosProtectWrite
File Handle Manipulation
- DosDupHandle
- DosQueryFHState
- DosProtectQueryFHState
- DosQueryHType
- DosResetBuffer
- DosSetFHState
- DosProtectSetFHState
- DosSetMaxFH
- DosSetRelMaxFH
File Querying
- DosEnumAttribute
- DosProtectEnumAttribute
- DosQueryFileInfo
- DosProtectQueryFileInfo
- DosQueryPathInfo
- DosQuerySysInfo
- DosQuerySysState * Addendum
- DosQueryVerify
- DosPerfSysCall
- DosGetProcessorStatus * Addendum
- DosSetProcessorStatus * Addendum
- DosQueryABIOSSupport * Addendum
File System Functions
Memory Management
- DosAliasMem * Addendum
- DosAllocMem
- DosFreeMem
- DosQueryMem
- DosQueryMemState * Addendum
- DosSetMem
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 * Addendum
- DosKillThread
- DosQueryThreadAffinity * Addendum
- DosQueryThreadContext
- DosResumeThread
- DosSetThreadAffinity * Addendum
- DosSleep
- DosSuspendThread
- DosVerifyPidTid * Addendum
- DosWaitThread
Session Management
Timer
VDD
Legacy Functions
Device I/O
- DosBeep
Video I/O functions
- VioRegister * Legacy
- VioGlobalReg * Legacy
- VioDeRegister * Legacy
- VioGetPhysBuf * Legacy
- VioScrollDn * Legacy
- VioScrollLf * Legacy
- VioScrollRt * Legacy
- VioCheckCharType * Not found on CP1 or PRCP
- VioPrtSc * Legacy
- VioPrtScToggle * Legacy
- VioRedrawSize * Not found on CPI or PRCP
- VioGetFont * Legacy
- VioSetFont * Legacy
Advanced VIO
- VioGetOrg * Can not be found on CP1 or PRCP
- VioSetOrg * Can not be found on CP1 or PRCP
- WinDefAVioWindowProc * Can not be found on CP1 or PRCP
Keyboard functions
- KbdRegister * Legacy
- KbdDeRegister * Legacy
- KbdOpen * Legacy
- KbdClose * Legacy
- KbdGetFocus * Legacy
- KbdFreeFocus * Legacy
- KbdSynch * Legacy
- KbdSetFgnd * Legacy
- KbdSetHWID* Can not be found on CP1 or PRCP
- KbdSetCustXt * Legacy
Mouse functions
- MouRegister * Legacy
- MouDeRegister * Legacy
- MouOpen * Legacy
- MouClose * Legacy
- MouInitReal * Legacy
- MouSynch * Legacy
Monitor functions
- DosMonClose * Legacy
- DosMonOpen * Legacy
- DosMonRead * Legacy
- DosMonReg * Legacy
- DosMonWrite * Legacy
File Systems/File Management
File Manipulation
- DosClose
- DosCopy
Queues
- DosCloseQueue
Addressing
- DosFlatToSel * Can not be found on CP1 or PRCP
- DosSelToFlat * Can not be found on CP1 or PRCP
Message Management
- DosTrueGetMessage * Can not be found on CP1 or PRCP
- DosIQueryMessageCp * Can not be found on CP1 or PRCP
To SORT
- DosAllocHuge
- DosAllocSeg
- DosAllocShrSeg
- DosBufReset
- DosCallback
- DosCallNmPipe
- DosCaseMap
- DosChDir
- DosChgFilePtr
- DosCLIAccess
- DosCloseSem
- DosConnectNmPipe
- DosCreateCSAlias
- DosCreateSem
- DosCwait
- DosDevIOCtl2
- DosDisConnectNmPipe
- DosFileIO
- DosFileLocks
- DosFindClose
- DosFindFirst2
- DosFlagProcess
- DosFreeSeg
- DosFSRamSemClear
- DosFSRamSemRequest
- DosGetCollate
- DosGetCp
- DosGetCtryInfo
- DosGetDBCSEv
- DosGetEnv
- DosGetHugeShift
- DosGetInfoSeg
- DosGetMachineMode
- DosGetModHandle
- DosGetModName
- DosGetPID
- DosGetPPID
- DosGetProcAddr
- DosGetPrty
- DosGetResource2
- DosGetSeg
- DosGetShrSeg
- DosGetVersion
- DosGiveSeg
- DosHoldSignal
- DosInsMessage
- DosLockSeg
- DosMakeNmPipe
- DosMakePipe
- DosMemAvail
- DosMkDir
- DosMkDir2
- DosMuxSemWait
- DosNewSize
- DosOpen2
- DosOpenSem
- DosPeekNmPipe
- DosPFSActivate
- DosPFSCloseUser
- DosPFSInit
- DosPFSQueryAct
- DosPFSVerifyFont
- DosPortAccess
- DosPtrace
- DosQAppType
- DosQCurDir
- DosQCurDisk
- DosQFHandState
- DosQFileInfo
- DosQFileMode
- DosQFSInfo
- DosQHandType
- DosQNmPHandState
- DosQNmPipeInfo
- DosQNmPipeSemState
- DosQPathInfo
- DosQSysInfo
- DosQVerify
- DosR2StackRealloc
- DosReadAsync
- DosReallocHuge
- DosReallocSeg
- DosRmDir
- DosSelectDisk
- DosSemClear
- DosSemRequest
- DosSemSet
- DosSemSetWait
- DosSemWait
- DosSendSignal
- DosSetCp
- DosSetFHandState
- DosSetFileMode
- DosSetNmPHandState
- DosSetNmPipeSem
- DosSetProcCp
- DosSetPrty
- DosSetSigHandler
- DosSetVec
- DosSizeSeg
- DosSMRegisterDD
- DosSubFree
- DosSubSet
- DosTimerAsync
- DosTimerStart
- DosTimerStop
- DosTransactNmPipe
- DosUnlockSeg
- DosWaitNmPipe
- DosWriteAsync
External References
- CP1.INF - Control Program Programming Guide and Reference, Part 1 of 3 - IBM Tookit 4.5
- CP2.INF - Control Program Programming Guide and Reference, Part 2 of 3 - IBM Tookit 4.5
- CP3.INF - Control Program Programming Guide and Reference, Part 3 of 3 - IBM Tookit 4.5
- API Addendum Volume 1 (PowerPC Edition) - IBM Tookit 4.5
- Legacy OS/2 Programming Reference - IBM Tookit 4.5