dos12.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
DosEnterCritSec changes
Full Description                                    Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
MS OS/2 version 1.2 changes
 
DosEnterCritSec now returns zero if the function is successful. Otherwise,
it returns an error value. It did not return a value in earlier versions.
 
For MS OS/2 version 1.2, a count is maintained of the number of times
DosEnterCritSec is called. Normal thread execution is not restored until an
equal number of calls are made to DosExitCritSec.
 
                                      ♦