INT 21 - DOS 3.x - LOCK/UNLOCK FILE ACCESS                  

Input

DOS1 N DOS2 N

DOS3

Y DOS5 Y

Output

AX

5Ch  0=Lock,1=Unlock Error Code AX

BX

File Handle     BX

 

        CX

CX:DX

Starting offset of Lock Region     DX

SI:DI

Size of Region to Lock Set if Error CF
See Also 3Dh 59h Error Codes


Copyright © 1985 to 2022 Beta Systems                            Last modified: Wednesday, January 05, 2022 .