Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for DUPLICATE_SAME_ACCESS (0.27 sec)

  1. src/os/os_windows_test.go

    		t.Fatalf("Unable to get handle to current process: %v", err)
    	}
    	var stdinDuplicate syscall.Handle
    	err = syscall.DuplicateHandle(p, syscall.Handle(syscall.Stdin), p, &stdinDuplicate, 0, false, syscall.DUPLICATE_SAME_ACCESS)
    	if err != nil {
    		t.Fatalf("Unable to duplicate stdin: %v", err)
    	}
    	testConsole := os.NewConsoleFile(stdinDuplicate, "test")
    
    	var tests = []string{
    		"abc",
    		"äöü",
    		"\u3042",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/windows/types_windows.go

    	FILE_FLAG_WRITE_THROUGH         = 0x80000000
    
    	HANDLE_FLAG_INHERIT    = 0x00000001
    	STARTF_USESTDHANDLES   = 0x00000100
    	STARTF_USESHOWWINDOW   = 0x00000001
    	DUPLICATE_CLOSE_SOURCE = 0x00000001
    	DUPLICATE_SAME_ACCESS  = 0x00000002
    
    	STD_INPUT_HANDLE  = -10 & (1<<32 - 1)
    	STD_OUTPUT_HANDLE = -11 & (1<<32 - 1)
    	STD_ERROR_HANDLE  = -12 & (1<<32 - 1)
    
    	FILE_BEGIN   = 0
    	FILE_CURRENT = 1
    	FILE_END     = 2
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 104.1K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"DT_LNK", Const, 0},
    		{"DT_REG", Const, 0},
    		{"DT_SOCK", Const, 0},
    		{"DT_UNKNOWN", Const, 0},
    		{"DT_WHT", Const, 0},
    		{"DUPLICATE_CLOSE_SOURCE", Const, 0},
    		{"DUPLICATE_SAME_ACCESS", Const, 0},
    		{"DeleteFile", Func, 0},
    		{"DetachLsf", Func, 0},
    		{"DeviceIoControl", Func, 4},
    		{"Dirent", Type, 0},
    		{"Dirent.Fileno", Field, 0},
    		{"Dirent.Ino", Field, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top