Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Interrupts & Ports - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

        Change sharing retry count (INT 21h, 440Bh)

        Entry:
          AX = 440Bh
          CX = Number of loops
          DX = Number of retries
        Return:
          CF = 1
               AX = Error Code
          CF = 0
               No error

        All sharing and lock conflicts are automactically retried a
        number of times before they are returned as a DOS error or
        critical error.

        You can select the number of retries and the delay time
        between retries. On input, CX contains the number of times to
        execute a delay loop, and DX contains the number of retries.
        The delay loop consists of the following sequence:

                XOR     CX,CX
                LOOP    $

        If this call is not issued, DOS uses delay=1 and retries=3 as
        the defaults for CX and DX. If you expect your application
        to cause sharing or lock conflicts that are in effect for a short
        period of time, you may want to increase the values of CX and DX
        to minimize the number of errors actually returned to your
        application.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson