Control Program Functions: Difference between revisions
Appearance
Line 200: | Line 200: | ||
* [[OS2 API:CPI:DosProtectSetFileInfo|DosProtectSetFileInfo]] | * [[OS2 API:CPI:DosProtectSetFileInfo|DosProtectSetFileInfo]] | ||
* [[OS2 API:CPI:DosSetFileLocks|DosSetFileLocks]] | * [[OS2 API:CPI:DosSetFileLocks|DosSetFileLocks]] | ||
* [[OS2 API:CPI:DosSetFileLocksL|DosSetFileLocksL]] * | * [[OS2 API:CPI:DosSetFileLocksL|DosSetFileLocksL]] * Addendum | ||
* [[OS2 API:CPI:DosProtectSetFileLocks|DosProtectSetFileLocks]] | * [[OS2 API:CPI:DosProtectSetFileLocks|DosProtectSetFileLocks]] | ||
* [[OS2 API:CPI:DosProtectSetFileLocksL|DosProtectSetFileLocksL]] * Addendum | * [[OS2 API:CPI:DosProtectSetFileLocksL|DosProtectSetFileLocksL]] * Addendum |
Revision as of 17:06, 20 June 2016
Control Programming Interface
Some general information is available at Control Program page.
Date/Time
Device I/O
Video I/O functions
- VioRegister * Legacy
- VioGlobalReg * Legacy
- VioDeRegister * Legacy
- VioGetBuf
- VioGetCurPos
- VioSetCurPos
- VioGetCurType
- VioSetCurType
- VioGetMode
- VioSetMode
- VioGetPhysBuf * Legacy
- VioReadCellStr
- VioReadCharStr
- VioWrtCellStr
- VioWrtCharStr
- VioScrollDn * Legacy
- VioScrollUp * Legacy
- VioScrollLf * Legacy
- VioScrollRt * Legacy
- VioWrtNAttr
- VioWrtNCell
- VioWrtNChar
- VioWrtTTY
- VioWrtCharStrAtt
- VioCheckCharType * Not found on CP1 or PRCP
- VioShowBuf
- VioSetAnsi
- VioGetAnsi
- VioPrtSc * Legacy
- VioPrtScToggle * Legacy
- VioRedrawSize * Not found on CPI or PRCP
- VioSavRedrawWait
- VioSavRedrawUndo
- VioModeWait
- VioModeUndo
- VioScrLock
- VioScrUnLock
- VioPopUp
- VioEndPopUp
- VioGetConfig
- VioGetConfig
- VioSetFont * Legacy
- VioGetCp
- VioSetCp
- VioGetState
- VioSetState
Advanced VIO
- VioAssociate
- VioCreateLogFont
- VioCreatePS
- VioDeleteSetId
- VioDestroyPS
- VioGetDeviceCellSize
- VioGetOrg * Can not be found on CP1 or PRCP
- VioQueryFonts
- VioQuerySetIds
- VioSetDeviceCellSize
- VioSetOrg * Can not be found on CP1 or PRCP
- VioShowPS
- WinDefAVioWindowProc * Can not be found on CP1 or PRCP
Keyboard functions
- KbdRegister * Legacy
- KbdDeRegister * Legacy
- KbdCharIn
- KbdPeek
- KbdStringIn
- KbdFlushBuffer
- KbdSetStatus
- KbdGetStatus
- KbdSetCp
- KbdGetCp
- KbdOpen * Legacy
- KbdClose * Legacy
- KbdGetFocus * Legacy
- KbdFreeFocus * Legacy
- KbdSynch * Legacy
- KbdSetFgnd * Legacy
- KbdGetHWID
- KbdSetHWID* Can not be found on CP1 or PRCP
- KbdXlate
- KbdSetCustXt * Legacy
Mouse functions
- MouRegister * Legacy
- MouDeRegister * Legacy
- MouFlushQue
- MouGetPtrPos
- MouSetPtrPos
- MouSetPtrShape
- MouGetPtrShape
- MouGetDevStatus
- MouGetNumButtons
- MouGetNumMickeys
- MouReadEventQue
- MouGetNumQueEl
- MouGetEventMask
- MouSetEventMask
- MouGetScaleFact
- MouSetScaleFact
- MouOpen * Legacy
- MouClose * Legacy
- MouRemovePtr
- MouDrawPtr
- MouSetDevStatus
- MouInitReal * Legacy
- MouSynch * Legacy
- MouGetThreshold
- MouSetThreshold
Monitor functions
- DosMonClose * Legacy
- DosMonOpen * Legacy
- DosMonRead * Legacy
- DosMonReg * Legacy
- DosMonWrite * Legacy
Dynamic Linking Library
- DosFreeModule
- DosLoadModule
- DosQueryAppType
- DosQueryModuleHandle
- DosQueryModuleName
- DosQueryProcAddr
- DosQueryProcType
Error Management
Exception Management
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
- 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
- DosQueryVerify
File System Functions
Memory Management
Heap Memory
Thread local Memory
Addressing
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
- DosKillThread
- DosQueryThreadAffinity
- DosResumeThread
- DosSetThreadAffinity
- DosSleep
- DosSuspendThread
- DosWaitThread
Session Management
Timer
To SORT
This needs to be organized:
External References
- Legacy OS/2 Programming Reference - IBM Tookit 4.5
- API Addendum Volume 1 (PowerPC Edition) - IBM Tookit 4.5
- 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