(inst windows.Handle, name *uint16, typ uint, cx int, cy int, flags uint)
| 322 | } |
| 323 | |
| 324 | func LoadImage(inst windows.Handle, name *uint16, typ uint, cx int, cy int, flags uint) (handle windows.Handle, err error) { |
| 325 | r0, _, e1 := syscall.Syscall6(procLoadImageW.Addr(), 6, uintptr(inst), uintptr(unsafe.Pointer(name)), uintptr(typ), uintptr(cx), uintptr(cy), uintptr(flags)) |
| 326 | handle = windows.Handle(r0) |
| 327 | if handle == 0 { |
| 328 | err = errnoErr(e1) |
| 329 | } |
| 330 | return |
| 331 | } |
| 332 | |
| 333 | func RegisterClass(class *WndClassEx) (err error) { |
| 334 | r1, _, e1 := syscall.Syscall(procRegisterClassExW.Addr(), 1, uintptr(unsafe.Pointer(class)), 0, 0) |
no test coverage detected