MCPcopy Create free account
hub / github.com/BeneficialCode/WinArk / ReadFile

Method ReadFile

KernelLibrary/FileManager.cpp:40–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40NTSTATUS 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
54NTSTATUS FileManager::WriteFile(PVOID buffer, ULONG size, PIO_STATUS_BLOCK ioStatus, PLARGE_INTEGER offset) {

Callers 2

PEParserMethod · 0.80
BackupFileFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected