Home | History | Annotate | Download | only in runtime

Lines Matching refs:Proc

37 func (d *DLL) Proc(name string) *syscall.Proc {
51 a, _, _ := GetDLL(t, "user32.dll").Proc("UnionRect").Call(
101 VerSetConditionMask := d.Proc("VerSetConditionMask")
114 r, _, e2 := d.Proc("VerifyVersionInfoW").Call(
126 a, _, _ := GetDLL(t, "user32.dll").Proc("wsprintfA").Call(
137 isWindows := d.Proc("IsWindow")
150 a, _, _ := d.Proc("EnumWindows").Call(cb, 888)
169 d.Proc("EnumWindows").Call(c, uintptr(*(*unsafe.Pointer)(unsafe.Pointer(&f))))
413 func (test *cbTest) runOne(t *testing.T, dll *syscall.DLL, proc string, cb uintptr) {
416 t.Errorf("dll call %v(..., %d) failed: %v", proc, test.param, r)
419 dll.MustFindProc(proc).Call(cb, test.param)
463 mh, _, _ := kernel32.Proc("GetModuleHandleW").Call(0)
489 a, _, err := user32.Proc("RegisterClassExW").Call(uintptr(unsafe.Pointer(&wc)))
493 r, _, err := user32.Proc("UnregisterClassW").Call(uintptr(unsafe.Pointer(name)), 0)
502 d.Proc("OutputDebugStringW").Call(uintptr(unsafe.Pointer(p)))
529 proc := mod.MustFindProc("RaiseException")
530 proc.Call(0xbad, EXCEPTION_NONCONTINUABLE, 0, 0)
603 proc := dll.MustFindProc("cfunc")
617 r, _, err := proc.Call(cb, 100)
668 proc := dll.MustFindProc("cfunc")
670 r, _, err := proc.Call(