- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestStdCall (0.34 sec)
-
src/runtime/syscall_windows_test.go
if e != nil { t.Fatal(e) } return &DLL{DLL: d, t: t} } func (d *DLL) Proc(name string) *syscall.Proc { p, e := d.FindProc(name) if e != nil { d.t.Fatal(e) } return p } func TestStdCall(t *testing.T) { type Rect struct { left, top, right, bottom int32 } res := Rect{} expected := Rect{1, 1, 40, 60} a, _, _ := GetDLL(t, "user32.dll").Proc("UnionRect").Call( uintptr(unsafe.Pointer(&res)),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 31 16:31:35 UTC 2023 - 32.5K bytes - Viewed (0)