Jump to content

Control Program Functions List: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
 
(5 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 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]]
Line 205: Line 203:
* [[DosQueryQueue]]
* [[DosQueryQueue]]
* [[DosWriteQueue]]
* [[DosWriteQueue]]
==== Server ====
==== Server ====
* [[DosCreateQueue]]
* [[DosCreateQueue]]
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]]
Line 389: Line 383:


=== Date / Time ===
=== Date / Time ===
* [[DosGetDateTime (Legacy)|DosGetDateTime]]
* [[DosGetDateTime (OS/2 1.x)|DosGetDateTime]]
* [[DosSetDateTime (Legacy)|DosSetDateTime]]
* [[DosSetDateTime (OS/2 1.x)|DosSetDateTime]]


=== Device I/O ===
=== Device I/O ===
* [[DosBeep (Legacy)|DosBeep]]
* [[DosBeep (OS/2 1.x)|DosBeep]]
* [[DosDevConfig (Legacy)]]
* [[DosDevConfig (OS/2 1.x)]]
* [[DosDevIOCtl (FAPI)|DosDevIOCtl]]
* [[DosDevIOCtl (FAPI)|DosDevIOCtl]]
* [[DosDevIOCtl2]]
* [[DosDevIOCtl2]]
Line 546: Line 540:
* [[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
;Server
* [[DosCreateQueue (OS/2 1.x)|DosCreateQueue]]
* [[DosCreateQueue (OS/2 1.x)|DosCreateQueue]]
Line 552: Line 545:
* [[DosPurgeQueue (OS/2 1.x)|DosPurgeQueue]]
* [[DosPurgeQueue (OS/2 1.x)|DosPurgeQueue]]
* [[DosReadQueue (OS/2 1.x)|DosReadQueue]]
* [[DosReadQueue (OS/2 1.x)|DosReadQueue]]
;Client
;Client
* [[DosOpenQueue (OS/2 1.x)|DosOpenQueue]]
* [[DosOpenQueue (OS/2 1.x)|DosOpenQueue]]
Line 743: Line 735:


==== Video I/O functions ====
==== Video I/O functions ====
* [[VioRegister]]  
* [[VioRegister]]
* [[VioGlobalReg]]
* [[VioGlobalReg]]
* [[VioDeRegister]]
* [[VioDeRegister]]
Line 755: Line 747:
* [[VioRedrawSize]] [[image:Vraag.gif]]
* [[VioRedrawSize]] [[image:Vraag.gif]]
* [[VioGetFont]]
* [[VioGetFont]]
* [[VioSetFont]]  
* [[VioSetFont]]
* [[VioEndPopUp (OS/2 1.x)|VioEndPopUp]]
* [[VioEndPopUp (OS/2 1.x)|VioEndPopUp]]
* [[VioGetAnsi (OS/2 1.x)|VioGetAnsi]]
* [[VioGetAnsi (OS/2 1.x)|VioGetAnsi]]
* [[VioGetBuf (FAPI)|VioGetBuf]]
* [[VioGetBuf (FAPI)|VioGetBuf]]
* [[VioGetConfig (FAPI)|VioGetConfig]]
* [[VioGetConfig (FAPI)|VioGetConfig]]
* [[VioGetCp (FAPI)|VioGetCp]]    
* [[VioGetCp (FAPI)|VioGetCp]]
* [[VioGetCurPos (FAPI)|VioGetCurPos]]
* [[VioGetCurPos (FAPI)|VioGetCurPos]]
* [[VioGetCurType (FAPI)|VioGetCurType]]  
* [[VioGetCurType (FAPI)|VioGetCurType]]
* [[VioGetMode (OS/2 1.x)|VioGetMode]]  
* [[VioGetMode (OS/2 1.x)|VioGetMode]]
* [[VioGetState (OS/2 1.x)|VioGetState]]  
* [[VioGetState (OS/2 1.x)|VioGetState]]
* [[VioModeUndo (OS/2 1.x)|VioModeUndo]]  
* [[VioModeUndo (OS/2 1.x)|VioModeUndo]]
* [[VioModeWait (OS/2 1.x)|VioModeWait]]  
* [[VioModeWait (OS/2 1.x)|VioModeWait]]
* [[VioPopUp (OS/2 1.x)|VioPopUp]]  
* [[VioPopUp (OS/2 1.x)|VioPopUp]]
* [[VioReadCellStr (FAPI)|VioReadCellStr]]
* [[VioReadCellStr (FAPI)|VioReadCellStr]]
* [[VioReadCharStr (FAPI)|VioReadCharStr]]
* [[VioReadCharStr (FAPI)|VioReadCharStr]]
* [[VioSavRedrawUndo (OS/2 1.x)|VioSavRedrawUndo]]  
* [[VioSavRedrawUndo (OS/2 1.x)|VioSavRedrawUndo]]
* [[VioSavRedrawWait (OS/2 1.x)|VioSavRedrawWait]]  
* [[VioSavRedrawWait (OS/2 1.x)|VioSavRedrawWait]]
* [[VioScrLock (FAPI)|VioScrLock]]  
* [[VioScrLock (FAPI)|VioScrLock]]
* [[VioScrollUp (FAPI)|VioScrollUp]]  
* [[VioScrollUp (FAPI)|VioScrollUp]]
* [[VioScrUnLock (FAPI)|VioScrUnLock]]  
* [[VioScrUnLock (FAPI)|VioScrUnLock]]
* [[VioSetAnsi (OS/2 1.x)|VioSetAnsi]]  
* [[VioSetAnsi (OS/2 1.x)|VioSetAnsi]]
* [[VioSetCp (OS/2 1.x)|VioSetCp]]
* [[VioSetCp (OS/2 1.x)|VioSetCp]]
* [[VioSetCurPos (FAPI)|VioSetCurPos]]
* [[VioSetCurPos (FAPI)|VioSetCurPos]]
* [[VioSetCurType (FAPI)|VioSetCurType]]
* [[VioSetCurType (FAPI)|VioSetCurType]]
* [[VioSetMode (FAPI)|VioSetMode]]  
* [[VioSetMode (FAPI)|VioSetMode]]
* [[VioSetState (OS/2 1.x)|VioSetState]]  
* [[VioSetState (OS/2 1.x)|VioSetState]]
* [[VioShowBuf (FAPI)|VioShowBuf]]  
* [[VioShowBuf (FAPI)|VioShowBuf]]
* [[VioWrtCellStr (FAPI)|VioWrtCellStr]]  
* [[VioWrtCellStr (FAPI)|VioWrtCellStr]]
* [[VioWrtCharStr (FAPI)|VioWrtCharStr]]  
* [[VioWrtCharStr (FAPI)|VioWrtCharStr]]
* [[VioWrtCharStrAtt (FAPI)|VioWrtCharStrAtt]]  
* [[VioWrtCharStrAtt (FAPI)|VioWrtCharStrAtt]]
* [[VioWrtNAttr (FAPI)|VioWrtNAttr]]  
* [[VioWrtNAttr (FAPI)|VioWrtNAttr]]
* [[VioWrtNCell (FAPI)|VioWrtNCell]]  
* [[VioWrtNCell (FAPI)|VioWrtNCell]]
* [[VioWrtNChar (FAPI)|VioWrtNChar]]  
* [[VioWrtNChar (FAPI)|VioWrtNChar]]
* [[VioWrtTTY (FAPI)|VioWrtTTY]]
* [[VioWrtTTY (FAPI)|VioWrtTTY]]
* [[VioQueryConsole]] [[image:Vraag.gif]]
* [[VioQueryConsole]]


===== Advanced VIO =====
===== Advanced VIO =====
Line 796: Line 788:
* [[WinDefAVioWindowProc]] [[image:Vraag.gif]]
* [[WinDefAVioWindowProc]] [[image:Vraag.gif]]
</div>
</div>
===== Undocumented =====
* DosPageSize
* DosMaxPathLen
* DosLocalInfo
* DosGlobalInfo


===Legend===
===Legend===

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

Dynamic Linking Library

Error Management

Exception Management

Must Complete Management

Signaling Exception Management

File Systems/File Management

Directory Searching

Directory

Disk

Environment/Path

LibPath

File Manipulation

File Handle Manipulation

File Querying

File System Functions

Memory Management

Heap Memory

Shared Memory

Thread local Memory

Message Management

National Language/Code Page

Pipes

Named Pipes

Queues

Server

Client

Resource Management

Semaphores

Event Semaphores

Mutex Semaphores

MuxWait Semaphores

Processes/Threading

Processes

Threads

Session Management

Timer

VDD

Keyboard functions

Mouse functions

Video I/O functions

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

Exception Management

File Systems/File Management

Directory Searching

Directory

Disk

Environment/Path

File Manipulation

File Handle Manipulation

File Querying

File System Functions

Memory Management

Heap Memory

Message Management

National Language/Code Page

Pipes

Named Pipes

Queues

Server
Client

Resource Management

Semaphores

MuxWait Semaphores

Processes/Threading

Processes

Threads

Session Management

Screen Group

Quickhelp

Timer

Addressing

Spool

To SORT

Keyboard functions

Mouse functions

Video I/O functions

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