Check for OS error and raise exception.
Source position: osutilsh.inc line 25
| procedure CheckOSError( | 
| LastError: Integer | 
| ); | 
CheckOSError checks if LastError is non-zero and calls RaiseLastOSError if this is the case.
| 
 | Raise an exception with the last Operating System error code. |