Jump to content

Control Program Functions: Difference between revisions

From EDM2
Line 399: Line 399:
* [[OS2 API:CPI:LEGACY:DosFreeModule|DosFreeModule]]
* [[OS2 API:CPI:LEGACY:DosFreeModule|DosFreeModule]]
* [[OS2 API:CPI:LEGACY:DosLoadModule|DosLoadModule]]
* [[OS2 API:CPI:LEGACY:DosLoadModule|DosLoadModule]]
* DosQAppType


=== Error Management ===
=== Error Management ===
Line 413: Line 414:
====Directory====
====Directory====
* [[OS2 API:CPI:LEGACY:DosChDir|DosChDir]]
* [[OS2 API:CPI:LEGACY:DosChDir|DosChDir]]
* DosMkDir
* DosMkDir2
* DosRmDir
* DosQCurDir
====Disk====
* DosQCurDisk


==== Enviroment/Path ====
==== Enviroment/Path ====
Line 432: Line 440:
* [[OS2 API:CPI:LEGACY:DosSetVerify|DosSetVerify]]
* [[OS2 API:CPI:LEGACY:DosSetVerify|DosSetVerify]]
* [[OS2 API:CPI:LEGACY:DosWrite|DosWrite]]
* [[OS2 API:CPI:LEGACY:DosWrite|DosWrite]]
 
* DosNewSize


==== File Handle Manipulation ====
==== File Handle Manipulation ====
Line 438: Line 446:
* [[OS2 API:CPI:LEGACY:DosSetMaxFH|DosSetMaxFH]]
* [[OS2 API:CPI:LEGACY:DosSetMaxFH|DosSetMaxFH]]
* [[OS2 API:CPI:LEGACY:DosBufReset|DosBufReset]]
* [[OS2 API:CPI:LEGACY:DosBufReset|DosBufReset]]
* DosQFHandState


==== File Querying ====
==== File Querying ====
Line 459: Line 468:
* [[OS2 API:CPI:LEGACY:DosGetMessage|DosGetMessage]]
* [[OS2 API:CPI:LEGACY:DosGetMessage|DosGetMessage]]
* [[OS2 API:CPI:LEGACY:DosPutMessage|DosPutMessage]]
* [[OS2 API:CPI:LEGACY:DosPutMessage|DosPutMessage]]
* DosInsMessage
* [[OS2 API:CPI:LEGACY:DosTrueGetMessage|DosTrueGetMessage]] * Can not be found on CP1 or PRCP  
* [[OS2 API:CPI:LEGACY:DosTrueGetMessage|DosTrueGetMessage]] * Can not be found on CP1 or PRCP  
* [[OS2 API:CPI:LEGACY:DosIQueryMessageCp|DosIQueryMessageCp]] * Can not be found on CP1 or PRCP
* [[OS2 API:CPI:LEGACY:DosIQueryMessageCp|DosIQueryMessageCp]] * Can not be found on CP1 or PRCP
Line 506: Line 516:


==== MuxWait Semaphores ====
==== MuxWait Semaphores ====
* DosMuxSemWait


=== Processes/Threading ===
=== Processes/Threading ===
Line 542: Line 553:
* DosAllocHuge
* DosAllocHuge
* DosCallback
* DosCallback
* DosCLIAccess
* DosCLIAccess
* DosCloseSem
* DosCloseSem
* DosCreateCSAlias
* DosCreateCSAlias
* DosCreateSem
* DosCreateSem
* DosFileIO
* DosFileIO
* DosFileLocks
* DosFileLocks
Line 568: Line 576:
* DosGetSeg
* DosGetSeg
* DosGetShrSeg
* DosGetShrSeg
* DosGetVersion
* DosGetVersion
* DosGiveSeg
* DosGiveSeg
* DosHoldSignal
* DosHoldSignal
* DosInsMessage
* DosLockSeg
* DosLockSeg
* DosMemAvail
* DosMemAvail
* DosMkDir
* DosMkDir2
* DosMuxSemWait
* DosNewSize
* DosOpenSem
* DosOpenSem
 
* 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
* DosPortAccess
* DosPortAccess
* DosPtrace
* DosPtrace


* DosQAppType
 
* DosQCurDir
 
* DosQCurDisk
 
* DosQFHandState
* DosQFileInfo
* DosQFileInfo
* DosQFileMode
* DosQFileMode
Line 602: Line 599:
* DosQHandType
* DosQHandType
* DosQNmPHandState
* DosQNmPHandState
* DosQPathInfo
* DosQPathInfo
* DosQSysInfo  
* DosQSysInfo  
* DosQVerify
* DosQVerify
* DosR2StackRealloc
* DosR2StackRealloc
* DosReadAsync
* DosReadAsync
* DosReallocHuge  
* DosReallocHuge  
* DosReallocSeg
* DosReallocSeg
* DosRmDir
* DosSelectDisk
* DosSelectDisk
* DosSemClear
* DosSemClear
* DosSemRequest
* DosSemRequest
Line 625: Line 617:
* DosSetFileMode
* DosSetFileMode
* DosSetNmPHandState
* DosSetNmPHandState
* DosSetProcCp
* DosSetProcCp
* DosSetPrty
* DosSetPrty

Revision as of 23:56, 15 July 2016

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


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

Monitor functions

Dynamic Link Library

Error Management

File Systems/File Management

Directory Searching

Directory

  • DosChDir
  • DosMkDir
  • DosMkDir2
  • DosRmDir
  • DosQCurDir

Disk

  • DosQCurDisk

Enviroment/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

  • DosMuxSemWait

Processes/Threading

Processes

Threads

Session Management

Timer

Addressing

To SORT

  • DosAllocHuge
  • DosCallback
  • DosCLIAccess
  • DosCloseSem
  • DosCreateCSAlias
  • DosCreateSem
  • DosFileIO
  • DosFileLocks
  • DosFindClose
  • DosFlagProcess
  • DosFreeSeg
  • DosFSRamSemClear
  • DosFSRamSemRequest
  • DosGetEnv
  • DosGetHugeShift
  • DosGetInfoSeg
  • DosGetMachineMode
  • DosGetModHandle
  • DosGetModName
  • DosGetPID
  • DosGetPPID
  • DosGetProcAddr
  • DosGetPrty
  • DosGetSeg
  • DosGetShrSeg
  • DosGetVersion
  • DosGiveSeg
  • DosHoldSignal
  • DosLockSeg
  • DosMemAvail
  • DosOpenSem
  • 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
  • DosPortAccess
  • DosPtrace



  • DosQFileInfo
  • DosQFileMode
  • DosQFSAttach
  • DosQFSInfo
  • DosQHandType
  • DosQNmPHandState
  • DosQPathInfo
  • DosQSysInfo
  • DosQVerify
  • DosR2StackRealloc
  • DosReadAsync
  • DosReallocHuge
  • DosReallocSeg
  • DosSelectDisk
  • DosSemClear
  • DosSemRequest
  • DosSemSet
  • DosSemSetWait
  • DosSemWait
  • DosSendSignal
  • DosSetCp
  • DosSetFHandState
  • DosSetFileMode
  • DosSetNmPHandState
  • DosSetProcCp
  • DosSetPrty
  • DosSetSigHandler
  • DosSetVec
  • DosSizeSeg
  • DosSMRegisterDD
  • DosSubFree
  • DosSubSet
  • DosUnlockSeg
  • DosWriteAsync

Keyboard functions

Mouse functions

Video I/O functions

Advanced VIO


External References