home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / APICALLS.ZIP / APICALLS.DOC
Text File  |  1988-01-08  |  67KB  |  507 lines

  1. Author Bill Earle                                                                                                                 
  2.        364 Eastgate Lane                                                                                                          
  3.        Martinez, Ca 94553                                                                                                         
  4.                                                                                                                                   
  5. The following information describes the OS/2 Application Program                                                                  
  6. Interface (API) calls. I have included information under the API                                                                  
  7. column as follows:                                                                                                                
  8.                                                                                                                                   
  9.  F is a Family API (FAPI) call. This means that this call will also                                                               
  10.    run under DOS 3.3, if assembled with the BIND program.                                                                         
  11.                                                                                                                                   
  12.  R means Restricted function. Refer to the OS/2 Technical Reference                                                               
  13.    Manual for further info.                                                                                                       
  14.                                                                                                                                   
  15. I also have attempted to provide information to assist in porting old                                                             
  16. programs over to OS/2. INT and SUBCODE columns provide the old DOS                                                                
  17. interrupt and subcode functions. In some cases, these are approximations                                                          
  18. of old DOS calls. Again, refer to the OS/2 Technical Reference Manual                                                             
  19. for further information.                                                                                                          
  20.                                                                                                                                   
  21. API  INT  SUBCODE  FUNCTION         DESCRIPTION                                                                                   
  22.  F                 BadDynLink       Called on bad dynamic link                                                                    
  23.  R                 DosAllocHuge     Allocate memory greater than one                                                              
  24.                                     segment                                                                                       
  25.  R   21H  48H      DosAllocSegment  Allocate a segment of memory                                                                  
  26.                    Dos AllocShrSeg  Allocate a shared-memory segment. The                                                         
  27.                                     segment returned has a name that                                                              
  28.                                     each process can access.                                                                      
  29.  F                 DosBeep          Generate a sound frequency for the                                                            
  30.                                     specified duration                                                                            
  31.      21H  0DH,68H  DosBufReset      Flush the disk buffers for the                                                                
  32.                                     requesting process                                                                            
  33.  F                 DosCaseMap       Map a binary string into an ASCII                                                             
  34.                                     string by using a DOS code-page                                                               
  35.  F   21H  3BH      DosChdir         Set the current directory                                                                     
  36.  F   21H  42H      DosChgFilePtr    Move a file's read/write pointer                                                              
  37.  F                 DosCLIAccess     Request CLI/STI privilege before                                                              
  38.                                     performing IN/OUT operations.                                                                 
  39.  F   21H  3EH      DosClose         Close the file associated with the                                                            
  40.                                     specified file handle                                                                         
  41.                    DosCloseQueue    Close the queue specified for use by                                                          
  42.                                     the calling process                                                                           
  43.                    DosCloseSem      Close the semaphore specified for use                                                         
  44.                                     by the calling process                                                                        
  45.  F                 DosCreateCSAlias Create an executable alias descriptor                                                         
  46.                                     (second name) for the data type                                                               
  47.                                     descriptor received                                                                           
  48.                    DosCreateQueue   Create and open the queue specified                                                           
  49.                                     for use by the calling process                                                                
  50.                    DosCreatSem      Create a semaphore for use by the                                                             
  51.                                     calling process                                                                               
  52.                    DosCreateThread  Create an asynchronous execution                                                              
  53.                                     thread for the calling process.                                                               
  54.                                     Threads are the OS/2 CPU scheduling                                                           
  55.                                     entities.                                                                                     
  56.  R   21H  4DH      DosCWait         Wait for a child process termination                                                          
  57.                                     and get return code                                                                           
  58.  F   21H  41H      DosDelete        Delete the file specified by the                                                              
  59.                                     ASCIIZ name.                                                                                  
  60.  F                 DosDevConfig     Return device information about                                                               
  61.                                     attached devices                                                                              
  62.  F   21H  44H      DosDevIOCtl      Communicate with an opened device                                                             
  63.                                     handle                                                                                        
  64.  F   21H  45H,46H  DosDupHandle     Return a duplicate DOS handle for the                                                         
  65.                                     file handle provided                                                                          
  66.                    DosEnterCritSec  Mark the entrance of a critical                                                               
  67.                                     section of code and prevent the                                                               
  68.                                     execution of other threads of code in                                                         
  69.                                     the same process for concurrent                                                               
  70.                                     processing synchronization                                                                    
  71.  R                 DosError         Allow the calling process to receive                                                          
  72.                                     OS/2 hard-error notification as                                                               
  73.                                     Opposed to the OS/2 generation of a                                                           
  74.                                     hard-error signal                                                                             
  75.  R   21H  59H      DosErrorClass    Get extended error information.                                                               
  76.  R   21H  4BH      DosExecPgm       Spawn a secondary program as a child                                                          
  77.                                     process                                                                                       
  78.  R   21H  00H,4CH  DosExit          Complete the current thread of                                                                
  79.                                     information                                                                                   
  80.                    DosExitCritSec   Mark the end of a critical section of                                                         
  81.                                     code and enable other threads within                                                          
  82.                                     the current process to execute again                                                          
  83.                                     in a concurrent fashion                                                                       
  84.                    DosExitList      Maintain the list (add,delete,modify)                                                         
  85.                                     of routines that the current process                                                          
  86.                                     is to execute upon completion                                                                 
  87.  R   21H  5CH      DosFileLock      Lock or unlock a range of bytes within                                                        
  88.                                     a file in support of file-sharing                                                             
  89.                                     operations                                                                                    
  90.  R                 DosFindClose     Close the handle associated with the                                                          
  91.                                     file returned by a DosFindNext API                                                            
  92.                                     service                                                                                       
  93.  R   21H  4EH      DosFindFirst     Find the first file in a group of                                                             
  94.                                     files matching the file specification                                                         
  95.                                     provided                                                                                      
  96.  R   21H  4FH      DosFindNext      Find the next file in a group of                                                              
  97.                                     files matching the file specification                                                         
  98.                                     provided in the call to DosFindFirst                                                          
  99.                    DosFlagProcess   Set an external event flag that other                                                         
  100.                                     processes can access for synchroniza-                                                         
  101.                                     tion of concurrent processes                                                                  
  102.                    DosFreeModule    Release the link to the dynamic link                                                          
  103.                                     module specified by the module handle.                                                        
  104.                                     This service decrements the usage                                                             
  105.                                     for the specified module                                                                      
  106.  F   21H  49H      DosFreeSeg       Release a previously allocated memory                                                         
  107.                                     segemnt                                                                                       
  108.  F                 DosGetCollate    Get the current collating sequence                                                            
  109.                                     based upon the current code-page                                                              
  110.      21H  66H      DosGetCP         Return the code-page in use by the                                                            
  111.                                     current application                                                                           
  112.  R   21H  38H      DosGetCtryInfo   Return country dependent formatting                                                           
  113.                                     information                                                                                   
  114.  F   21H  2AH,2CH  DosGetDateTime   Return the current date and time                                                              
  115.      21H  65H      DosGetDBCSEnv    Return the DBCS vector for the                                                                
  116.                                     specified country code                                                                        
  117.  F                 DosGetEnv        Return the segment and offset address                                                         
  118.                                     of the current process command envir-                                                         
  119.                                     onment                                                                                        
  120.  F                 DosGetHugeShift  Return the shift count used by                                                                
  121.                                     DosAllocHuge to allocate memory larger                                                        
  122.                                     than one segment                                                                              
  123.                    DosGetInfoSeg    Return the address of the OS/2 system                                                         
  124.                                     variables                                                                                     
  125.  F                 DosGetMachineMode Return the current processor mode                                                            
  126.                                     (real or Protected)                                                                           
  127.  F                 DosGetMessage    Obtain the text from the system                                                               
  128.                                     message file for the specified message                                                        
  129.                                     and place it into a user-defined                                                              
  130.                                     buffer                                                                                        
  131.                    DosGetModHandle  Return a handle to a dynamic link                                                             
  132.                                     module                                                                                        
  133.                    DosGetModName    Get the complete DOS path name for the                                                        
  134.                                     dynamic link module associated with the                                                       
  135.                                     file handle provided                                                                          
  136.                    DosGetProcAddr   Return the far address to the procedure                                                       
  137.                                     specified within a dynamic link library                                                       
  138.                    DosGetPrty       Return the priority of the current process                                                    
  139.                    DosGetResource   Return the segment selector for the handle                                                    
  140.                                     to the specified resource                                                                     
  141.                    DosGetSeg        Obtain acces to the memory segment specified                                                  
  142.                                     by the selector provided                                                                      
  143.                    DosGetShrSeg     Obtain access to the shared memory segment                                                    
  144.                                     specified by the name provided. The usage                                                     
  145.                                     count of the segment is incremented                                                           
  146.  F   21H  30H      DosGetVersion    Return the DOS version number                                                                 
  147.                    DosGiveSeg       Allow the process specified by the process                                                    
  148.                                     identification provided to access a shared                                                    
  149.                                     memory segment                                                                                
  150.  R                 DosHoldSignal    Enable/disable signal processing for the                                                      
  151.                                     current process                                                                               
  152.  F                 DosInsMessage    Place a text string into the body of a                                                        
  153.                                     message                                                                                       
  154.                    DosKillProcess   Terminate a process and return a termination                                                  
  155.                                     code to the parent process or OS/2                                                            
  156.                    DosLoadModule    Load the dynamic link module specified and                                                    
  157.                                     return a handle.                                                                              
  158.                    DosLockSeg       Lock a segment of memory marked as discard-                                                   
  159.                                     able                                                                                          
  160.                    DosMakePipe      Create a communications pipe for the calling                                                  
  161.                                     process                                                                                       
  162.                    DosMemAvail      Return the size of the largest block of                                                       
  163.                                     memory available                                                                              
  164.  F   21H  39H      DosMkDir         Create the specified directory                                                                
  165.                    DosMonClose      Close the handle to a serial device that the                                                  
  166.                                     process has been monitoring                                                                   
  167.                    DosMonOpen       Open a handle to a serial device for device                                                   
  168.                                     I/O monitoring                                                                                
  169.                    DosMonRead       Wait for and return the input records to a                                                    
  170.                                     serial device open for I/O monitoring                                                         
  171.                    DosMonReg        Create input and output buffer structures                                                     
  172.                                     for device I/O monitoring                                                                     
  173.                    DosMonWrite      Write a data record to the output monitor                                                     
  174.                                     buffer of a device open for I/O monitoring                                                    
  175.  F   21H  56H      DosMove          Move a file from one location to another                                                      
  176.                    DosMuxSemWait    Suspens the execution of the current thread                                                   
  177.                                     until one or more semaphores have been                                                        
  178.                                     cleared                                                                                       
  179.  F                 DosNewSize       Change the size of the file associated with                                                   
  180.                                     the specified file handle                                                                     
  181.  R   21H  3CH,3DH  DosOpen          Open an existing file (if present) or create                                                  
  182.                                     a file with the name specified by the ASCIIZ                                                  
  183.                                     string provided                                                                               
  184.                    DosOpenQueue     Open the queue specified by the ASCIIZ string                                                 
  185.                                     provided for use by the current process                                                       
  186.                    DosOpenSem       Open the semaphore specified by the ASCIIZ                                                    
  187.                                     string provided for use by the current                                                        
  188.                                     process                                                                                       
  189.                    DosPeekQueue     Examine, but do not remove, an element from                                                   
  190.                                     the specified queue                                                                           
  191.                    DosPFSActivate   Activate the code-page and font specified for                                                 
  192.                                     the printer. This activation only affects the                                                 
  193.                                     calling process.                                                                              
  194.                    DosPFSCloseUser  Notify the font-switching software that the                                                   
  195.                                     process has closed its spool file. The font-                                                  
  196.                                     switching software can release any related                                                    
  197.                                     resources                                                                                     
  198.                    DosPFSInit       Direct the font-switching software to init-                                                   
  199.                                     ialize code-page switching and font-switching                                                 
  200.                                     for the specified printer                                                                     
  201.                    DosPFSQueryAct   Return the current code-page and font for the                                                 
  202.                                     specified printer                                                                             
  203.                    DosPFSVerifyFont Ensure that the code-page and font desired                                                    
  204.                                     are supported by the specified printer                                                        
  205.                    DosPhysicalDisk  Return partitioned disk information                                                           
  206.  F                 DosPortAccess    Request or release access to a hardware port                                                  
  207.                                     or ports                                                                                      
  208.                    DosPtrace        Set a Ptrace buffer that is used in debugging                                                 
  209.                    DosPurgeQueue    Delete all of the elements contained in the                                                   
  210.                                     queue associated with the handle provided                                                     
  211.                    DosPutMessage    Output the message provided to the file or                                                    
  212.                                     device associated with a given file handle                                                    
  213.  F   21H  47H      DosQCurDir       Return the current directory                                                                  
  214.  F   21H  19H      DosQCurDisk      Return the current disk drive                                                                 
  215.  R                 DosQFHandState   Query the state of the file associated with                                                   
  216.                                     tha handle provided                                                                           
  217.  F   21H  57H      DosQFileInfo     Return dat and time specifics about the file                                                  
  218.                                     associated with the file handle provided                                                      
  219.  F   21H  43H      DosQFileMode     Return the attribute byte for a specific file                                                 
  220.  F   21H  36H      DosQFSInfo       Return information about the disk in the                                                      
  221.                                     specified drive                                                                               
  222.                    DosQHandType     Determine if the handle specified references                                                  
  223.                                     a device or file                                                                              
  224.                    DosQueryQueue    Return the number of elements in the specif-                                                  
  225.                                     ied queue                                                                                     
  226.  F   21H  54H      DosQVerify       Determine whether the specified queue is                                                      
  227.                                     active or inactive                                                                            
  228.  F   21H  3FH      DosRead          Read the specified number of bytes from the                                                   
  229.                                     file associated with the file handle                                                          
  230.                    DosReadAsynch    Read the specified number of bytes from the                                                   
  231.                                     file associated with the file handle. The I/O                                                 
  232.                                     operation occurs concurrently with the                                                        
  233.                                     continued execution of the process                                                            
  234.                    DosReadQueue     Read and remove an element from the specified                                                 
  235.                                     queue                                                                                         
  236.  R                 DosReallocHuge   Modify the size of a previously allocated                                                     
  237.                                     huge (larger than 1 segment) section of                                                       
  238.                                     memory                                                                                        
  239.  R   21H  4AH      DosReallocSeg    Modify the size of a previosly allocated                                                      
  240.                                     memory segment                                                                                
  241.                    DosResumeThread  Restart a previously suspended thread of                                                      
  242.                                     execution for the current process                                                             
  243.  F   3AH           DosRmDir         Remove the directory specified by the ASCIIZ                                                  
  244.                                     string                                                                                        
  245.  F                 DosScanEnv       Search a process environment segment for a                                                    
  246.                                     specified variable and return its value if                                                    
  247.                                     found                                                                                         
  248.                    DosSearchPath    Define a search path for data files                                                           
  249.  F   21H  0EH      DosSelectDisk    Set the desired current drive                                                                 
  250.                    DosSelectSession Select the desired foreground session                                                         
  251.                    DosSemClear      Clear the specified semaphore                                                                 
  252.                    DosSemRequest    Obtain a new handle to a new semaphore                                                        
  253.                    DosSemSet        Set the semaphore associated with the handle                                                  
  254.                                     provided                                                                                      
  255.                    DosSemSetWait    Set the semaphore associated with the handle                                                  
  256.                                     provided and suspend execution of the current                                                 
  257.                                     thread until the semaphore is cleared                                                         
  258.                    DosSemWait       Suspend execution of the current thread until                                                 
  259.                                     the semaphore associated with the handle                                                      
  260.                                     provided is cleared                                                                           
  261.                    DosSendCtlC      Send a Ctrl-C signal to the lowest process in                                                 
  262.                                     the tree of processes                                                                         
  263.      21H  66H      DosSetCP         Set the code-page as specified for the call-                                                  
  264.                                     ing process                                                                                   
  265.  F   21H  2BH,2DH  DosSetDateTime   Set the current system date and time                                                          
  266.  R                 DosSetFHandState Set the state of the file associated with the                                                 
  267.                                     handle provided                                                                               
  268.  F   21H  57H      DosSetFileInfo   Set the date information (last read, last                                                     
  269.                                     write, creation, and so on) for the file                                                      
  270.                                     associated with the handle provided                                                           
  271.  F   21H  43H      DosSetFileMode   Set the attribute byte for the file assoc-                                                    
  272.                                     iated with the file handle provided                                                           
  273.  F                 DosSetFsInfo     Sets information for a file system  specified                                                 
  274.                                     device                                                                                        
  275.      21H  67H      DosSetMaxFH      Define the maximum number of file handles (up                                                 
  276.                                     to 255) for the current process                                                               
  277.                    DosSetPrty       Set the priority for the current thread                                                       
  278.                    DosSetSession    Set the status of a child process                                                             
  279.  R                 DosSetSigHandler Define a signal-handling routine for a                                                        
  280.                                     specific signal                                                                               
  281.  F   21H  25H      DosSetVec        Define an exception-handling routine for                                                      
  282.                                     specified exeptions                                                                           
  283.  F   21H  2EH      DosSetVerify     Enable or disable disk verification for the                                                   
  284.                                     current process                                                                               
  285.                    DosSleep         Suspend the current thread for a specified                                                    
  286.                                     interval of time                                                                              
  287.                    DosStartSession  Invoke a second application as an OS/2                                                        
  288.                                     session                                                                                       
  289.                    DosStopSession   Terminate a session previously invoked thru                                                   
  290.                                     the DosStartSession                                                                           
  291.  F                 DosSubAlloc      Allocate memory from within a segment                                                         
  292.                                     previously allocated by DosAllocSeg or                                                        
  293.                                     DosAllocShrSeg                                                                                
  294.  F                 DosSubFree       Free memory previously allocated by                                                           
  295.                                     DosSubAlloc                                                                                   
  296.  F                 DosSubSet        Initialize a segment for suballocation, or                                                    
  297.                                     change the size of a previously suballocated                                                  
  298.                                     segment                                                                                       
  299.                    DosSuspendThread Suspend the current thread of execution until                                                 
  300.                                     a DosResumeThread service is invoked                                                          
  301.                    DosSystemService Request OS/2 to perform a unique function                                                     
  302.                                     (such as system-wide event notification for                                                   
  303.                                     the specific process)                                                                         
  304.                    DosTimerAsynch   Start a timer that runs asynchronously to the                                                 
  305.                                     thread issuing the request. Upon completion                                                   
  306.                                     of the time interval, this service sets the                                                   
  307.                                     specified semaphore                                                                           
  308.                    DosTimerStart    Start a periodic interval timer that runs                                                     
  309.                                     asynchronously to the current thread. Each                                                    
  310.                                     time the interval completes, the service                                                      
  311.                                     clears the specified semaphore                                                                
  312.                    DosTimerStop     Stop a periodic interval timer previously                                                     
  313.                                     started by DosTimerStart or DosTimerAsynch                                                    
  314.                    DosUnlockSeg     Unlock a memory segment previously marked as                                                  
  315.                                     discardable                                                                                   
  316.                    DosWait          Suspend the current process until the child                                                   
  317.                                     process specified by the provided process                                                     
  318.                                     identification terminates                                                                     
  319.  F   21H  40H      DosWrite         Write the specified number of bytes to the                                                    
  320.                                     file associated with the file handle                                                          
  321.                                     provided                                                                                      
  322.                    DosWriteAsynch   Write the specified number of bytes to the                                                    
  323.                                     file associated with the file handle that is                                                  
  324.                                     provided concurrently with the threads                                                        
  325.                                     remaining processing                                                                          
  326.                    DosWriteQueue    Place an element in a specified queue                                                         
  327.  F   16H  00H      KbdCharIn        Return the character scan code from the                                                       
  328.                                     standard input device                                                                         
  329.                    KbdClose         Close a handle associated with a logical                                                      
  330.                                     (unique to a process) keyboard                                                                
  331.                    KbdCustCP        Install a user-definable custom keyborad                                                      
  332.                                     translation table. The table only affects                                                     
  333.                                     the keyboard handle provided                                                                  
  334.                    KbdDeRegister    Remove a previously registered keyboard from                                                  
  335.                                     the current session                                                                           
  336.  F                 KbdFlushBuffer   Clear the keyboard buffer for a specific                                                      
  337.                                     keyboard handle                                                                               
  338.                    KbdFreeFocus     Release the logical-to-physical keyboard                                                      
  339.                                     mapping produced by KbdGetFocus                                                               
  340.                    KbdGetFocus      Join a logical (process unique) keyboard                                                      
  341.                                     to a physical keyboard                                                                        
  342.  F   16H  00H      KbdGetStatus     Return information about a specific logical                                                   
  343.                                     keyboard                                                                                      
  344.                    KbdGetXT         Obtain information from the current keyboard                                                  
  345.                                     translation table                                                                             
  346.                    KbdOpen          Open a logical keyboard and return a                                                          
  347.                                     keyboard handle                                                                               
  348.  R   16H  00H      KbdPeek          Return, but do not remove, a keyboard scan                                                    
  349.                                     code if present in the keyboard buffer                                                        
  350.                                     associated with the keyboard handle provided                                                  
  351.                    KbdRegister      Register a keyboard subsystem for a specific                                                  
  352.                                     session                                                                                       
  353.                    KbdSetFgnd       Increase the priority of the foreground key                                                   
  354.                                     board thread                                                                                  
  355.                    KbdSetStatus     Set the size characteristics for a logical                                                    
  356.                                     keyboard                                                                                      
  357.                    KbdSetXT         Set the keyboard translation table for a                                                      
  358.                                     logical keyboard                                                                              
  359.                    KbdShellInit     Request the shell to identify itself to the                                                   
  360.                                     keyboard routing software                                                                     
  361.  F   21H  0AH      KbdStringIn      Read a character string from a logical keybd                                                  
  362.                    KbdSynch         Synchronize access to the keyboard subsystem                                                  
  363.                    KbdXlate         Translate a scan code into a shift state and                                                  
  364.                                     ASCII code                                                                                    
  365.                    MouClose         Close the mouse device handle for the current                                                 
  366.                                     screen group                                                                                  
  367.                    MouDeRegister    Remove a partially registered mouse subsystem                                                 
  368.                                     for the current session                                                                       
  369.      33H  01H      MouDrawPtr       Notify the mouse device driver that a screen                                                  
  370.                                     area previously restricted from access is now                                                 
  371.                                     available                                                                                     
  372.                    MouFlushQueue    Direct the mouse device driver to purge the                                                   
  373.                                     mouse event queue for the current session                                                     
  374.                    MouGetDevStatus  Return the current mouse device driver                                                        
  375.                                     settings                                                                                      
  376.                    MouGetEventMask  Return the event mask for the current mouse                                                   
  377.                                     device driver                                                                                 
  378.                    MouGetHotKey     Return the specific mouse key used for input                                                  
  379.                                     (left, middle, or right)                                                                      
  380.                    MouGetNumButtons Return the number of buttons that the mouse                                                   
  381.                                     driver supports                                                                               
  382.                    MouGetNumMickeys Return the number of "Mickeys" per centimeter                                                 
  383.                                     for the current mouse driver                                                                  
  384.                    MouGetNumQueEl   Return the status of the event queue for the                                                  
  385.                                     current mouse device driver                                                                   
  386.      33H  03H      MouGetPtrPos     Return the current row and column of the                                                      
  387.                                     mouse pointer shape                                                                           
  388.                    MouGetPtrShape   Obtain the current mouse pointer shape                                                        
  389.                    MouGetScaleFact  Return the current scaling factors for the                                                    
  390.                                     mouse pointer shape                                                                           
  391.                    MouInitReal      Initialize the mouse real-mode pointer                                                        
  392.      33H  00H      MouOpen          Open a mouse device driver for the current                                                    
  393.                                     screen group. Return a device handle                                                          
  394.      33H  05H,06H  MouReadEventQue  Read and remove an event from the current                                                     
  395.                                     mouse driver event queue                                                                      
  396.                    MouRegister      Register a mouse subsystem for use with the                                                   
  397.                                     current screen group                                                                          
  398.      33H  02H      MouRemovePtr     Restrict a screen area from use by the mouse                                                  
  399.                                     pointer                                                                                       
  400.                    MouSetDevStatus  Set the current mouse device driver status                                                    
  401.                                     flags                                                                                         
  402.      33H  0CH      MouSetEventMask  Assign an event mask to the current mouse                                                     
  403.                                     device driver                                                                                 
  404.                    MouSetHotKey     Define which button (left, middle, or right)                                                  
  405.                                     serves as the hot key for the current mouse                                                   
  406.                                     driver                                                                                        
  407.      33H  04H      MouSetPtrPos     Set the mouse pointer screen coordinates                                                      
  408.      33H  09H,0AH  MouSetPtrShape   Set the mouse pointer shape                                                                   
  409.                    MouSetScaleFact  Set the scaling factor for the mouse pointer                                                  
  410.                                     shape                                                                                         
  411.                    MouShellInit     Mouse shell indentifies itself to the mouse                                                   
  412.                                     router                                                                                        
  413.                    MouSynch         Direct mouse subsystems to synchronize access                                                 
  414.                                     to the mouse device driver                                                                    
  415.                    VioDeRegister    Remove a previously registered video subsystem                                                
  416.                                     from a screen group                                                                           
  417.                    VioEndPopUp      Remove a temporary window created by VioPopUp                                                 
  418.                                     that is no longer required                                                                    
  419.                    VioGetAnsi       Specify whether ANSI support is on or off for                                                 
  420.                                     the current video buffer                                                                      
  421.  F                 VioGetBuf        Return the address of the logical (process                                                    
  422.                                     unique) video buffer specified                                                                
  423.                    VioGetCP         Return the code-page used for display by the                                                  
  424.                                     specified handle                                                                              
  425.                    VioGetConfig     Return the current video display configuration                                                
  426.  F   10H  03H      VioGetCurPos     Return the current row and column cursor                                                      
  427.                                     position for the specified logical video buffer                                               
  428.  F                 VioGetCurType    Return the cursor type and attributes for the                                                 
  429.                                     specified logical video buffer                                                                
  430.                    VioGetFont       Return the current font for the specified                                                     
  431.                                     logical video buffer                                                                          
  432.  F   10H  0FH      VioGetMode       Return the current video mode for the specified                                               
  433.                                     logical video buffer                                                                          
  434.  F                 VioGetPhysBuf    Return the address of the physical video buffer                                               
  435.                    VioGetState      Return the current video states, or the palette                                               
  436.                                     registers, the border color, or background                                                    
  437.                                     intensity                                                                                     
  438.                    VioModeUndo      Allow one process thread to cancel a                                                          
  439.                                     VioModeWait service issued by another thread                                                  
  440.                                     in the same process                                                                           
  441.                    VioModeWait      Request that a graphics mode application be                                                   
  442.                                     notified each time it needs to restore its                                                    
  443.                                     video mode                                                                                    
  444.                    VioPopUp         Allocvate a temporary popup display screen for                                                
  445.                                     message display                                                                               
  446.                    VioPrtSc         Print the current screen contents                                                             
  447.                    VioPrtScToggle   The OS/2 session manager invokes this routine                                                 
  448.                                     each time the user presses the Shift-PrtSc key                                                
  449.                                     combination                                                                                   
  450.  F   10H  08H      VioReadCellStr   Read a string of characters and attributes from                                               
  451.                                     the screen starting at a specified row and                                                    
  452.                                     column location                                                                               
  453.  F                 VioReadCharStr   Read a character string from the display start-                                               
  454.                                     ing at ther specified row and column                                                          
  455.                    VioRegister      Register a video subsystem with a specific                                                    
  456.                                     screen group                                                                                  
  457.                    VioSavRedraw     Request that a process be notified when it must                                               
  458.                                     save or redraw its contents                                                                   
  459.                    VioSavRedrawUndo Allow one thread in a process to cancel a                                                     
  460.                                     VioSavRedrawWait service issued by another                                                    
  461.                                     thread within the same process                                                                
  462.  F   10H  07H      VioScrollDn      Scrool the screen contents down as specified by                                               
  463.                                     the row and column numbers and number of lines                                                
  464.                                     to scroll                                                                                     
  465.                    VioScrLock       Lock the screen and prevent I/O operations                                                    
  466.  F                 VioScrollLf      Scroll the screen contents to the left as                                                     
  467.                                     specified                                                                                     
  468.  F                 VioScrollRt      Scroll the screen contents to the right as                                                    
  469.                                     specified                                                                                     
  470.  F   10H  06H      VioScrollUp      Scroll the screen contents up as specified by                                                 
  471.                                     the row and column numbers and number of lines                                                
  472.                                     to scroll                                                                                     
  473.                    VioScrUnlock     Unlock the screen for I/O operations                                                          
  474.                    VioSetAnsi       Enable or disable ANSI support for the                                                        
  475.                                     specified logical video buffer                                                                
  476.                    VioSetCP         Set the code-page for the specified logical                                                   
  477.                                     video buffer                                                                                  
  478.                    VioSetCurPos     Set the cursor position to the row and column                                                 
  479.                                     of the logical video buffer provided                                                          
  480.  F   10H  02H      VioSetCurType    Set the cursor type (attributes) for the                                                      
  481.                                     logical video display provided                                                                
  482.                    VioSetFont       Set the font for the logical video display                                                    
  483.  F   10H  00H      VioSetMode       Set the display mode for the logical video                                                    
  484.                                     display provided                                                                              
  485.      10H  0BH      VioSetState      Set the state for the palette registers, border                                               
  486.                                     color, or background intensity for the                                                        
  487.                                     specified logical video display                                                               
  488.  F                 VioShowBuf       Update the physical display with the contents                                                 
  489.                                     of a logical display buffer                                                                   
  490.  F   10H  09H      VioWrtCellStr    Write a character string (with attributes) to                                                 
  491.                                     the specified video display location                                                          
  492.  F   10H  0AH      VioWrtCharStr    Write a character string to the specified                                                     
  493.                                     vidoe display location                                                                        
  494.  F                 VioWrtCharStrAtt Write a character string using a repeated                                                     
  495.                                     attribute to the specified video display                                                      
  496.  F                 VioWrtNAttr      Write the character attribute to the video                                                    
  497.                                     display at the specified location. This service                                               
  498.                                     provides an optional repeat count                                                             
  499.  F                 VioWrtNCell      Write a character or attribute to the video                                                   
  500.                                     display the specified number of times                                                         
  501.  F                 VioWrtNChar      Write a character to the video display starting                                               
  502.                                     at the specified location and repeating the                                                   
  503.                                     display n times                                                                               
  504.  F   10   0EH      VioWrtTty        Write a character string to the video display                                                 
  505.                                     starting at the current cursor position in TTY                                                
  506.                                     mode                                                                                          
  507.