(imageBase uintptr, size uint32, needed *uint32)
| 247 | } |
| 248 | |
| 249 | func 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 | |
| 257 | func GetDeviceDriverFileName(imageBase uintptr, filename *uint16, size uint32) (n uint32) { |
| 258 | r0, _, _ := syscall.Syscall(procGetDeviceDriverFileNameW.Addr(), 3, uintptr(imageBase), uintptr(unsafe.Pointer(filename)), uintptr(size)) |
no test coverage detected