| 38 | } |
| 39 | |
| 40 | NTSTATUS FileManager::ReadFile(PVOID buffer,ULONG size,PIO_STATUS_BLOCK ioStatus,PLARGE_INTEGER offset) { |
| 41 | NTSTATUS status; |
| 42 | |
| 43 | status = ZwReadFile(_handle, |
| 44 | nullptr, // ͬ���� |
| 45 | nullptr, // |
| 46 | nullptr, // |
| 47 | ioStatus, buffer, size, |
| 48 | offset, // specifies the starting byte offset in the file where the read operation will begin |
| 49 | nullptr); |
| 50 | return status; |
| 51 | } |
| 52 | |
| 53 | |
| 54 | NTSTATUS FileManager::WriteFile(PVOID buffer, ULONG size, PIO_STATUS_BLOCK ioStatus, PLARGE_INTEGER offset) { |
no outgoing calls
no test coverage detected