Home | History | Annotate | Download | only in runtime

Lines Matching refs:proc

33 func (d *DLL) Proc(name string) *syscall.Proc {
47 a, _, _ := GetDLL(t, "user32.dll").Proc("UnionRect").Call(
97 VerSetConditionMask := d.Proc("VerSetConditionMask")
110 r, _, e2 := d.Proc("VerifyVersionInfoW").Call(
122 a, _, _ := GetDLL(t, "user32.dll").Proc("wsprintfA").Call(
133 isWindows := d.Proc("IsWindow")
146 a, _, _ := d.Proc("EnumWindows").Call(cb, 888)
165 d.Proc("EnumWindows").Call(c, uintptr(*(*unsafe.Pointer)(unsafe.Pointer(&f))))
409 func (test *cbTest) runOne(t *testing.T, dll *syscall.DLL, proc string, cb uintptr) {
412 t.Errorf("dll call %v(..., %d) failed: %v", proc, test.param, r)
415 dll.MustFindProc(proc).Call(cb, test.param)
459 mh, _, _ := kernel32.Proc("GetModuleHandleW").Call(0)
485 a, _, err := user32.Proc("RegisterClassExW").Call(uintptr(unsafe.Pointer(&wc)))
489 r, _, err := user32.Proc("UnregisterClassW").Call(uintptr(unsafe.Pointer(name)), 0)
498 d.Proc("OutputDebugStringW").Call(uintptr(unsafe.Pointer(p)))
517 proc := mod.MustFindProc("RaiseException")
518 proc.Call(0xbad, EXCEPTION_NONCONTINUABLE, 0, 0)
547 proc := mod.MustFindProc("RaiseException")
548 proc.Call(0xbad, EXCEPTION_NONCONTINUABLE, 0, 0)
621 proc := dll.MustFindProc("cfunc")
635 r, _, err := proc.Call(cb, 100)