Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestEnumWindows (0.12 sec)

  1. src/runtime/syscall_windows_test.go

    		uintptr(unsafe.Pointer(fmtp)),
    		1000, 2000, 3000)
    	if string(buf[:a]) != "1000 2000 3000" {
    		t.Error("cdecl USER32.wsprintfA returns", a, "buf=", buf[:a])
    	}
    }
    
    func TestEnumWindows(t *testing.T) {
    	d := GetDLL(t, "user32.dll")
    	isWindows := d.Proc("IsWindow")
    	counter := 0
    	cb := syscall.NewCallback(func(hwnd syscall.Handle, lparam uintptr) uintptr {
    		if lparam != 888 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 16:31:35 UTC 2023
    - 32.5K bytes
    - Viewed (0)
Back to top