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

Function EnumDeviceDrivers

pkg/sys/zsyscall_windows.go:249–255  ·  view source on GitHub ↗
(imageBase uintptr, size uint32, needed *uint32)

Source from the content-addressed store, hash-verified

247}
248
249func EnumDeviceDrivers(imageBase uintptr, size uint32, needed *uint32) (err error) {
250 r1, _, e1 := syscall.Syscall(procEnumDeviceDrivers.Addr(), 3, uintptr(imageBase), uintptr(size), uintptr(unsafe.Pointer(needed)))
251 if r1 == 0 {
252 err = errnoErr(e1)
253 }
254 return
255}
256
257func GetDeviceDriverFileName(imageBase uintptr, filename *uint16, size uint32) (n uint32) {
258 r0, _, _ := syscall.Syscall(procGetDeviceDriverFileNameW.Addr(), 3, uintptr(imageBase), uintptr(unsafe.Pointer(filename)), uintptr(size))

Callers 1

EnumDevicesFunction · 0.85

Calls 1

errnoErrFunction · 0.70

Tested by

no test coverage detected