en:docs:fapi:dosportaccess

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:docs:fapi:dosportaccess [2021/09/17 04:44] prokusheven:docs:fapi:dosportaccess [2021/09/17 04:50] (current) prokushev
Line 13: Line 13:
 ===== Parameters ===== ===== Parameters =====
  
-  * Reserved (USHORT) - input : Must be set to zero. +  * Reserved ([[USHORT]]) - input : Must be set to zero. 
-  * TypeOfAccess (USHORT) - input : A request for or release of access to a port.+  * TypeOfAccess ([[USHORT]]) - input : A request for or release of access to a port.
     *0 - Request access     *0 - Request access
     *1 - Release access.     *1 - Release access.
-  * FirstPort (USHORT) - input : Starting (low) number in a contiguous range or a single port. +  * FirstPort ([[USHORT]]) - input : Starting (low) number in a contiguous range or a single port. 
-  * LastPort (USHORT) - input : Ending (high) number in a contiguous range or a single port. If only one port is being used, FirstPort and LastPort should both be set to this port.+  * LastPort ([[USHORT]]) - input : Ending (high) number in a contiguous range or a single port. If only one port is being used, FirstPort and LastPort should both be set to this port.
  
 ===== Return Code ===== ===== Return Code =====
  
-rc (USHORT) - return:Return code descriptions are:+rc ([[USHORT]]) - return:Return code descriptions are:
  
   *0 NO_ERROR   *0 NO_ERROR
Line 52: Line 52:
 </code> </code>
  
-=== MASM ===+==== MASM ====
  
-<cdoe asm>+ 
 +<code asm>
 EXTRN  DosPortAccess:FAR EXTRN  DosPortAccess:FAR
 INCL_DOSDEVICES     EQU 1 INCL_DOSDEVICES     EQU 1