| 900 | } |
| 901 | |
| 902 | static bool maybeCloseFile(HANDLE& hFile) |
| 903 | { |
| 904 | /************************************** |
| 905 | * |
| 906 | * M a y b e C l o s e F i l e |
| 907 | * |
| 908 | ************************************** |
| 909 | * |
| 910 | * Functional description |
| 911 | * If the file is open, close it. |
| 912 | * |
| 913 | **************************************/ |
| 914 | |
| 915 | if (hFile != INVALID_HANDLE_VALUE) |
| 916 | { |
| 917 | CloseHandle(hFile); |
| 918 | hFile = INVALID_HANDLE_VALUE; |
| 919 | return true; |
| 920 | } |
| 921 | return false; |
| 922 | } |
| 923 | |
| 924 | static bool nt_error(const TEXT* string, |
| 925 | const jrd_file* file, ISC_STATUS operation, |
no outgoing calls
no test coverage detected