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

Function LoadImage

pkg/sys/zsyscall_windows.go:324–331  ·  view source on GitHub ↗
(inst windows.Handle, name *uint16, typ uint, cx int, cy int, flags uint)

Source from the content-addressed store, hash-verified

322}
323
324func 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
333func RegisterClass(class *WndClassEx) (err error) {
334 r1, _, e1 := syscall.Syscall(procRegisterClassExW.Addr(), 1, uintptr(unsafe.Pointer(class)), 0, 0)

Callers 1

loadIconFromResourceMethod · 0.92

Calls 2

HandleMethod · 0.80
errnoErrFunction · 0.70

Tested by

no test coverage detected