| 1397 | } |
| 1398 | |
| 1399 | VOID |
| 1400 | Ext2Close(HANDLE * Handle) |
| 1401 | { |
| 1402 | NT::NTSTATUS status = 0; |
| 1403 | if (Handle != NULL && *Handle != 0 && *Handle != INVALID_HANDLE_VALUE) { |
| 1404 | status = NT::ZwClose(*Handle); |
| 1405 | if (NT_SUCCESS(status)) { |
| 1406 | *Handle = 0; |
| 1407 | } else { |
| 1408 | ::MessageBox(NULL, "Failed to close handle", "Ext2Close", MB_OK); |
| 1409 | } |
| 1410 | } |
| 1411 | } |
| 1412 | |
| 1413 | BOOL |
| 1414 | Ext2QuerySysConfig() |
no outgoing calls
no test coverage detected