MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / NtQueryVolumeInformationFile

Function NtQueryVolumeInformationFile

pkg/sys/zsyscall_windows.go:227–233  ·  view source on GitHub ↗
(handle windows.Handle, ioStatusBlock *windows.IO_STATUS_BLOCK, fsInfo uintptr, retLen uint32, fsInfoClass int32)

Source from the content-addressed store, hash-verified

225}
226
227func NtQueryVolumeInformationFile(handle windows.Handle, ioStatusBlock *windows.IO_STATUS_BLOCK, fsInfo uintptr, retLen uint32, fsInfoClass int32) (ntstatus error) {
228 r0, _, _ := syscall.Syscall6(procNtQueryVolumeInformationFile.Addr(), 5, uintptr(handle), uintptr(unsafe.Pointer(ioStatusBlock)), uintptr(fsInfo), uintptr(retLen), uintptr(fsInfoClass), 0)
229 if r0 != 0 {
230 ntstatus = windows.NTStatus(r0)
231 }
232 return
233}
234
235func NtUnmapViewOfSection(process windows.Handle, addr uintptr) (ntstatus error) {
236 r0, _, _ := syscall.Syscall(procNtUnmapViewOfSection.Addr(), 2, uintptr(process), uintptr(addr), 0)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected