OS2 API:CPI

From EDM2
Jump to: navigation, search

Contents

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

  • DosFindFirst
  • DosFindFirst2
  • DosFindNext

Directory

  • DosChDir

Enviroment/Path

  • DosScanEnv
  • DosSearchPath

File Manipulation

  • DosChgFilePtr
  • DosClose
  • DosCopy
  • DosDelete
  • DosEditName
  • DosMove
  • DosOpen
  • DosOpen2
  • DosRead
  • DosSetFileInfo
  • DosSetPathInfo
  • DosSetVerify
  • DosWrite


File Handle Manipulation

  • DosDupHandle
  • DosSetMaxFH
  • DosBufReset

File Querying

  • DosEnumAttribute

File System Functions

  • DosFSAttach
  • DosFSCtl
  • DosSetFSInfo
  • DosShutdown

Memory Management

  • DosSubAlloc
  • DosAllocSeg
  • DosAllocShrSeg

Heap Memory

  • DosSubFree

Message Management

National Language/Code Page

  • DosCaseMap
  • DosGetCollate
  • DosGetCp
  • DosGetCtryInfo
  • DosGetDBCSEv

Queues

  • DosCloseQueue
  • DosQueryQueue
  • DosWriteQueue

Server

  • DosCreateQueue
  • DosPeekQueue
  • DosPurgeQueue
  • DosReadQueue

Client

  • DosOpenQueue

Resource Management

  • DosFreeResource
  • DosGetResource
  • DosGetResource2

Semaphores

MuxWait Semaphores

Processes/Threading

  • DosExit

Processes

  • DosEnterCritSec
  • DosExecPgm
  • DosExitCritSec
  • DosExitList
  • DosKillProcess
  • DosCwait

Threads

  • DosCreateThread
  • DosResumeThread
  • DosSleep
  • DosSuspendThread

Session Management

  • DosSelectSession
  • DosSetSession
  • DosStartSession
  • DosStopSession

Timer

  • DosTimerAsync
  • DosTimerStart
  • DosTimerStop

Addressing

To SORT

  • DosAllocHuge
  • DosCallback
  • DosCallNmPipe
  • DosCLIAccess
  • DosCloseSem
  • DosConnectNmPipe
  • DosCreateCSAlias
  • DosCreateSem
  • DosDisConnectNmPipe
  • DosFileIO
  • DosFileLocks
  • DosFindClose
  • DosFlagProcess
  • DosFreeSeg
  • DosFSRamSemClear
  • DosFSRamSemRequest
  • DosGetEnv
  • DosGetHugeShift
  • DosGetInfoSeg
  • DosGetMachineMode
  • DosGetModHandle
  • DosGetModName
  • DosGetPID
  • DosGetPPID
  • DosGetProcAddr
  • DosGetPrty
  • DosGetSeg
  • DosGetShrSeg


  • DosGetVersion
  • DosGiveSeg
  • DosHoldSignal
  • DosInsMessage
  • DosLockSeg
  • DosMakeNmPipe
  • DosMakePipe
  • DosMemAvail
  • DosMkDir
  • DosMkDir2
  • DosMuxSemWait
  • DosNewSize
  • DosOpenSem
  • DosPeekNmPipe
  • DosPFSActivate
  • DosPFSCloseUser
  • DosPFSInit
  • DosPFSQueryAct
  • DosPFSVerifyFont
  • DosPortAccess
  • DosPtrace
  • DosQAppType
  • DosQCurDir
  • DosQCurDisk
  • DosQFHandState
  • DosQFileInfo
  • DosQFileMode
  • DosQFSAttach
  • DosQFSInfo
  • DosQHandType
  • DosQNmPHandState
  • DosQNmPipeInfo
  • DosQNmPipeSemState
  • DosQPathInfo
  • DosQSysInfo
  • DosQVerify
  • DosR2StackRealloc
  • DosReadAsync
  • DosReallocHuge
  • DosReallocSeg
  • DosRmDir
  • DosSelectDisk
  • DosSemClear
  • DosSemRequest
  • DosSemSet
  • DosSemSetWait
  • DosSemWait
  • DosSendSignal
  • DosSetCp
  • DosSetFHandState
  • DosSetFileMode
  • DosSetNmPHandState
  • DosSetNmPipeSem
  • DosSetProcCp
  • DosSetPrty
  • DosSetSigHandler
  • DosSetVec
  • DosSizeSeg
  • DosSMRegisterDD
  • DosSubFree
  • DosSubSet
  • DosTransactNmPipe
  • DosUnlockSeg
  • DosWaitNmPipe
  • DosWriteAsync

Keyboard functions

Mouse functions

Video I/O functions

Advanced VIO


External References