Difference between revisions of "Control Program Functions List"
From EDM2
m |
m |
||
Line 212: | Line 212: | ||
* [[DosReadQueue]] | * [[DosReadQueue]] | ||
==== Client ==== | ==== Client ==== | ||
− | * [[ | + | * [[DosOpenQueue]] |
=== Resource Management === | === Resource Management === | ||
Line 476: | Line 476: | ||
==== File Querying ==== | ==== File Querying ==== | ||
− | * [[ | + | * [[DosEnumAttribute (OS/2 1.x)|DosEnumAttribute]] |
* [[DosQFileInfo]] | * [[DosQFileInfo]] | ||
− | * [[ | + | * [[DosQFileMode]] |
− | * [[ | + | * [[DosQPathInfo]] |
− | * [[ | + | * [[DosQSysInfo]] |
− | * [[ | + | * [[DosQVerify]] |
==== File System Functions==== | ==== File System Functions==== | ||
Line 527: | Line 527: | ||
* [[DosSetProcCp]] | * [[DosSetProcCp]] | ||
− | === Pipes === | + | ===Pipes=== |
− | + | ;Named Pipes | |
− | + | ||
* [[DosCallNmPipe]] | * [[DosCallNmPipe]] | ||
* [[DosConnectNmPipe]] | * [[DosConnectNmPipe]] | ||
Line 544: | Line 543: | ||
* [[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 | |
* [[DosCreateQueue (OS/2 1.x)|DosCreateQueue]] | * [[DosCreateQueue (OS/2 1.x)|DosCreateQueue]] | ||
* [[DosPeekQueue (OS/2 1.x)|DosPeekQueue]] | * [[DosPeekQueue (OS/2 1.x)|DosPeekQueue]] | ||
Line 555: | Line 554: | ||
* [[DosReadQueue (OS/2 1.x)|DosReadQueue]] | * [[DosReadQueue (OS/2 1.x)|DosReadQueue]] | ||
− | + | ;Client | |
* [[DosOpenQueue (OS/2 1.x)|DosOpenQueue]] | * [[DosOpenQueue (OS/2 1.x)|DosOpenQueue]] | ||
Line 607: | Line 606: | ||
* [[DosStopSession (OS/2 1.x)|DosStopSession]] | * [[DosStopSession (OS/2 1.x)|DosStopSession]] | ||
− | + | ;Screen Group | |
* [[DosSMSGDoPopup]] | * [[DosSMSGDoPopup]] | ||
* [[DosSMSGEndPopup]] | * [[DosSMSGEndPopup]] | ||
Line 640: | Line 639: | ||
* [[DosSMSetSessionType]] | * [[DosSMSetSessionType]] | ||
* [[DosRegisterNotification]] | * [[DosRegisterNotification]] | ||
− | |||
=== Quickhelp === | === Quickhelp === |
Revision as of 13:45, 12 March 2018
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
Environment/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 (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
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