Jump to content

Control Program Functions: Difference between revisions

From EDM2
Ak120 (talk | contribs)
Ak120 (talk | contribs)
Line 414: Line 414:
*[[VioShowPS]]
*[[VioShowPS]]


== Legacy Functions ==
== OS/2 1.x 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.  
Function calls for OS/2 1.x that offer compatibility with DOS via [[Family API]] or Windows NT OS/2 subsystem.


<div style="column-count:3;-moz-column-count:3;-webkit-column-count:3">
===Dos===
=== Date / Time ===
====Date/Time====
*[[DosGetDateTime (Legacy)|DosGetDateTime]]
*[[DosGetDateTime (Legacy)|DosGetDateTime]]
*[[DosSetDateTime (Legacy)|DosSetDateTime]]
*[[DosSetDateTime (Legacy)|DosSetDateTime]]


=== Device I/O ===
====Device I/O====
*[[DosBeep (Legacy)|DosBeep]]
*[[DosBeep (Legacy)|DosBeep]]
*[[DosDevConfig (Legacy)|DosDevConfig]]
*[[DosDevConfig (Legacy)|DosDevConfig]]
Line 429: Line 429:
*[[DosPhysicalDisk (FAPI)|DosPhysicalDisk]]
*[[DosPhysicalDisk (FAPI)|DosPhysicalDisk]]


=== Dynamic Linking Library ===  
====Dynamic Linking Library====
*[[DosFreeModule (OS/2 1.x)|DosFreeModule]]
*[[DosGetModHandle]]
*[[DosGetModHandle]]
*[[DosGetModName]]
*[[DosGetModName]]
*[[DosLoadModule (OS/2 1.x)|DosLoadModule]]
*[[DosQAppType]]


==== Monitor functions ====
====Monitor functions====
*[[DosMonClose]]
*[[DosMonClose]]
*[[DosMonOpen]]
*[[DosMonOpen]]
Line 440: Line 443:
*[[DosMonWrite]]
*[[DosMonWrite]]


=== Dynamic Link Library ===
====Error Management====
*[[DosFreeModule (OS/2 1.x)|DosFreeModule]]
*[[DosLoadModule (OS/2 1.x)|DosLoadModule]]
*[[DosQAppType]]
 
=== Error Management ===
*[[DosErrClass (FAPI)|DosErrClass]]
*[[DosErrClass (FAPI)|DosErrClass]]
*[[DosError (FAPI)|DosError]]
*[[DosError (FAPI)|DosError]]
Line 454: Line 452:
*[[DosLogRead]]
*[[DosLogRead]]


===Exception Management===
====Exception Management====
*[[DosHoldSignal]]
*[[DosSendSignal]]
*[[DosSendSignal]]
*[[DosSetSigHandler]]


=== File Systems/File Management ===
====File Systems/File Management====
==== Directory Searching ====
Directory Searching:
*[[DosFindClose]]
*[[DosFindFirst (FAPI)|DosFindFirst]]
*[[DosFindFirst (FAPI)|DosFindFirst]]
*[[DosFindFirst2]]
*[[DosFindFirst2]]
*[[DosFindNext (FAPI)|DosFindNext]]
*[[DosFindNext (FAPI)|DosFindNext]]


====Directory====
Directory Handling:
*[[DosChDir]]
*[[DosChDir]]
*[[DosMkDir]]
*[[DosMkDir]]
Line 474: Line 475:
*[[DosSelectDisk]]
*[[DosSelectDisk]]


==== Environment/Path ====
====Environment/Path====
*[[DosScanEnv (OS/2 1.x)|DosScanEnv]]
*[[DosScanEnv (OS/2 1.x)|DosScanEnv]]
*[[DosSearchPath (OS/2 1.x)|DosSearchPath]]
*[[DosSearchPath (OS/2 1.x)|DosSearchPath]]


==== File Manipulation====
====File Manipulation====
*[[DosChgFilePtr]]
*[[DosChgFilePtr]]
*[[DosClose (FAPI)|DosClose]]
*[[DosClose (FAPI)|DosClose]]
Line 489: Line 490:
*[[DosOpen2]]
*[[DosOpen2]]
*[[DosRead (FAPI)|DosRead]]
*[[DosRead (FAPI)|DosRead]]
*[[DosReadAsync]]
*[[DosSetFileInfo (FAPI)|DosSetFileInfo]]
*[[DosSetFileInfo (FAPI)|DosSetFileInfo]]
*[[DosSetPathInfo (OS/2 1.x)|DosSetPathInfo]]
*[[DosSetPathInfo (OS/2 1.x)|DosSetPathInfo]]
*[[DosSetVerify (FAPI)|DosSetVerify]]
*[[DosSetVerify (FAPI)|DosSetVerify]]
*[[DosWrite (FAPI)|DosWrite]]
*[[DosWrite (FAPI)|DosWrite]]
*[[DosWriteAsync]]
*[[DosNewSize]]
*[[DosNewSize]]
*[[DosSetFileMode]]
*[[DosSetFileMode]]


==== File Handle Manipulation ====
====File Handle Manipulation====
*[[DosSetMaxFH (OS/2 1.x)|DosSetMaxFH]]
*[[DosSetMaxFH (OS/2 1.x)|DosSetMaxFH]]
*[[DosBufReset]]
*[[DosBufReset]]
Line 503: Line 506:
*[[DosSetFHandState]]
*[[DosSetFHandState]]


==== File Querying ====
====File Querying====
*[[DosEnumAttribute (OS/2 1.x)|DosEnumAttribute]]
*[[DosEnumAttribute (OS/2 1.x)|DosEnumAttribute]]
*[[DosQFileInfo]]
*[[DosQFileInfo]]
Line 511: Line 514:
*[[DosQVerify]]
*[[DosQVerify]]


==== File System Functions====
====File System Functions====
*[[DosFSAttach (OS/2 1.x)|DosFSAttach]]
*[[DosFSAttach (OS/2 1.x)|DosFSAttach]]
*[[DosFSCtl (OS/2 1.x)|DosFSCtl]]
*[[DosFSCtl (OS/2 1.x)|DosFSCtl]]
Line 519: Line 522:
*[[DosQFSInfo]]
*[[DosQFSInfo]]


=== Memory Management ===
====Memory Management====
*[[DosSubAlloc]]
*[[DosAllocSeg]]
*[[DosAllocSeg]]
*[[DosAllocShrSeg]]
*[[DosAllocShrSeg]]
*[[DosAllocHuge]]
*[[DosFreeSeg]]
*[[DosFreeSeg]]
*[[DosGetSeg]]
*[[DosGetSeg]]
*[[DosGetShrSeg]]
*[[DosGiveSeg]]
*[[DosGiveSeg]]
*[[DosLockSeg]]
*[[DosLockSeg]]
Line 531: Line 533:
*[[DosSizeSeg]]
*[[DosSizeSeg]]
*[[DosUnlockSeg]]
*[[DosUnlockSeg]]
*[[DosReallocSeg]]
;Huge block
*[[DosAllocHuge]]
*[[DosReallocHuge]]
*[[DosReallocHuge]]
*[[DosReallocSeg]]


==== Heap Memory ====
;Heap
*[[DosSubAlloc]]
*[[DosSubFree]]
*[[DosSubFree]]
*[[DosSubSet]]
*[[DosSubSet]]


=== Message Management ===
====Message Management====
*[[DosGetMessage (OS/2 1.x)|DosGetMessage]]
*[[DosGetMessage (OS/2 1.x)|DosGetMessage]]
*[[DosPutMessage (FAPI)|DosPutMessage]]
*[[DosPutMessage (FAPI)|DosPutMessage]]
*[[DosInsMessage]]
*[[DosInsMessage]]
*[[DosTrueGetMessage]] [[image:Vraag.gif]]
*[[DosTrueGetMessage]]
*[[DosIQueryMessageCP]] [[image:Vraag.gif]]
*[[DosIQueryMessageCP]]
*[[DosCloseMessageFile]] [[image:Vraag.gif]]
*[[DosCloseMessageFile]]


=== National Language/Code Page ===
====National Language/Code Page====
*[[DosCaseMap (FAPI)|DosCaseMap]]
*[[DosCaseMap (FAPI)|DosCaseMap]]
*[[DosGetCollate]]
*[[DosGetCollate]]
Line 555: Line 561:
*[[DosSetProcCp]]
*[[DosSetProcCp]]


=== Pipes ===
====Named Pipes====
====Named Pipes====
*[[DosCallNmPipe|DosCallNmPipe]]
*[[DosCallNmPipe]] -
*[[DosConnectNmPipe|DosConnectNmPipe]]
*[[DosConnectNmPipe]] - enables named pipe to be opened
*[[DosDisConnectNmPipe|DosDisConnectNmPipe]]
*[[DosDisConnectNmPipe]]
*[[DosMakeNmPipe]]
*[[DosMakeNmPipe]]
*[[DosMakePipe]]
*[[DosMakePipe]]
*[[DosPeekNmPipe|DosPeekNmPipe]]
*[[DosPeekNmPipe]]
*[[DosQNmPipeInfo|DosQNmPipeInfo]]
*[[DosQNmPipeInfo]]
*[[DosQNmPipeSemState|DosQNmPipeSemState]]
*[[DosQNmPipeSemState]]
*[[DosSetNmPipeSem|DosSetNmPipeSem]]
*[[DosQNmPHandState]]
*[[DosTransactNmPipe|DosTransactNmPipe]]
*[[DosRawReadNPipe]]
*[[DosWaitNmPipe|DosWaitNmPipe]]
*[[DosRawWriteNPipe]]
*[[DosQNmPHandState|DosQNmPHandState]]
*[[DosSetNmPHandState]]
*[[DosSetNmPHandState|DosSetNmPHandState]]
*[[DosSetNmPipeSem]]
*[[DosTransactNmPipe]]
*[[DosWaitNmPipe]]


=== Resource Management ===
====Resource Management====
*[[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]]


=== Semaphores ===
====Semaphores====
*[[DosCloseSem]]
*[[DosCloseSem]]
*[[DosCreateSem]]
*[[DosCreateSem]]
Line 589: Line 596:
*[[DosPMSemWait]]
*[[DosPMSemWait]]


==== MuxWait Semaphores ====
====MuxWait Semaphores====
*[[DosMuxSemWait]]
*[[DosMuxSemWait]]
*[[DosPMMuxSemWait]]
*[[DosPMMuxSemWait]]


=== Processes/Threading ===
====Processes/Threading====
*[[DosCallback]]
*[[DosExit (FAPI)|DosExit]]
*[[DosExit (FAPI)|DosExit]]
*[[DosGetPrty]]
*[[DosSetPrty]]
*[[DosSetPrty]]


==== Processes ====
====Processes====
*[[DosCWait]]
*[[DosEnterCritSec (OS/2 1.x)|DosEnterCritSec]]
*[[DosEnterCritSec (OS/2 1.x)|DosEnterCritSec]]
*[[DosExecPgm (FAPI)|DosExecPgm]]
*[[DosExitCritSec (OS/2 1.x)|DosExitCritSec]]
*[[DosExitCritSec (OS/2 1.x)|DosExitCritSec]]
*[[DosExitList (OS/2 1.x)|DosExitList]]
*[[DosExitList (OS/2 1.x)|DosExitList]]
*[[DosKillProcess (OS/2 1.x)|DosKillProcess]]
*[[DosExecPgm (FAPI)|DosExecPgm]]
*[[DosCWait]]
*[[DosFlagProcess]]
*[[DosGetInfoSeg]]
*[[DosGetPID]]
*[[DosGetPID]]
*[[DosGetPPID]]
*[[DosGetPPID]]
*[[DosGetInfoSeg]]
*[[DosKillProcess (OS/2 1.x)|DosKillProcess]]


=== Session Management===
====Session Management====
*[[DosSelectSession (OS/2 1.x)|DosSelectSession]]
*[[DosSelectSession (OS/2 1.x)|DosSelectSession]]
*[[DosSetSession (OS/2 1.x)|DosSetSession]]
*[[DosSetSession (OS/2 1.x)|DosSetSession]]
Line 614: Line 624:
*[[DosStopSession (OS/2 1.x)|DosStopSession]]
*[[DosStopSession (OS/2 1.x)|DosStopSession]]


=== Screen Group ===
;Session Manager
*[[DosSMDoAppReq]]
*[[DosSMGetAppReq]]
*[[DosSMGetStatus]]
*[[DosSMHDEInit]]
*[[DosSMInitialize]]
*[[DosSMNotifyDD]]
*[[DosSMNotifyDD2]]
*[[DosSMOpenDD]]
*[[DosSMParentSwitch]]
*[[DosSMPause]]
*[[DosSMPMPresent]]
*DosSMRealPrtSc
*[[DosSMRegisterDD]]
*[[DosSMServeAppReq]]
*[[DosSMSetSessionType]]
*[[DosSMSetTitle]]
*[[DosSMStart]]
*[[DosSMSwitch]]
*[[DosSMSysInit]]
*[[DosSMTerminate]]
 
;Screen Group
*[[DosSMSGDoPopup]]
*[[DosSMSGDoPopup]]
*[[DosSMSGEndPopup]]
*[[DosSMSGEndPopup]]


*[[DosSMSwitch]]
*[[DosSMServeAppReq]]
*[[DosGetTimes]]
*[[DosGetTimes]]
*[[DosSMSetTitle]]
*[[DosScrUnlock]]
*[[DosScrUnlock]]
*[[DosSMDoAppReq]]
*[[DosScrLock]]
*[[DosScrLock]]
*[[DosSavRedrawWait]]
*[[DosSavRedrawWait]]
Line 629: Line 657:
*[[DosSetMNLockTime]]
*[[DosSetMNLockTime]]
*[[DosModeUndo]]
*[[DosModeUndo]]
*[[DosSMGetStatus]]
*[[DosModeWait]]
*[[DosModeWait]]
*[[DosSMTerminate]]
*[[DosSMGetAppReq]]
*DosSMRealPrtSc
*[[DosSMInitialize]]
*[[DosSMStart]]
*[[DosSMParentSwitch]]
*[[DosSMPause]]
*[[DosSMHDEInit]]
*[[DosSMPMPresent]]
*[[DosSMRegisterDD]]
*[[DosSMSysInit]]
*[[DosSMNotifyDD]]
*[[DosSMNotifyDD2]]
*[[DosSMOpenDD]]
*[[DosSMSetSessionType]]
*[[DosRegisterNotification]]
*[[DosRegisterNotification]]


=== Quickhelp ===
====Timer====
*[[QhKeybdHandle]]
*[[QhMouseHandle]]
 
=== Timer ===
*[[DosTimerAsync]]
*[[DosTimerAsync]]
*[[DosTimerStart]]
*[[DosTimerStart]]
*[[DosTimerStop]]
*[[DosTimerStop]]


=== Addressing ===
====Addressing====
*[[DosFlatToSel]] [[image:Vraag.gif]]
*[[DosFlatToSel]]
*[[DosSelToFlat]] [[image:Vraag.gif]]
*[[DosSelToFlat]]


=== Spool ===
====Spool====
''Not found on OS2TK45''
''Not found on OS2TK45''
*[[DosPFSActivate]]
*[[DosPFSActivate]]
Line 669: Line 677:
*[[DosPFSVerifyFont]]
*[[DosPFSVerifyFont]]


===To SORT===
====I/O Privileges====
*[[DosCallback]]
*[[DosCLIAccess]]
*[[DosCLIAccess]]
*[[DosPortAccess]]
====Segments====
*[[DosCreateCSAlias]]
*[[DosCreateCSAlias]]
*[[DosFileIO]]
*[[DosFileIO]]
*[[DosFindClose]]
 
*[[DosFlagProcess]]
*[[DosGetEnv]]
*[[DosGetEnv]]
*[[DosGetHugeShift]]
*[[DosGetHugeShift]]
Line 681: Line 691:


*[[DosGetProcAddr]]
*[[DosGetProcAddr]]
*[[DosGetPrty]]
 
*[[DosGetShrSeg]]
*[[DosGetVersion]]
*[[DosGetVersion]]
*[[DosHoldSignal]]


*[[DosPortAccess]]
*[[DosR2StackRealloc]]
*[[DosR2StackRealloc]]
*[[DosReadAsync]]


*[[DosSetSigHandler]]
*[[DosSetVec]]
*[[DosSetVec]]
*[[DosSMRegisterDD|DosSMRegisterDD]]
*[[DosWriteAsync|DosWriteAsync]]
*[[DosSysCtl]]
*[[DosSysCtl]]
*[[DosQueryRASInfo]]
*[[DosQueryRASInfo]]
*[[DosRawReadNPipe]]
*[[DosRawWriteNPipe]]


=== Keyboard functions ===
====QuickHelp====
* [[KbdCharIn]]
*[[QhKeybdHandle]]
* [[KbdFlushBuffer]]
*[[QhMouseHandle]]
* [[KbdGetCp]]
 
* [[KbdSetCp]]
===Keyboard functions===
* [[KbdPeek]]
*[[KbdCharIn]] - character data record from keyboard
* [[KbdRegister]]
*[[KbdClose]] - closes logical keyboard
* [[KbdDeRegister]]
*[[KbdDeRegister]] - deregister keyboard subsystem
* [[KbdOpen]]
*[[KbdFlushBuffer]] -
* [[KbdClose]]
*[[KbdFreeFocus]]
* [[KbdGetFocus]]  
*[[KbdGetCp]]
* [[KbdFreeFocus]]
*[[KbdGetFocus]] -
* [[KbdSynch]]  
*[[KbdGetHWId]]
* [[KbdSetFgnd]]
*[[KbdGetStatus]] -
* [[KbdGetHWId]]
*[[KbdInit]] -
* [[KbdSetHWID]]
*[[KbdOpen]] -
* [[KbdSetCustXt]]
*[[KbdPeek]] -
* [[KbdGetStatus]]
*[[KbdRegister]]
* [[KbdSetStatus]]
*[[KbdSetCp]]
* [[KbdStringIn]]
*[[KbdSetCustXt]]
* [[KbdXlate]]
*[[KbdSetFgnd]]
* [[KbdInit]]
*[[KbdSetHWID]]
*[[KbdSetStatus]]
*[[KbdSynch]] -
*[[KbdStringIn]]
*[[KbdXlate]]


==== Mouse functions ====
===Mouse functions===
*[[MouRegister]]
*[[MouRegister]]
*[[MouDeRegister]]
*[[MouDeRegister]]
Line 736: Line 741:
*[[MouGetNumMickeys (OS/2 1.x)|MouGetNumMickeys]]
*[[MouGetNumMickeys (OS/2 1.x)|MouGetNumMickeys]]
*[[MouGetNumQueEl (OS/2 1.x)|MouGetNumQueEl]]
*[[MouGetNumQueEl (OS/2 1.x)|MouGetNumQueEl]]
* [[MouGetPtrPos]]
*[[MouGetPtrPos]]
*[[MouGetPtrShape (OS/2 1.x)|MouGetPtrShape]]
*[[MouGetPtrShape (OS/2 1.x)|MouGetPtrShape]]
*[[MouGetScaleFact (OS/2 1.x)|MouGetScaleFact]]
*[[MouGetScaleFact (OS/2 1.x)|MouGetScaleFact]]
Line 751: Line 756:
*[[MouFree]]
*[[MouFree]]


==== Video I/O functions ====
===Video I/O functions===
* [[VioRegister|VioRegister]]  
*[[VioCheckCharType]]
* [[VioGlobalReg|VioGlobalReg]]
*[[VioDeRegister]]
* [[VioDeRegister|VioDeRegister]]
*[[VioEndPopUp]]
* [[VioGetPhysBuf|VioGetPhysBuf]]
*[[VioGetAnsi]]
* [[VioScrollDn|VioScrollDn]]
*[[VioGetBuf]]
* [[VioScrollLf|VioScrollLf]]
*[[VioGetConfig]]
* [[VioScrollRt|VioScrollRt]]
*[[VioGetCp]]
* [[VioCheckCharType|VioCheckCharType]]
*[[VioGetCurPos]]
* [[VioPrtSc|VioPrtSc]]
*[[VioGetCurType]]
* [[VioPrtScToggle|VioPrtScToggle]]
*[[VioGetFont]]
* [[VioRedrawSize|VioRedrawSize]]
*[[VioGetMode]]
* [[VioGetFont|VioGetFont]]
*[[VioGetPhysBuf]]
* [[VioSetFont|VioSetFont]]  
*[[VioGetState]]
* [[VioEndPopUp|VioEndPopUp]]
*[[VioGlobalReg]]
* [[VioGetAnsi|VioGetAnsi]]
*[[VioModeUndo]]
* [[VioGetBuf|VioGetBuf]]
*[[VioModeWait]]
* [[VioGetConfig|VioGetConfig]]
*[[VioPopUp]]
* [[VioGetCp|VioGetCp]]    
*[[VioPrtSc]]
* [[VioGetCurPos|VioGetCurPos]]
*[[VioPrtScToggle]]
* [[VioGetCurType|VioGetCurType]]  
*[[VioQueryConsole]]
* [[VioGetMode|VioGetMode]]  
*[[VioReadCellStr]]
* [[VioGetState|VioGetState]]  
*[[VioReadCharStr]]
* [[VioModeUndo|VioModeUndo]]  
*[[VioRedrawSize]]
* [[VioModeWait|VioModeWait]]  
*[[VioRegister]]
* [[VioPopUp|VioPopUp]]  
*[[VioSavRedrawUndo]]
* [[VioReadCellStr|VioReadCellStr]]
*[[VioSavRedrawWait]]
* [[VioReadCharStr|VioReadCharStr]]
*[[VioSetFont]]
* [[VioSavRedrawUndo|VioSavRedrawUndo]]  
*[[VioScrLock]]
* [[VioSavRedrawWait|VioSavRedrawWait]]  
*[[VioScrollDn]]
* [[VioScrLock|VioScrLock]]  
*[[VioScrollLf]]
* [[VioScrollUp|VioScrollUp]]  
*[[VioScrollRt]]
* [[VioScrUnLock|VioScrUnLock]]  
*[[VioScrollUp]]
* [[VioSetAnsi|VioSetAnsi]]  
*[[VioScrUnLock]]
* [[VioSetCp|VioSetCp]]
*[[VioSetAnsi]]
* [[VioSetCurPos|VioSetCurPos]]
*[[VioSetCp]]
* [[VioSetCurType|VioSetCurType]]
*[[VioSetCurPos]]
* [[VioSetMode|VioSetMode]]  
*[[VioSetCurType]]
* [[VioSetState|VioSetState]]  
*[[VioSetMode]]  
* [[VioShowBuf|VioShowBuf]]  
*[[VioSetState]]
* [[VioWrtCellStr|VioWrtCellStr]]  
*[[VioShowBuf (FAPI)|VioShowBuf]]
* [[VioWrtCharStr|VioWrtCharStr]]  
*[[VioWrtCellStr (FAPI)|VioWrtCellStr]]
* [[VioWrtCharStrAtt|VioWrtCharStrAtt]]  
*[[VioWrtCharStr (FAPI)|VioWrtCharStr]]
* [[VioWrtNAttr|VioWrtNAttr]]  
*[[VioWrtCharStrAtt (FAPI)|VioWrtCharStrAtt]]
* [[VioWrtNCell|VioWrtNCell]]  
*[[VioWrtNAttr (FAPI)|VioWrtNAttr]]
* [[VioWrtNChar|VioWrtNChar]]  
*[[VioWrtNCell (FAPI)|VioWrtNCell]]
* [[VioWrtTTY|VioWrtTTY]]
*[[VioWrtNChar (FAPI)|VioWrtNChar]]
* [[VioQueryConsole]]
*[[VioWrtTTY (FAPI)|VioWrtTTY]]
 
===== Advanced VIO =====
* [[VioGetOrg]]
* [[VioSetOrg]]
* [[WinDefAVioWindowProc]]
</div>
 
===Legend===
* [[image:Vraag.gif]]: More information is required on this function. Information was not available on CP1 or PRCP books.


==References==
==References==

Revision as of 16:01, 25 May 2018

Some general information is available at Control Program page.

File Management

File Functions

File Handle Functions

File Query Functions

Directory Search (FileFind) Functions

Directory and Disk Functions

Environment and Search Path Functions

  • DosScanEnv - Gets information for a file or subdirectory
  • DosSearchPath - Scans environment variable
  • DosQueryPathInfo - Searches along a specified path
  • DosSetPathInfo - Sets information for a file or subdirectory

Extended LIBPATH Search Path Functions

  • DosQueryExtLIBPATH - Queries the search path for Dynamic Link Library, which is either before or after LIBPATH search
  • DosSetExtLIBPATH - Sets a search path for Dynamic Link Library, either before or after LIBPATH search

Memory Management

Memory Functions

  • DosAllocMem - Allocates a private memory object within the virtual address space
  • DosFreeMem - Frees a private or shared memory object from the virtual address space of the process
  • DosQueryMem - Obtains information about a range of pages within the virtual address space of the subject process
  • DosSetMem - Commits or decommits a range of pages within a memory object, or alters their protection

Memory Suballocation Functions

  • DosSubAllocMem - Suballocates a block of memory from a heap that was previously initialized
  • DosSubFreeMem - Frees a block of memory that was previously suballocated
  • DosSubSetMem - Initializes a heap for suballocation, or increases the size of a previously initialized heap
  • DosSubUnsetMem - Terminates the use of a heap

Shared Memory Functions

Thread Local Memory Functions

Program Execution Control

Thread Control Functions

Process Control Functions

Session Control Functions

Semaphore Functions

Event Semaphore Functions

Mutex Semaphore Functions

Muxwait Semaphore Functions

Pipe Functions

Named-Pipe Functions

Unnamed-Pipe Functions

  • DosClose - Closes a file or pipe
  • DosCreatePipe - Creates an unnamed (anonymous) pipe
  • DosDupHandle, DosOpen, DosRead, DosWrite

Queue Functions

Timer Functions

Error Management Functions

Exception Handling Functions

Signal Exception Functions

Must-Complete Functions

Device I/O Functions

File System Functions Used to Perform I/O to Devices:

  • DosClose
  • DosOpen
  • DosRead
  • DosWrite

Message Management Functions

Code Page Management Functions

Code Page Functions

Country Dependent Functions

Debugging Functions

  • DosDebug - Used by one process to control another for debugging purposes

Dynamic Linking Functions

Dos...

Large File System

Unsorted

Date/Time

Error Management

Exception Management

File Systems/File Management

File Manipulation

File Handle Manipulation

File Querying

File System Functions

Resource Management

Threads

VDD

Kbd, Mou, Vio

Keyboard functions

Mouse functions

Video I/O functions

Advanced VIO

OS/2 1.x Functions

Function calls for OS/2 1.x that offer compatibility with DOS via Family API or Windows NT OS/2 subsystem.

Dos

Date/Time

Device I/O

Dynamic Linking Library

Monitor functions

Error Management

OS/2 2.0 and 1.3 only:

Exception Management

File Systems/File Management

Directory Searching:

Directory Handling:

Disk

Environment/Path

File Manipulation

File Handle Manipulation

File Querying

File System Functions

Memory Management

Huge block
Heap

Message Management

National Language/Code Page

Named Pipes

Resource Management

Semaphores

MuxWait Semaphores

Processes/Threading

Processes

Session Management

Session Manager
Screen Group

Timer

Addressing

Spool

Not found on OS2TK45

I/O Privileges

Segments

QuickHelp

Keyboard functions

Mouse functions

Video I/O functions

References