Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getWindowsDirectory (0.31 sec)

  1. src/cmd/vendor/golang.org/x/sys/windows/security_windows.go

    			return UTF16ToString(b[:l]), nil
    		}
    		n = l
    	}
    }
    
    // GetWindowsDirectory retrieves the path to current location of the Windows
    // directory, which is typically, though not always, `C:\Windows`. This may
    // be a private user directory in the case that the application is running
    // under a terminal server.
    func GetWindowsDirectory() (string, error) {
    	n := uint32(MAX_PATH)
    	for {
    		b := make([]uint16, n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 52.5K bytes
    - Viewed (0)
Back to top