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

Function NtQueryObject

pkg/sys/zsyscall_windows.go:219–225  ·  view source on GitHub ↗
(handle windows.Handle, objectInfoClass int32, objInfo unsafe.Pointer, objInfoLen uint32, retLen *uint32)

Source from the content-addressed store, hash-verified

217}
218
219func NtQueryObject(handle windows.Handle, objectInfoClass int32, objInfo unsafe.Pointer, objInfoLen uint32, retLen *uint32) (ntstatus error) {
220 r0, _, _ := syscall.Syscall6(procNtQueryObject.Addr(), 5, uintptr(handle), uintptr(objectInfoClass), uintptr(objInfo), uintptr(objInfoLen), uintptr(unsafe.Pointer(retLen)), 0)
221 if r0 != 0 {
222 ntstatus = windows.NTStatus(r0)
223 }
224 return
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)

Callers 1

QueryObjectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected