github.com/hikaru7719/go@v0.0.0-20181025140707-c8b2ac68906a/src/internal/syscall/windows/symlink_windows.go (about)

     1  // Copyright 2018 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package windows
     6  
     7  import "syscall"
     8  
     9  const (
    10  	ERROR_INVALID_PARAMETER syscall.Errno = 87
    11  
    12  	// symlink support for CreateSymbolicLink() starting with Windows 10 (1703, v10.0.14972)
    13  	SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE = 0x2
    14  )