Difference between revisions of "Control Program Functions List"

From EDM2
Jump to: navigation, search
m
m
Line 32: Line 32:
 
* [[DosDebug]]
 
* [[DosDebug]]
 
* [[DosSuppressPopUps]]
 
* [[DosSuppressPopUps]]
* [[DosDumpProcess]]  [[Image:Conf.gif]]
+
* [[DosDumpProcess]]
* [[DosForceSystemDump]] [[Image:Conf.gif]]
+
* [[DosForceSystemDump]]
* [[Dos16SysTrace]] [[Image:Conf.gif]]
+
* [[Dos16SysTrace]]
  
 
=== Exception Management ===
 
=== Exception Management ===
* [[DosQueryModFromEIP]] [[Image:Conf.gif]]
+
* [[DosQueryModFromEIP]]
 
* [[DosRaiseException]]
 
* [[DosRaiseException]]
 
* [[DosSetExceptionHandler]]
 
* [[DosSetExceptionHandler]]
 
* [[DosUnsetExceptionHandler]]
 
* [[DosUnsetExceptionHandler]]
 
* [[DosUnwindException]]
 
* [[DosUnwindException]]
* [[Dos16QueryModFromCS]] [[Image:Conf.gif]]
+
* [[Dos16QueryModFromCS]]
  
 
==== Must Complete Management ====
 
==== Must Complete Management ====
Line 76: Line 76:
 
==== File Manipulation ====
 
==== File Manipulation ====
 
* [[DosCancelLockRequest]]  
 
* [[DosCancelLockRequest]]  
* [[DosCancelLockRequestL]] [[Image:Conf.gif]]
+
* [[DosCancelLockRequestL]]
 
* [[DosClose]]
 
* [[DosClose]]
 
* [[DosProtectClose]]
 
* [[DosProtectClose]]
Line 85: Line 85:
 
* [[DosMove]]
 
* [[DosMove]]
 
* [[DosOpen]]
 
* [[DosOpen]]
* [[DosOpenL]] [[Image:Conf.gif]]
+
* [[DosOpenL]]
 
* [[DosProtectOpen]]
 
* [[DosProtectOpen]]
* [[DosProtectOpenL]] [[Image:Conf.gif]]
+
* [[DosProtectOpenL]]
 
* [[DosRead]]
 
* [[DosRead]]
* [[DosReplaceModule]] [[Image:Conf.gif]]
+
* [[DosReplaceModule]]
 
* [[DosProtectRead]]
 
* [[DosProtectRead]]
 
* [[DosSetFileInfo]]
 
* [[DosSetFileInfo]]
 
* [[DosProtectSetFileInfo]]
 
* [[DosProtectSetFileInfo]]
 
* [[DosSetFileLocks]]
 
* [[DosSetFileLocks]]
* [[DosSetFileLocksL]] [[Image:Conf.gif]]
+
* [[DosSetFileLocksL]]
 
* [[DosProtectSetFileLocks]]
 
* [[DosProtectSetFileLocks]]
* [[DosProtectSetFileLocksL]] [[Image:Conf.gif]]
+
* [[DosProtectSetFileLocksL]]
 
* [[DosSetFilePtr]]
 
* [[DosSetFilePtr]]
* [[DosSetFilePtrL]] [[Image:Conf.gif]]
+
* [[DosSetFilePtrL]]
 
* [[DosProtectSetFilePtr]]
 
* [[DosProtectSetFilePtr]]
* [[DosProtectSetFilePtrL]] [[Image:Conf.gif]]
+
* [[DosProtectSetFilePtrL]]
 
* [[DosSetFileSize]]
 
* [[DosSetFileSize]]
* [[DosSetFileSizeL]] [[Image:Conf.gif]]
+
* [[DosSetFileSizeL]]
 
* [[DosProtectSetFileSize]]
 
* [[DosProtectSetFileSize]]
* [[DosProtectSetFileSizeL]] [[Image:Conf.gif]]
+
* [[DosProtectSetFileSizeL]]
 
* [[DosSetPathInfo]]
 
* [[DosSetPathInfo]]
 
* [[DosSetVerify]]
 
* [[DosSetVerify]]
Line 125: Line 125:
 
* [[DosProtectEnumAttribute]]
 
* [[DosProtectEnumAttribute]]
 
* [[DosQueryFileInfo]]
 
* [[DosQueryFileInfo]]
* [[DosQueryFileMode]] [[image:Att.gif]] [[image:Vraag.gif]] [https://books.google.com.ec/books?id=u7WbsmbttwYC&pg=PT372&lpg=PT372&dq#v=onepage&q&f=false]
+
* [[DosQueryFileMode]]
 
* [[DosProtectQueryFileInfo]]
 
* [[DosProtectQueryFileInfo]]
 
* [[DosQueryPathInfo]]
 
* [[DosQueryPathInfo]]
 
* [[DosQuerySysInfo]]
 
* [[DosQuerySysInfo]]
* [[DosQuerySysState]]    [[Image:Conf.gif]]
+
* [[DosQuerySysState]]
 
* [[DosQueryVerify]]
 
* [[DosQueryVerify]]
 
* [[DosPerfSysCall]]
 
* [[DosPerfSysCall]]
* [[DosGetProcessorStatus]]    [[Image:Conf.gif]]
+
* [[DosGetProcessorStatus]]
* [[DosSetProcessorStatus]]    [[Image:Conf.gif]]
+
* [[DosSetProcessorStatus]]
* [[DosQueryABIOSSupport]]  [[Image:Conf.gif]]
+
* [[DosQueryABIOSSupport]]
  
 
==== File System Functions ====
 
==== File System Functions ====
Line 146: Line 146:
  
 
=== Memory Management ===
 
=== Memory Management ===
* [[DosAliasMem]] [[Image:Conf.gif]]
+
* [[DosAliasMem]]
 
* [[DosAllocMem]]
 
* [[DosAllocMem]]
 
* [[DosFreeMem]]
 
* [[DosFreeMem]]
 
* [[DosQueryMem]]
 
* [[DosQueryMem]]
* [[DosQueryMemState]] [[Image:Conf.gif]]
+
* [[DosQueryMemState]]
 
* [[DosSetMem]]
 
* [[DosSetMem]]
  
Line 260: Line 260:
 
==== Threads ====
 
==== Threads ====
 
* [[DosCreateThread]]
 
* [[DosCreateThread]]
* [[DosCreateThread2]] [[Image:Conf.gif]]
+
* [[DosCreateThread2]]
 
* [[DosKillThread]]
 
* [[DosKillThread]]
* [[DosQueryThreadAffinity]] [[Image:Conf.gif]]
+
* [[DosQueryThreadAffinity]]
 
* [[DosQueryThreadContext]]
 
* [[DosQueryThreadContext]]
 
* [[DosResumeThread]]
 
* [[DosResumeThread]]
* [[DosSetThreadAffinity]] [[Image:Conf.gif]]
+
* [[DosSetThreadAffinity]]
 
* [[DosSleep]]
 
* [[DosSleep]]
 
* [[DosSuspendThread]]
 
* [[DosSuspendThread]]
* [[DosVerifyPidTid]]  [[Image:Conf.gif]]
+
* [[DosVerifyPidTid]]
 
* [[DosWaitThread]]
 
* [[DosWaitThread]]
  
Line 396: Line 396:
 
* [[DosDevConfig (Legacy)]]
 
* [[DosDevConfig (Legacy)]]
 
* [[DosDevIOCtl (FAPI)|DosDevIOCtl]]
 
* [[DosDevIOCtl (FAPI)|DosDevIOCtl]]
* [[DosDevIOCtl2|DosDevIOCtl2]]
+
* [[DosDevIOCtl2]]
 
* [[DosPhysicalDisk (FAPI)|DosPhysicalDisk]]
 
* [[DosPhysicalDisk (FAPI)|DosPhysicalDisk]]
  
 
=== Dynamic Linking Library ===  
 
=== Dynamic Linking Library ===  
* [[DosGetModHandle|DosGetModHandle]]
+
* [[DosGetModHandle]]
* [[DosGetModName|DosGetModName]]
+
* [[DosGetModName]]
  
 
==== Monitor functions ====
 
==== Monitor functions ====
Line 413: Line 413:
 
* [[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|DosQAppType]]
+
* [[DosQAppType]]
  
 
=== Error Management ===
 
=== Error Management ===
Line 419: Line 419:
 
* [[DosError (FAPI)|DosError]]
 
* [[DosError (FAPI)|DosError]]
 
* [[DosPTrace]]
 
* [[DosPTrace]]
* [[DosLogRegister|DosLogRegister]] (OS/2 2.0 and 1.3)
+
* [[DosLogRegister]] (OS/2 2.0 and 1.3)
* [[DosLogEntry]] (OS/2 2.0 and 1.3)
+
* [[DosLogEntry]] (OS/2 2.0 and 1.3)
* [[DosLogRead]] * (OS/2 2.0 and 1.3)
+
* [[DosLogRead]] (OS/2 2.0 and 1.3)
  
 
===Exception Management===
 
===Exception Management===
Line 427: Line 427:
  
 
=== File Systems/File Management ===
 
=== File Systems/File Management ===
 
 
==== Directory Searching ====
 
==== Directory Searching ====
 
* [[DosFindFirst (FAPI)|DosFindFirst]]
 
* [[DosFindFirst (FAPI)|DosFindFirst]]
* [[DosFindFirst2|DosFindFirst2]]
+
* [[DosFindFirst2]]
 
* [[DosFindNext (FAPI)|DosFindNext]]
 
* [[DosFindNext (FAPI)|DosFindNext]]
  
Line 454: Line 453:
 
* [[DosDelete (FAPI)|DosDelete]]
 
* [[DosDelete (FAPI)|DosDelete]]
 
* [[DosEditName (FAPI)|DosEditName]]
 
* [[DosEditName (FAPI)|DosEditName]]
* [[DosFileLocks|DosFileLocks]]
+
* [[DosFileLocks]]
 
* [[DosMove (FAPI)|DosMove]]
 
* [[DosMove (FAPI)|DosMove]]
 
* [[DosOpen (FAPI)|DosOpen]]
 
* [[DosOpen (FAPI)|DosOpen]]
* [[DosOpen2|DosOpen2]]
+
* [[DosOpen2]]
 
* [[DosRead (FAPI)|DosRead]]
 
* [[DosRead (FAPI)|DosRead]]
 
* [[DosSetFileInfo (FAPI)|DosSetFileInfo]]
 
* [[DosSetFileInfo (FAPI)|DosSetFileInfo]]
Line 463: Line 462:
 
* [[DosSetVerify (FAPI)|DosSetVerify]]
 
* [[DosSetVerify (FAPI)|DosSetVerify]]
 
* [[DosWrite (FAPI)|DosWrite]]
 
* [[DosWrite (FAPI)|DosWrite]]
* [[DosNewSize|DosNewSize]]
+
* [[DosNewSize]]
* [[DosSetFileMode|DosSetFileMode]]
+
* [[DosSetFileMode]]
  
 
==== File Handle Manipulation ====
 
==== File Handle Manipulation ====
Line 473: Line 472:
 
* [[DosQHandType]]
 
* [[DosQHandType]]
 
* [[DosSetFHandState]]
 
* [[DosSetFHandState]]
* [[DosQFHState]] [[image:Vraag.gif]] * From 1.x
+
* [[DosQFHState]]
  
 
==== File Querying ====
 
==== File Querying ====
Line 560: Line 559:
 
* [[DosFreeResource (OS/2 1.x)|DosFreeResource]]
 
* [[DosFreeResource (OS/2 1.x)|DosFreeResource]]
 
* [[DosGetResource (OS/2 1.x)|DosGetResource]]
 
* [[DosGetResource (OS/2 1.x)|DosGetResource]]
* [[DosGetResource2|DosGetResource2]]
+
* [[DosGetResource2]]
  
 
=== Semaphores ===
 
=== Semaphores ===
Line 573: Line 572:
 
* [[DosSemSetWait]]
 
* [[DosSemSetWait]]
 
* [[DosSemWait]]
 
* [[DosSemWait]]
* [[DosPMSemWait]]  [[image:Vraag.gif]]
+
* [[DosPMSemWait]]
* [[DosPMMuxSemWait]]  [[image:Vraag.gif]]
+
* [[DosPMMuxSemWait]]
  
 
==== MuxWait Semaphores ====
 
==== MuxWait Semaphores ====
Line 650: Line 649:
  
 
=== Addressing ===
 
=== Addressing ===
* [[DosFlatToSel]] [[image:Vraag.gif]]
+
* [[DosFlatToSel]]
* [[DosSelToFlat]] [[image:Vraag.gif]]
+
* [[DosSelToFlat]]
 +
* [[DosGetShrSeg]]
  
 
=== Spool ===
 
=== Spool ===
* [[DosPFSActivate]] * Not found on OS2TK45
+
* [[DosPFSActivate]]
* [[DosPFSCloseUser]] * Not found on OS2TK45
+
* [[DosPFSCloseUser]]
* [[DosPFSInit]] * Not found on OS2TK45
+
* [[DosPFSInit]]
* [[DosPFSQueryAct]] * Not found on OS2TK45
+
* [[DosPFSQueryAct]]
* [[DosPFSVerifyFont]] * Not found on OS2TK45
+
* [[DosPFSVerifyFont]]
  
 
===To SORT===
 
===To SORT===
Line 674: Line 674:
 
* [[DosGetProcAddr]]
 
* [[DosGetProcAddr]]
 
* [[DosGetPrty]]
 
* [[DosGetPrty]]
* [[DosGetShrSeg]]
 
 
* [[DosGetVersion]]
 
* [[DosGetVersion]]
 
* [[DosHoldSignal]]
 
* [[DosHoldSignal]]

Revision as of 10:49, 19 January 2020

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

  • Att.gif: It seems that these functions were not implemented on the OS/2 4.5 Toolkit.
  • Conf.gif: These functions were documented on the Addendum of the OS/2 4.5 Toolkit.
  • Vraag.gif: 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

Legend

  • Vraag.gif: More information is required on this function. Information was not available on CP1 or PRCP books.

References