Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:docs:fapi:dosportaccess [2021/09/17 04:44] – prokushev | en: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: | + | rc ([[USHORT]]) - return: | 
| *0 NO_ERROR | *0 NO_ERROR | ||
| Line 52: | Line 52: | ||
| </ | </ | ||
| - | === MASM === | + | ==== MASM ==== | 
| - | <cdoe asm> | + | |
| + | <code asm> | ||
| EXTRN  DosPortAccess: | EXTRN  DosPortAccess: | ||
| INCL_DOSDEVICES  | INCL_DOSDEVICES  | ||




